modelTestIdealPowerConverter

Test ideal power converter with constant efficiency

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Testing an ideal power converter.

This block receives the mechanical power and the losses as signals and prescribes the DC current consumption on DC side, dependent on DC voltage.

Components

TypeNameDefaultDescription
Modelica.Units.SI.PowerPmPmechanical.y
Modelica.Units.SI.PowerPePelectrical.power
Modelica.Units.SI.PowerPlossconstantEfficiency.y
Realeffif noEvent(Pm > eps and Pe > eps) then Pm/Pe elseif noEvent(Pm < -eps) then Pe/Pm else 1
Modelica.Electrical.Analog.Basic.Resistorresistor
Modelica.Electrical.Analog.Sources.ConstantVoltageconstantVoltage
ElectricDrives.Components.IdealPowerConverteridealPowerConverter
Modelica.Electrical.Analog.Basic.Groundground
ElectricDrives.Components.ConstantEfficiencyconstantEfficiency
Modelica.Electrical.Analog.Sensors.PowerSensorPelectrical
Modelica.Blocks.Sources.RampPmechanical
ElectricDrives.Components.VariableEfficiencyvariableEfficiency
Modelica.Blocks.Sources.Constantconst