modelBaseHvdc

Base dynamic model for HVDC links

Extends from Dynawo.Electrical.Controls.Basics.SwitchOff.SwitchOffDCLine (Switch-off signal for a DC line), AdditionalIcons.Hvdc.

Parameters

TypeNameDefaultDescription
IntegerNbSwitchOffSignalsSide1 (from SwitchOffLogicSide1)Number of switch-off signals to take into account in inputs
BooleanSwitchOffSignal1Side10 (from SwitchOffLogicSide1)falseInitial switch-off signal 1 for side 1 of the quadripole
BooleanSwitchOffSignal2Side10 (from SwitchOffLogicSide1)falseInitial switch-off signal 2 for side 1 of the quadripole
BooleanSwitchOffSignal3Side10 (from SwitchOffLogicSide1)falseInitial switch-off signal 3 for side 1 of the quadripole
BooleanRunningSide10 (from SwitchOffLogicSide1)if NbSwitchOffSignalsSide1 >= 3 then not (SwitchOffSignal1Side10 or SwitchOffSignal2Side10 or SwitchOffSignal3Side10) elseif NbSwitchOffSignalsSide1 >= 2 then not (SwitchOffSignal1Side10 or SwitchOffSignal2Side10) else not SwitchOffSignal1Side10Indicates if the component is initially running on side 1 or not
IntegerNbSwitchOffSignalsSide2 (from SwitchOffLogicSide2)Number of switch-off signals to take into account in inputs
BooleanSwitchOffSignal1Side20 (from SwitchOffLogicSide2)falseInitial switch-off signal 1 for side 2 of the quadripole
BooleanSwitchOffSignal2Side20 (from SwitchOffLogicSide2)falseInitial switch-off signal 2 for side 2 of the quadripole
BooleanSwitchOffSignal3Side20 (from SwitchOffLogicSide2)falseInitial switch-off signal 3 for side 2 of the quadripole
BooleanRunningSide20 (from SwitchOffLogicSide2)if NbSwitchOffSignalsSide2 >= 3 then not (SwitchOffSignal1Side20 or SwitchOffSignal2Side20 or SwitchOffSignal3Side20) elseif NbSwitchOffSignalsSide2 >= 2 then not (SwitchOffSignal1Side20 or SwitchOffSignal2Side20) else not SwitchOffSignal1Side20Indicates if the component is initially running on side 2 or not
Constants.stateState0 (from SwitchOffDCLine)Constants.state.ClosedStart value of connection state
RealKLossesLosses coefficient between 0 and 1 : 1 if no loss in the HVDC link, < 1 otherwise
Types.ActivePowerPuPMaxPuMaximum active power in pu (base SnRef) flowing through the HVDC link
Types.ComplexCurrentPui10PuStart value of complex current at terminal 1 in pu (base UNom, SnRef) (receptor convention)
Types.ActivePowerPuP1Ref0PuStart value of active power reference at terminal 1 in pu (base SnRef) (receptor convention)
Types.ComplexApparentPowerPus10PuStart value of complex apparent power at terminal 1 in pu (base SnRef) (receptor convention)
Types.ComplexVoltagePuu10PuStart value of complex voltage at terminal 1 in pu (base UNom)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanInputswitchOffSignal1Side1 (from SwitchOffLogicSide1)Switch-off signal 1 for side 1 of the quadripole
Modelica.Blocks.Interfaces.BooleanInputswitchOffSignal2Side1 (from SwitchOffLogicSide1)Switch-off signal 2 for side 1 of the quadripole
Modelica.Blocks.Interfaces.BooleanInputswitchOffSignal3Side1 (from SwitchOffLogicSide1)Switch-off signal 3 for side 1 of the quadripole
Modelica.Blocks.Interfaces.BooleanOutputrunningSide1 (from SwitchOffLogicSide1)Indicates if the component is running on side 1 or not
Modelica.Blocks.Interfaces.BooleanInputswitchOffSignal1Side2 (from SwitchOffLogicSide2)Switch-off signal 1 for side 2 of the quadripole
Modelica.Blocks.Interfaces.BooleanInputswitchOffSignal2Side2 (from SwitchOffLogicSide2)Switch-off signal 2 for side 2 of the quadripole
Modelica.Blocks.Interfaces.BooleanInputswitchOffSignal3Side2 (from SwitchOffLogicSide2)Switch-off signal 3 for side 2 of the quadripole
Modelica.Blocks.Interfaces.BooleanOutputrunningSide2 (from SwitchOffLogicSide2)Indicates if the component is running on side 2 or not
Modelica.Blocks.Interfaces.BooleanOutputrunning (from SwitchOffDCLine)Indicates if the component is running or not
Dynawo.Connectors.ActivePowerPuInputP1RefPuActive power regulation set point in pu (base SnRef) at terminal 1 (receptor convention)
Dynawo.Connectors.ACPowerterminal1
Dynawo.Connectors.ACPowerterminal2

Components

TypeNameDefaultDescription
Constants.statestate (from SwitchOffDCLine)DC Line connection state
Types.ActivePowerPuP1PuActive power at terminal 1 in pu (base SnRef) (receptor convention)
Types.ActivePowerPuP2PuActive power at terminal 2 in pu (base SnRef) (receptor convention)
Types.ActivePowerPuPInj1PuActive power at terminal 1 in pu (base SnRef) (generator convention)
Types.ActivePowerPuPInj2PuActive power at terminal 2 in pu (base SnRef) (generator convention)
PStatuspStatusStatus of the active power function
Types.ReactivePowerPuQ1PuReactive power at terminal 1 in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQ2PuReactive power at terminal 2 in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQInj1PuReactive power at terminal 1 in pu (base SnRef) (generator convention)
Types.ReactivePowerPuQInj2PuReactive power at terminal 2 in pu (base SnRef) (generator convention)
Types.ComplexApparentPowerPus1PuComplex apparent power at terminal 1 in pu (base SnRef) (receptor convention)
Types.VoltageModulePuU1PuVoltage amplitude at terminal 1 in pu (base UNom)

Contents

NameDescription
PStatus