modelInjectorIDQ
Injector controlled by d and q current components idPu and iqPu
Extends from Dynawo.Electrical.Controls.Basics.SwitchOff.SwitchOffInjector (Switch-off model for an injector).
Information
This block calculates the current references for terminal connection based on d-q-frame setpoints from generator control
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | NbSwitchOffSignals (from SwitchOffLogic) | Number of switch-off signals to take into account in inputs | |
| Boolean | SwitchOffSignal10 (from SwitchOffLogic) | false | Initial switch-off signal 1 |
| Boolean | SwitchOffSignal20 (from SwitchOffLogic) | false | Initial switch-off signal 2 |
| Boolean | SwitchOffSignal30 (from SwitchOffLogic) | false | Initial switch-off signal 3 |
| Boolean | Running0 (from SwitchOffLogic) | if NbSwitchOffSignals >= 3 then not (SwitchOffSignal10 or SwitchOffSignal20 or SwitchOffSignal30) elseif NbSwitchOffSignals >= 2 then not (SwitchOffSignal10 or SwitchOffSignal20) else not SwitchOffSignal10 | Indicates if the component is initially running or not |
| Constants.state | State0 (from SwitchOffInjector) | Constants.state.Closed | Start value of connection state |
| Types.ApparentPowerModule | SNom | Nominal apparent power in MVA | |
| Types.ComplexCurrentPu | i0Pu | Start value of complex current at injector terminal in pu (base UNom, SnRef) (receptor convention) | |
| Types.PerUnit | Id0Pu | Start value of idPu in pu (base SNom, UNom) (generator convention) | |
| Types.PerUnit | Iq0Pu | Start value of iqPu in pu (base SNom, UNom) (generator convention) | |
| Types.ActivePowerPu | P0Pu | Start value of active power in pu (base SnRef) (receptor convention) | |
| Types.ReactivePowerPu | Q0Pu | Start value of reactive power in pu (base SnRef) (receptor convention) | |
| Types.ComplexApparentPowerPu | s0Pu | Start value of apparent power at injector terminal in pu (base SnRef) (receptor convention) | |
| Types.VoltageModulePu | U0Pu | Start value of voltage amplitude at injector terminal in pu (base UNom) | |
| Types.ComplexVoltagePu | u0Pu | Start value of complex voltage at injector terminal in pu (base UNom) | |
| Types.Angle | UPhase0 | Start value of voltage angle at injector terminal in rad |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Dynawo.Connectors.BPin | switchOffSignal1 (from SwitchOffLogic) | Switch-off signal 1 | |
| Dynawo.Connectors.BPin | switchOffSignal2 (from SwitchOffLogic) | Switch-off signal 2 | |
| Dynawo.Connectors.BPin | switchOffSignal3 (from SwitchOffLogic) | Switch-off signal 3 | |
| Dynawo.Connectors.BPin | running (from SwitchOffLogic) | Indicates if the component is running or not | |
| Dynawo.Connectors.ACPower | terminal | Connector used to connect the injector to the grid | |
| Modelica.Blocks.Interfaces.RealInput | idPu | Injected d-axis current in pu (base SNom, UNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | iqPu | Injected q-axis current in pu (base SNom, UNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | UPhase | Rotor angle: angle between machine rotor frame and port phasor frame in rad | |
| Modelica.Blocks.Interfaces.RealOutput | PInjPu | Injected active power in pu (base SnRef) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | PInjPuSn | Injected active power in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | QInjPu | Injected reactive power in pu (base SnRef) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | QInjPuSn | Injected reactive power in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | UPu | Magnitude voltage at inverter terminal in pu (base UNom) | |
| Modelica.ComplexBlocks.Interfaces.ComplexOutput | uPu | Complex inverter terminal voltage, used as complex connector instead of terminal connector, terminal only used for physical connection, in pu (base UNom) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Constants.state | state (from SwitchOffInjector) | Injector connection state |