modelIdealPowerConverter
Ideal converter between mechanical and electrical power
Extends from Modelica.Electrical.Analog.Interfaces.TwoPin (Component with two electrical pins), Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Based on the mechanical power and the losses, the dc current is calculated, taking actual dc voltage into account, by establishing a power balance with a very fast intergal controller.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useLosses | true | Use loss input? |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PositivePin | p (from TwoPin) | Positive electrical pin | |
| NegativePin | n (from TwoPin) | Negative electrical pin | |
| Modelica.Blocks.Interfaces.RealInput | Pmechanical | ||
| Modelica.Blocks.Interfaces.RealInput | Ploss |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v (from TwoPin) | Voltage drop of the two pins (= p.v - n.v) | |
| Modelica.Electrical.Analog.Sources.SignalCurrent | signalCurrent | ||
| Modelica.Electrical.Analog.Sensors.PowerSensor | powerSensor | ||
| Modelica.Blocks.Math.Add3 | feedback | ||
| Modelica.Blocks.Continuous.Integrator | integrator | ||
| Modelica.Blocks.Sources.Constant | const |