CurrentController

Current controller

    CurrentController

Library

Modelica/Magnetic/QuasiStatic/FundamentalWave/Utilities

Description

This is a simple current controller. The desired RMS values of d and q component of the quasi static space phasor current in rotor fixed coordinate system are the inputs id_rms and iq_rms. Using the given rotor position input phi, the quasi static m phase output currents i[m] are calculated. The model output can be used to feed a quasi static current source with phase input to supply synchronous machines.

Parameters

CurrentController_0

NameLabelDescriptionData TypeValid Values

mo_m

m

Number of phases

Scalar

mo_p

p

Number of pole pairs

Scalar

mo_gamma0

gamma0

Offset added to electrical rotor angle

Scalar

CurrentController_1

NameLabelDescriptionData TypeValid Values

mo_id_rms

id_rms

id_rms

Structure

mo_id_rms/fixed

fixed

Cell of scalars

true
false

mo_id_rms/start

start

Cell of scalars

mo_iq_rms

iq_rms

iq_rms

Structure

mo_iq_rms/fixed

fixed

Cell of scalars

true
false

mo_iq_rms/start

start

Cell of scalars

mo_phi

phi

phi

Structure

mo_phi/fixed

fixed

Cell of scalars

true
false

mo_phi/start

start

Cell of scalars

mo_gamma

gamma

gamma

Structure

mo_gamma/fixed

fixed

Cell of scalars

true
false

mo_gamma/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

id_rms

implicit

input

1

iq_rms

implicit

input

2

phi

implicit

input

3

I

implicit

Multi phase current phasors

output

1

gamma

implicit

Reference angle of source

output

2