modelBaseLoad
Base model for loads
Extends from Dynawo.Electrical.Controls.Basics.SwitchOff.SwitchOffLoad (Switch-off model for a load).
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 SwitchOffLoad) | Constants.state.Closed | Start value of connection state |
| Types.ComplexVoltagePu | u0Pu | Start value of complex voltage at load terminal in pu (base UNom) | |
| Types.ComplexApparentPowerPu | s0Pu | Start value of apparent power at load terminal in pu (base SnRef) (receptor convention) | |
| Types.ComplexCurrentPu | i0Pu | Start value of complex current at load terminal in pu (base UNom, SnRef) (receptor convention) |
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 load to the grid | |
| Modelica.Blocks.Interfaces.RealInput | PRefPu | Active power request | |
| Modelica.Blocks.Interfaces.RealInput | QRefPu | Reactive power request | |
| Modelica.Blocks.Interfaces.RealInput | deltaP | Delta to apply on PRef in % | |
| Modelica.Blocks.Interfaces.RealInput | deltaQ | Delta to apply on QRef in % | |
| Dynawo.Connectors.ImPin | UPu | Voltage amplitude at load terminal in pu (base UNom) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Constants.state | state (from SwitchOffLoad) | Load connection state | |
| Types.ActivePowerPu | PPu | Active power at load terminal in pu (base SnRef) (receptor convention) | |
| Types.ReactivePowerPu | QPu | Reactive power at load terminal in pu (base SnRef) (receptor convention) | |
| Types.ComplexApparentPowerPu | SPu | Apparent power at load terminal in pu (base SnRef) (receptor convention) |