modelDcdcConverter
Averaging dc/dc converter
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block), 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).
Information
This is an averaging model of a dc/dc-converter, working with voltages and currents averaged over a switching period. The battery current is controlled by a fast integral controller ensuring power balance between battery and motor / machine. Compared with a time discrete control, dead time in applying voltage and measuring current is modeled with first order.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Frequency | fs | 2e3 | Switching frequency |
| Modelica.Units.SI.Time | Ti | 1e-6 | Integral time constant of power balance |
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 | vRef | ||
| Modelica.Blocks.Interfaces.RealOutput | vBat | ||
| Modelica.Blocks.Interfaces.RealOutput | iMot |