modelDCConverter

DC controlled single phase DC/AC converter

Extends from Modelica.Electrical.PowerConverters.Interfaces.DCDC.DCtwoPin1 (Positive and negative pins of side 1), Modelica.Electrical.PowerConverters.Interfaces.DCDC.DCtwoPin2 (Positive and negative pins of side 2), PhotoVoltaics.Icons.Converter.

Information

This is an ideal DC/DC converter.

The DC/DC converter is characterized by:

  • Losses are not considered
  • The AC output current is determined based on power balance, calculating with instantaneous values: vDC1*iDC1 + vDC2*iDC2 = 0
  • The DC input voltage vDCRef is applied to the DC side 1 without limitations
  • The phase angle input phi influences the AC reactive power based on the following figure, where underlined voltages and currents represent complex phasors

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.VoltageVRef48Reference DC source voltage
Modelica.Units.SI.TimeTi1E-6Internal integration time constant

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePindc_p1 (from DCtwoPin1)Positive DC input
Modelica.Electrical.Analog.Interfaces.NegativePindc_n1 (from DCtwoPin1)Negative DC input
Modelica.Electrical.Analog.Interfaces.PositivePindc_p2 (from DCtwoPin2)Positive DC output
Modelica.Electrical.Analog.Interfaces.NegativePindc_n2 (from DCtwoPin2)Negative DC output
Modelica.Blocks.Interfaces.RealInputvDCRefDC voltage

Components

TypeNameDefaultDescription
SI.VoltagevDC1 (from DCtwoPin1)dc_p1.v - dc_n1.vDC voltage side 1
SI.CurrentiDC1 (from DCtwoPin1)dc_p1.iDC current side 1
SI.PowerpowerDC1 (from DCtwoPin1)vDC1*iDC1DC power side 1
SI.VoltagevDC2 (from DCtwoPin2)dc_p2.v - dc_n2.vDC voltages side 2
SI.CurrentiDC2 (from DCtwoPin2)dc_p2.iDC current side 2
SI.PowerpowerDC2 (from DCtwoPin2)vDC2*iDC2DC power side 2
Modelica.Electrical.Analog.Sources.SignalVoltagesignalVoltage
Modelica.Electrical.Analog.Sensors.CurrentSensorcurrentSensor
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Math.Feedbackfeedback
Modelica.Electrical.Analog.Sources.SignalCurrentvariableCurrentSource
Modelica.Electrical.Analog.Sensors.PowerSensorpowerSensor
Modelica.Blocks.Continuous.Integratorintegrator
Modelica.Blocks.Math.Gaingain