modelBaseLoad

Base model for loads

Extends from Dynawo.Electrical.Controls.Basics.SwitchOff.SwitchOffLoad (Switch-off model for a load).

Parameters

TypeNameDefaultDescription
IntegerNbSwitchOffSignals (from SwitchOffLogic)Number of switch-off signals to take into account in inputs
BooleanSwitchOffSignal10 (from SwitchOffLogic)falseInitial switch-off signal 1
BooleanSwitchOffSignal20 (from SwitchOffLogic)falseInitial switch-off signal 2
BooleanSwitchOffSignal30 (from SwitchOffLogic)falseInitial switch-off signal 3
BooleanRunning0 (from SwitchOffLogic)if NbSwitchOffSignals >= 3 then not (SwitchOffSignal10 or SwitchOffSignal20 or SwitchOffSignal30) elseif NbSwitchOffSignals >= 2 then not (SwitchOffSignal10 or SwitchOffSignal20) else not SwitchOffSignal10Indicates if the component is initially running or not
Constants.stateState0 (from SwitchOffLoad)Constants.state.ClosedStart value of connection state
Types.ComplexVoltagePuu0PuStart value of complex voltage at load terminal in pu (base UNom)
Types.ComplexApparentPowerPus0PuStart value of apparent power at load terminal in pu (base SnRef) (receptor convention)
Types.ComplexCurrentPui0PuStart value of complex current at load terminal in pu (base UNom, SnRef) (receptor convention)

Connectors

TypeNameDefaultDescription
Dynawo.Connectors.BPinswitchOffSignal1 (from SwitchOffLogic)Switch-off signal 1
Dynawo.Connectors.BPinswitchOffSignal2 (from SwitchOffLogic)Switch-off signal 2
Dynawo.Connectors.BPinswitchOffSignal3 (from SwitchOffLogic)Switch-off signal 3
Dynawo.Connectors.BPinrunning (from SwitchOffLogic)Indicates if the component is running or not
Dynawo.Connectors.ACPowerterminalConnector used to connect the load to the grid
Modelica.Blocks.Interfaces.RealInputPRefPuActive power request
Modelica.Blocks.Interfaces.RealInputQRefPuReactive power request
Modelica.Blocks.Interfaces.RealInputdeltaPDelta to apply on PRef in %
Modelica.Blocks.Interfaces.RealInputdeltaQDelta to apply on QRef in %
Dynawo.Connectors.ImPinUPuVoltage amplitude at load terminal in pu (base UNom)

Components

TypeNameDefaultDescription
Constants.statestate (from SwitchOffLoad)Load connection state
Types.ActivePowerPuPPuActive power at load terminal in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQPuReactive power at load terminal in pu (base SnRef) (receptor convention)
Types.ComplexApparentPowerPuSPuApparent power at load terminal in pu (base SnRef) (receptor convention)