modelAC2DCandDC2AC

Phasor based voltage source converter model.
Diagram of AC2DCandDC2AC

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

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.PwPinp
OpenIPSL.Interfaces.PwPinn
Modelica.Blocks.Interfaces.RealInputm_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.SignalVoltageVoltage
Modelica.Blocks.Sources.RealExpressionVd0
Modelica.Electrical.Analog.Basic.ResistorResistor
Modelica.Electrical.Analog.Basic.InductorInductor
Modelica.Electrical.Analog.Ideal.IdealOpeningSwitchswitch
Modelica.Electrical.Analog.Basic.CapacitorCapacitor
Modelica.Electrical.Analog.Sources.SignalCurrentsignalCurrent
Modelica.Blocks.Sources.RealExpressionIi
Modelica.Blocks.Sources.RealExpressionVs
Modelica.Blocks.Sources.BooleanExpressionopen_circuit_condition
Modelica.Blocks.Sources.RealExpressionPmotor
Modelica.Blocks.Sources.RealExpressionQmotor
OpenIPSL.Types.PerUnitP
OpenIPSL.Types.PerUnitQ
OpenIPSL.Types.PerUnitS
Modelica.Blocks.Sources.RealExpressionVmotor
Modelica.Blocks.Sources.RealExpressionvr_m
Modelica.Blocks.Sources.RealExpressionvi_m
Modelica.Electrical.Analog.Basic.Groundground
Modelica.Blocks.Sources.RealExpressionSmotor