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
vDCRefis applied to the DC side 1 without limitations - The phase angle input
phiinfluences the AC reactive power based on the following figure, where underlined voltages and currents represent complex phasors
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Voltage | VRef | 48 | Reference DC source voltage |
| Modelica.Units.SI.Time | Ti | 1E-6 | Internal integration time constant |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | dc_p1 (from DCtwoPin1) | Positive DC input | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | dc_n1 (from DCtwoPin1) | Negative DC input | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | dc_p2 (from DCtwoPin2) | Positive DC output | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | dc_n2 (from DCtwoPin2) | Negative DC output | |
| Modelica.Blocks.Interfaces.RealInput | vDCRef | DC voltage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | vDC1 (from DCtwoPin1) | dc_p1.v - dc_n1.v | DC voltage side 1 |
| SI.Current | iDC1 (from DCtwoPin1) | dc_p1.i | DC current side 1 |
| SI.Power | powerDC1 (from DCtwoPin1) | vDC1*iDC1 | DC power side 1 |
| SI.Voltage | vDC2 (from DCtwoPin2) | dc_p2.v - dc_n2.v | DC voltages side 2 |
| SI.Current | iDC2 (from DCtwoPin2) | dc_p2.i | DC current side 2 |
| SI.Power | powerDC2 (from DCtwoPin2) | vDC2*iDC2 | DC power side 2 |
| Modelica.Electrical.Analog.Sources.SignalVoltage | signalVoltage | ||
| Modelica.Electrical.Analog.Sensors.CurrentSensor | currentSensor | ||
| Modelica.Blocks.Math.Product | product | ||
| Modelica.Blocks.Math.Feedback | feedback | ||
| Modelica.Electrical.Analog.Sources.SignalCurrent | variableCurrentSource | ||
| Modelica.Electrical.Analog.Sensors.PowerSensor | powerSensor | ||
| Modelica.Blocks.Continuous.Integrator | integrator | ||
| Modelica.Blocks.Math.Gain | gain |