modelMasterHVDCstation

This is the user configurable master station where user can... define the mode of operation among Pac-Qac, Vdc-Qac, and Vac modes.

Parameters

TypeNameDefaultDescription
BooleanVdc_Pac_flagtrueTrue-Pac(Vac) mode; False-Vdc mode
BooleanVac_Qac_flagtrueTrue-Qac mode; False-Vac mode
Physical parameters
RealRrRrConnection resistance (pu)
RealXrXrConnection inductance L (pu)
RealL_armL_armMMC arm inductance (pu)
RealR_armR_armMMC arm resistance (pu)
RealC_dc195E-6Equivalent capacitance of the DC grid (F)
RealC_subC_subMMC submodule capacitor (F)
RealN_subN_subNumber of submodules per arm
RealMVAbMVAbConverter rated power (MVA)
Base values
RealS_bS_bSystem base power (MVA)
RealfbfbSystem frequency (Hz)
RealVbVbBase voltage (kV)
RealVdcbVdcbBase DC voltage (kV)
Power flow data
RealV_0Connection bus voltage magnitude (pu)
Modelica.Units.SI.Angleangle_0Connection bus voltage angle
RealP_0Pref initial (pu)
RealQ_0Qref initial (pu)
RealVdc_0DC voltage reference (pu)
RealWmmc_0Energy reference (pu)

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinpin_p
Modelica.Electrical.Analog.Interfaces.NegativePinpin_n
OpenIPSL.Interfaces.PwPinpwPin
Modelica.Blocks.Interfaces.RealInputPrefReference AC Active Power (pu)
Modelica.Blocks.Interfaces.RealInputQrefReference AC Reactive Power (pu)
Modelica.Blocks.Interfaces.RealInputVdc_refReference DC voltage (pu)
Modelica.Blocks.Interfaces.RealOutputVdc_ref_SIReference DC voltage (kV)
Modelica.Blocks.Interfaces.RealOutputPref_SIReference AC Active Power (MW)
Modelica.Blocks.Interfaces.RealOutputQref_SIReference AC Rective Power (MVAr)
Modelica.Blocks.Interfaces.RealInputVac_refReference AC voltage
Modelica.Blocks.Interfaces.RealOutputVac_ref_SIReference AC Voltage (kV)
Modelica.Blocks.Interfaces.RealInputf_refReference frequency (Hz)
Modelica.Blocks.Interfaces.RealInputtheta_refReference phase angle (degree)

Components

TypeNameDefaultDescription
ComponentLibrary.BasicBlocks.Tranformation.SItoPUsI_to_pu
ComponentLibrary.BasicBlocks.Tranformation.PUtoSIpu_to_SI
ComponentLibrary.ControlBlocks.OuterLoopControls.EnergyControl.VariableRefEnergyControlEnergyControl
ComponentLibrary.ControlBlocks.OuterLoopControls.ActivePowerControl.ActivePowerControlpowerControl
ComponentLibrary.ControlBlocks.OuterLoopControls.ReactivePowerControl.ReactivePowerControlreactivePowerControl
ComponentLibrary.ControlBlocks.InnerLoopControls.DCcurrentControl.DCcurrentControldCsideModulation
ComponentLibrary.ControlBlocks.InnerLoopControls.ACcurrentControl.dAxisACcurrentControlaCside_R_Modulation
ComponentLibrary.ControlBlocks.InnerLoopControls.ACcurrentControl.qAxisACcurrentControlaCside_I_Modulation
ComponentLibrary.Converter.AvgMMCmodelavgMMCmodel_withBlock2_1
ComponentLibrary.BasicBlocks.Calculator.PQcalculatorpQ_calculator
ComponentLibrary.BasicBlocks.Tranformation.dqToRIdq_to_RI
ComponentLibrary.BasicBlocks.Tranformation.RITodqrI_to_dq
Modelica.Blocks.Math.Atan2atan2_1
ComponentLibrary.BasicBlocks.Tranformation.RITodqrI_to_dq1
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Math.Gaingain1
ComponentLibrary.ControlBlocks.OuterLoopControls.DCvoltageControl.DCvotlageControlDCvoltageControl
Modelica.Blocks.Logical.Switchswitch2
Modelica.Blocks.Math.Gaingain4
Modelica.Blocks.Math.Gaingain2
Modelica.Blocks.Logical.Switchswitch3
ComponentLibrary.BasicBlocks.PLL.Synchronizationsynchronization02_1
ComponentLibrary.BasicBlocks.Tranformation.PolarToComplexpolar2Complex1
ComponentLibrary.BasicBlocks.Tranformation.RITodqrI_to_dq5
ComponentLibrary.ControlBlocks.OuterLoopControls.ACvoltageControl.dAxisACvoltageControlaCd_axisVoltageControl1
ComponentLibrary.ControlBlocks.OuterLoopControls.ACvoltageControl.qAxisACvoltageControlaCq_axisVoltageControl1
Modelica.Blocks.Logical.Switchswitch4
Modelica.Blocks.Logical.Switchswitch5
Modelica.Blocks.Math.Gaingain3
ComponentLibrary.BasicBlocks.Calculator.EnergyCalculatorenergy_Calculator
Modelica.Blocks.Sources.BooleanConstantflag2
Modelica.Blocks.Sources.BooleanConstantflag1
Modelica.Blocks.Math.GainVdc_ref_mock
Modelica.Blocks.Math.GainPref_mock
Modelica.Blocks.Math.GainQref_mock
Modelica.Blocks.Math.GainVac_ref_mock
Modelica.Blocks.Math.Gaintheta_ref_mock
Modelica.Blocks.Math.Gainf_ref_mock