modelBaseHvdcPDanglingDiagramPQ

Base dynamic model for HVDC links with a regulation of the active power and with terminal2 connected to a switched-off bus. The reactive power limits are given by a PQ diagram.

Extends from BaseHvdcPDangling (Base dynamic model for HVDC links with a regulation of the active power and with terminal2 connected to a switched-off bus), BaseDiagramPQTerminal1 (Base dynamic model for a PQ diagram at terminal 1).

Information

This HVDC link regulates the active power flowing through itself. The active power reference is given as an input and can be changed during the simulation. The terminal2 is connected to a switched-off bus. This partial model also implements the PQ diagram at terminal1.

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
RealKLosses (from BaseHvdc)Losses coefficient between 0 and 1 : 1 if no loss in the HVDC link, < 1 otherwise
Types.ActivePowerPuPMaxPu (from BaseHvdc)Maximum active power in pu (base SnRef) flowing through the HVDC link
Types.ComplexCurrentPui10Pu (from BaseHvdc)Start value of complex current at terminal 1 in pu (base UNom, SnRef) (receptor convention)
Types.ActivePowerPuP1Ref0Pu (from BaseHvdc)Start value of active power reference at terminal 1 in pu (base SnRef) (receptor convention)
Types.ComplexApparentPowerPus10Pu (from BaseHvdc)Start value of complex apparent power at terminal 1 in pu (base SnRef) (receptor convention)
Types.ComplexVoltagePuu10Pu (from BaseHvdc)Start value of complex voltage at terminal 1 in pu (base UNom)
StringQInj1MaxTableFile (from BaseDiagramPQTerminal1)Text file that contains the table to get QInj1MaxPu from PInj1Pu (generator convention)
StringQInj1MaxTableName (from BaseDiagramPQTerminal1)Name of the table in the text file to get QInj1MaxPu from PInj1Pu (generator convention)
StringQInj1MinTableFile (from BaseDiagramPQTerminal1)Text file that contains the table to get QInj1MinPu from PInj1Pu (generator convention)
StringQInj1MinTableName (from BaseDiagramPQTerminal1)Name of the table in the text file to get QInj1MinPu from PInj1Pu (generator convention)
Types.ReactivePowerPuQInj1Max0Pu (from BaseDiagramPQTerminal1)Start value of the maximum reactive power in pu (base SnRef) (generator convention) at terminal 1
Types.ReactivePowerPuQInj1Min0Pu (from BaseDiagramPQTerminal1)Start value of the minimum reactive power in pu (base SnRef) (generator convention) at terminal 1

Connectors

TypeNameDefaultDescription
Dynawo.Connectors.BPinswitchOffSignal1Side1 (from SwitchOffLogicSide1)Switch-off signal 1 for side 1 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal2Side1 (from SwitchOffLogicSide1)Switch-off signal 2 for side 1 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal3Side1 (from SwitchOffLogicSide1)Switch-off signal 3 for side 1 of the quadripole
Dynawo.Connectors.BPinrunningSide1 (from SwitchOffLogicSide1)Indicates if the component is running on side 1 or not
Dynawo.Connectors.BPinswitchOffSignal1Side2 (from SwitchOffLogicSide2)Switch-off signal 1 for side 2 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal2Side2 (from SwitchOffLogicSide2)Switch-off signal 2 for side 2 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal3Side2 (from SwitchOffLogicSide2)Switch-off signal 3 for side 2 of the quadripole
Dynawo.Connectors.BPinrunningSide2 (from SwitchOffLogicSide2)Indicates if the component is running on side 2 or not
Dynawo.Connectors.BPinrunning (from SwitchOffDCLine)Indicates if the component is running or not
Dynawo.Connectors.ACPowerterminal1 (from BaseHvdc)
Dynawo.Connectors.ACPowerterminal2 (from BaseHvdc)

Components

TypeNameDefaultDescription
Constants.statestate (from SwitchOffDCLine)DC Line connection state
Types.ActivePowerPuP1RefPu (from BaseHvdc)Active power regulation set point in pu (base SnRef) at terminal 1 (receptor convention)
Types.ActivePowerPuP1Pu (from BaseHvdc)Active power at terminal 1 in pu (base SnRef) (receptor convention)
Types.ActivePowerPuP2Pu (from BaseHvdc)Active power at terminal 2 in pu (base SnRef) (receptor convention)
Types.ActivePowerPuPInj1Pu (from BaseHvdc)Active power at terminal 1 in pu (base SnRef) (generator convention)
Types.ActivePowerPuPInj2Pu (from BaseHvdc)Active power at terminal 2 in pu (base SnRef) (generator convention)
PStatuspStatus (from BaseHvdc)Status of the active power function
Types.ReactivePowerPuQ1Pu (from BaseHvdc)Reactive power at terminal 1 in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQ2Pu (from BaseHvdc)Reactive power at terminal 2 in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQInj1Pu (from BaseHvdc)Reactive power at terminal 1 in pu (base SnRef) (generator convention)
Types.ReactivePowerPuQInj2Pu (from BaseHvdc)Reactive power at terminal 2 in pu (base SnRef) (generator convention)
Types.ComplexApparentPowerPus1Pu (from BaseHvdc)Complex apparent power at terminal 1 in pu (base SnRef) (receptor convention)
Types.VoltageModulePuU1Pu (from BaseHvdc)Voltage amplitude at terminal 1 in pu (base UNom)
Modelica.Blocks.Tables.CombiTable1DtableQInj1Max (from BaseDiagramPQTerminal1)Table to get QInj1MaxPu from PInj1Pu (generator convention)
Modelica.Blocks.Tables.CombiTable1DtableQInj1Min (from BaseDiagramPQTerminal1)Table to get QInj1MinPu from PInj1Pu (generator convention)
Types.ReactivePowerPuQInj1MaxPu (from BaseDiagramPQTerminal1)Maximum reactive power at terminal 1 in pu (base SnRef) (generator convention)
Types.ReactivePowerPuQInj1MinPu (from BaseDiagramPQTerminal1)Minimum reactive power at terminal 1 in pu (base SnRef) (generator convention)