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

TypeNameDefaultDescription
BooleanuseLossestrueUse loss input?

Connectors

TypeNameDefaultDescription
PositivePinp (from TwoPin)Positive electrical pin
NegativePinn (from TwoPin)Negative electrical pin
Modelica.Blocks.Interfaces.RealInputPmechanical
Modelica.Blocks.Interfaces.RealInputPloss

Components

TypeNameDefaultDescription
SI.Voltagev (from TwoPin)Voltage drop of the two pins (= p.v - n.v)
Modelica.Electrical.Analog.Sources.SignalCurrentsignalCurrent
Modelica.Electrical.Analog.Sensors.PowerSensorpowerSensor
Modelica.Blocks.Math.Add3feedback
Modelica.Blocks.Continuous.Integratorintegrator
Modelica.Blocks.Sources.Constantconst