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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Power | Pm | Pmechanical.y | |
| Modelica.Units.SI.Power | Pe | Pelectrical.power | |
| Modelica.Units.SI.Power | Ploss | constantEfficiency.y | |
| Real | eff | if noEvent(Pm > eps and Pe > eps) then Pm/Pe elseif noEvent(Pm < -eps) then Pe/Pm else 1 | |
| Modelica.Electrical.Analog.Basic.Resistor | resistor | ||
| Modelica.Electrical.Analog.Sources.ConstantVoltage | constantVoltage | ||
| ElectricDrives.Components.IdealPowerConverter | idealPowerConverter | ||
| Modelica.Electrical.Analog.Basic.Ground | ground | ||
| ElectricDrives.Components.ConstantEfficiency | constantEfficiency | ||
| Modelica.Electrical.Analog.Sensors.PowerSensor | Pelectrical | ||
| Modelica.Blocks.Sources.Ramp | Pmechanical | ||
| ElectricDrives.Components.VariableEfficiency | variableEfficiency | ||
| Modelica.Blocks.Sources.Constant | const |