modelAC2DCandDC2AC

Phasor based voltage source converter model.

Extends from OpenIPSL.Electrical.Essentials.pfComponent (Partial model containing all the parameters for entering power flow data).

Information

The AC2DCandDC2AC component represents the power electronics component of the variable speed drive. The model provides an interface between two terminals. Terminal pin p is related to the grid bus side and terminal pin n is related to the motor terminal bus. The model is an average representation of the switching components of a real variable speed drive, thus being ideal for long simulation durations on phasor dynamic simulations.

The model has one input and one output connectors. The m_input input connector represents the pwn modulation index, while the Vc output connector represents the capacitor voltage value used in the controller logic block.

The modelling of such devices is based, mainly, on the following reference:

Parameters

TypeNameDefaultDescription
Power flow data
Types.ApparentPowerS_b (from pfComponent)SysData.S_bSystem base power
Types.VoltageV_b (from pfComponent)400e3Base voltage of the bus
Types.Frequencyfn (from pfComponent)SysData.fnSystem frequency
Types.ActivePowerP_0 (from pfComponent)1e6Initial active power
Types.ReactivePowerQ_0 (from pfComponent)0Initial reactive power
Types.PerUnitv_0 (from pfComponent)1Initial voltage magnitude
Types.Angleangle_0 (from pfComponent)0Initial voltage angle
BooleandisplayPF (from pfComponent)falseDisplay power flow:
Parameter mask
BooleanenableS_b (from pfComponent)falseEnable S_b in parameter list
BooleanenableV_b (from pfComponent)falseEnable V_b in parameter list
Booleanenablefn (from pfComponent)falseEnable fn in parameter list
BooleanenableP_0 (from pfComponent)falseEnable P_0 in parameter list
BooleanenableQ_0 (from pfComponent)falseEnable Q_0 in parameter list
Booleanenablev_0 (from pfComponent)falseEnable v_0 in parameter list
Booleanenableangle_0 (from pfComponent)falseEnable angle_0 in parameter list
BooleanenabledisplayPF (from pfComponent)falseEnable displayPF in parameter list
DC Link Parameters
Modelica.Units.SI.ResistanceRdc0.1DC link resistance
Modelica.Units.SI.InductanceLdc0.001DC link inductance
Modelica.Units.SI.CapacitanceCdc0.02DC link capacitance
Realm00.1Initial PWM modulation value

Connectors

TypeNameDefaultDescription
OpenIPSL.Interfaces.PwPinpGrid side pin
OpenIPSL.Interfaces.PwPinnMotor side pin
Modelica.Blocks.Interfaces.RealInputm_inputPWM modulation index input
Modelica.Blocks.Interfaces.RealOutputVcValue of Real output

Components

TypeNameDefaultDescription
OpenIPSL.Electrical.SystemBaseSysData (from pfComponent)Must add this line in all models
Modelica.Electrical.Analog.Sources.SignalVoltageVoltageDC voltage source
Modelica.Blocks.Sources.RealExpressionVd0DC voltage after converter stage
Modelica.Electrical.Analog.Basic.ResistorResistorDC link resistor
Modelica.Electrical.Analog.Basic.InductorInductorDC link inductor
Modelica.Electrical.Analog.Ideal.IdealOpeningSwitchswitchSwitch enforcing no inverse current flow in DC link
Modelica.Electrical.Analog.Basic.CapacitorCapacitorDC link capacitor
Modelica.Electrical.Analog.Sources.SignalCurrentsignalCurrentCurrent drawn source
Modelica.Blocks.Sources.RealExpressionIiCurrent drawn expression
Modelica.Blocks.Sources.RealExpressionVsInverter side voltage magnitude
Modelica.Blocks.Sources.BooleanExpressionopen_circuit_conditionBoolean expression for boolean switch to block current from flowing the opposite direction
Modelica.Blocks.Sources.RealExpressionPmotorActive power for drawn motor current
Modelica.Blocks.Sources.RealExpressionQmotorReactive power for drawn motor current
OpenIPSL.Types.PerUnitPActive Power
Modelica.Units.SI.ActivePowerPdcDC Circuit Active Power
OpenIPSL.Types.PerUnitQReactive Power
OpenIPSL.Types.PerUnitSApparent Power
Modelica.Blocks.Sources.RealExpressionVmotorMotor terminal voltage
Modelica.Blocks.Sources.RealExpressionvr_mMotor real current
Modelica.Blocks.Sources.RealExpressionvi_mMotor imaginary current
Modelica.Electrical.Analog.Basic.GroundgroundElectrical ground
Modelica.Blocks.Sources.RealExpressionSmotorMotor apparent power