modelConverter
Converter model for grid forming and grid following applications
Extends from Dynawo.Electrical.Controls.Basics.SwitchOff.SwitchOffGenerator (Switch-off model for a generator).
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 SwitchOffGenerator) | Constants.state.Closed | Start value of connection state |
| Types.PerUnit | RFilter | Filter resistance in pu (base UNom, SNom) | |
| Types.PerUnit | LFilter | Filter inductance in pu (base UNom, SNom) | |
| Types.PerUnit | CFilter | Filter capacitance in pu (base UNom, SNom) | |
| Types.PerUnit | RTransformer | Transformer resistance in pu (base UNom, SNom) | |
| Types.PerUnit | LTransformer | Transformer inductance in pu (base UNom, SNom) | |
| Types.ApparentPowerModule | SNom | Nominal apparent power module for the converter | |
| Types.PerUnit | Cdc | DC capacitance in pu (base UdcNom, SNom) | |
| Types.ComplexPerUnit | i0Pu | Start value of the complex current at terminal in pu (base UNom, SnRef) (receptor convention) | |
| Types.ComplexPerUnit | u0Pu | Start value of the complex voltage at terminal in pu (base UNom) | |
| Types.PerUnit | UdPcc0Pu | Start value of the d-axis voltage at the PCC in pu (base UNom) | |
| Types.PerUnit | UqPcc0Pu | Start value of the q-axis voltage at the PCC in pu (base UNom) | |
| Types.PerUnit | IdcSource0Pu | Start value of DC current in pu (base UdcNom, SNom) | |
| Types.PerUnit | UdcSource0Pu | Start value of DC voltage in pu (base UdcNom) | |
| Types.PerUnit | UdConv0Pu | Start value of d-axis modulation voltage in pu (base UNom) | |
| Types.PerUnit | UqConv0Pu | Start value of q-axis modulation voltage in pu (base UNom) | |
| Types.PerUnit | IdConv0Pu | Start value of d-axis current in the converter in pu (base UNom, SNom) (generator convention) | |
| Types.PerUnit | IqConv0Pu | Start value of q-axis current in the converter in pu (base UNom, SNom) (generator convention) | |
| Types.PerUnit | IdPcc0Pu | Start value of d-axis current in the grid in pu (base UNom, SNom) (generator convention) | |
| Types.PerUnit | IqPcc0Pu | Start value of q-axis current in the grid in pu (base UNom, SNom) (generator convention) | |
| Types.PerUnit | UdFilter0Pu | Start value of d-axis voltage at the converter's capacitor in pu (base UNom) | |
| Types.PerUnit | UqFilter0Pu | Start value of q-axis voltage at the converter's capacitor in pu (base UNom) | |
| Types.Angle | Theta0 | Start value of phase shift between the converter's rotating frame and the grid rotating frame in rad | |
| Types.ActivePowerPu | PFilter0Pu | Start value of active power generated at the converter's capacitor in pu (base SNom) (generator convention) | |
| Types.ReactivePowerPu | QFilter0Pu | Start value of reactive power generated at the converter's capacitor in pu (base SNom) (generator convention) | |
| Types.Angle | UPhase0 | Start value of voltage angle at terminal in rad | |
| Types.PerUnit | IConv0Pu | Start value of module of the current injected by the converter in pu (base UNom, SNom) | |
| Types.PerUnit | PGen0Pu | Start value of active power generated by the converter at the PCC in pu (base UNom, SnRef) (generator convention) | |
| Types.PerUnit | QGen0Pu | Start value of reactive power generated by the converter at the PCC in pu (base UNom, SnRef) (generator convention) | |
| Types.VoltageModulePu | U0Pu | Start value of voltage module at terminal in pu (base UNom) |
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 converter to the grid | |
| Modelica.Blocks.Interfaces.RealInput | IdcSourcePu | DC current in pu (base UdcNom, SNom) | |
| Modelica.Blocks.Interfaces.RealInput | udConvRefPu | d-axis modulation voltage reference in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealInput | uqConvRefPu | q-axis modulation voltage reference in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealInput | theta | Phase shift between the converter's rotating frame and the grid rotating frame in rad | |
| Modelica.Blocks.Interfaces.RealInput | omegaPu | Converter's frequency in pu (base omegaNom) | |
| Modelica.Blocks.Interfaces.RealInput | UdcSourceRefPu | DC voltage reference in pu (base UdcNom) | |
| Modelica.Blocks.Interfaces.RealOutput | udFilterPu | d-axis voltage at the converter's capacitor in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | uqFilterPu | q-axis voltage at the converter's capacitor in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | idConvPu | d-axis current in the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | iqConvPu | q-axis current in the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | idPccPu | d-axis current in the grid in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | iqPccPu | q-axis current in the grid in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | UdcSourcePu | DC voltage in pu (base UdcNom) | |
| Modelica.Blocks.Interfaces.RealOutput | PFilterPu | Active power generated at the converter's capacitor in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | QFilterPu | Reactive power generated at the converter's capacitor in pu (base SNom) (generator convention) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Constants.state | state (from SwitchOffGenerator) | Generator connection state | |
| Real | genState (from SwitchOffGenerator) | Generator continuous connection state | |
| Modelica.Blocks.Math.IntegerToReal | converter (from SwitchOffGenerator) | Converter for generator state | |
| Types.PerUnit | udConvPu | d-axis modulation voltage in pu (base UNom) | |
| Types.PerUnit | uqConvPu | q-axis modulation voltage in pu (base UNom) | |
| Types.PerUnit | udPccPu | d-axis voltage at the PCC in pu (base UNom) | |
| Types.PerUnit | uqPccPu | q-axis voltage at the PCC in pu (base UNom) | |
| Types.PerUnit | IdcPu | DC Current entering the converter in pu (base UdcNom, SNom) | |
| Types.PerUnit | IConvPu | Module of the current injected by the converter in pu (base UNom, SNom) | |
| Types.PerUnit | PGenPu | Active power generated by the converter at the PCC in pu (base UNom, SnRef) (generator convention) | |
| Types.PerUnit | QGenPu | Reactive power generated by the converter at the PCC in pu (base UNom, SnRef) (generator convention) | |
| Types.Angle | UPhase | Voltage angle at terminal in rad | |
| Types.VoltageModulePu | UPu | Voltage module at terminal in pu (base UNom) |