modelHvdcPVDanglingDiagramPQ

Model for PV HVDC link with a PQ diagram and terminal2 connected to a switched-off bus

Extends from Dynawo.Electrical.HVDC.BaseClasses.BaseHvdcPDanglingDiagramPQ (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.), Dynawo.Electrical.HVDC.BaseClasses.BaseQStatusDangling (Base dynamic model QStatus at terminal 1), Dynawo.Electrical.HVDC.BaseClasses.BaseVoltageRegulationDangling (Base dynamic model for Hvdc voltage regulation at terminal 1), Dynawo.Electrical.HVDC.BaseClasses.BasePVDangling (Base dynamic model for PV control at terminal 1).

Information

This HVDC link regulates the active power flowing through itself. It also regulates the voltage or the reactive power at terminal1. The active power setpoint is given as an input and can be modified during the simulation, as well as the voltage reference and the reactive power reference. The terminal2 is connected to a switched-off bus. The Q limitations follow a PQ diagram.

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
BooleanlimUQDown10 (from BaseQStatusDangling)Whether the minimum reactive power limits are reached or not at terminal 1, start value
BooleanlimUQUp10 (from BaseQStatusDangling)Whether the maximum reactive power limits are reached or not at terminal 1, start value
QStatusq1Status0 (from BaseQStatusDangling)Start voltage regulation status of terminal 1: Standard, AbsorptionMax, GenerationMax
BooleanmodeU10 (from BaseVoltageRegulationDangling)Start value of the boolean assessing the mode of the control of converter 1
Types.ReactivePowerPuQ1Ref0Pu (from BaseVoltageRegulationDangling)Start value of reactive power regulation set point in pu (base SnRef) (receptor convention) at terminal 1
Types.PerUnitLambda1Pu (from BasePVDangling)Parameter Lambda of the voltage regulation law U1RefPu = U1Pu + Lambda1Pu * QInj1Pu, in pu (base UNom, SnRef) at terminal 1
Types.ReactivePowerQ1Nom (from BasePVDangling)Nominal reactive power in Mvar at terminal 1
BooleanUseLambda1 (from BasePVDangling)not (Lambda1Pu == 0)If true, the voltage regulation follows the law U1RefPu = U1Pu + Lambda1Pu * QInj1Pu at terminal 1
Types.VoltageModulePuU1Ref0Pu (from BasePVDangling)Start value of the voltage regulation set point in pu (base UNom) 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)
BooleanlimUQDown1 (from BaseQStatusDangling)Whether the minimum reactive power limits are reached or not at terminal 1
BooleanlimUQUp1 (from BaseQStatusDangling)Whether the maximum reactive power limits are reached or not at terminal 1
QStatusq1Status (from BaseQStatusDangling)Voltage regulation status of terminal 1: Standard, AbsorptionMax or GenerationMax
BooleanmodeU1 (from BaseVoltageRegulationDangling)Boolean assessing the mode of the control of converter 1: true if U mode (here a proportional Q regulation), false if Q mode (fixed Q)
Types.ReactivePowerPuQ1RefPu (from BaseVoltageRegulationDangling)Reactive power regulation set point in pu (base SnRef) (receptor convention) at terminal 1
Types.VoltageModulePuU1RefPu (from BasePVDangling)Voltage regulation set point in pu (base UNom) at terminal 1
Types.ReactivePowerPuQInj1PuQNom (from BasePVDangling)Reactive power at terminal 1 in pu (base Q1Nom) (generator convention)