blockDriveEfficiency

Calculate loss for the drive from constant or table efficiency

Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).

Information

<html
<p>
Fed by torque and angular velocity of the motor, taking into account constant efficiency of the inverter and 
either constant efficiency of the motor or performing a table lookup for motor efficiency, the losses of inverter and motor are calculated.
</p>
<p>
Motor efficiency can be specified either to be constant, or as a table dependent on speed an torque. 
The efficiency table has to given dependent on (postive and negative!) torque in rows and speed in columns. 
Efficiency is supposed to be the same in both directions of rotation, i.e. the table has to be specified only in positive drection of rotation. 
Interpolation is performed as spline interpolation with continuous derivative. 
Extrapolation beyond the specified table is done by holding the last table point. 
</p>
<h4>Note:</h4>
<p>
For abs(p) &lt; p_min, losses are assumed to be = 0.
</p>
</html>

Parameters

TypeNameDefaultDescription
RealInverterEfficiency0.975Constant efficiency of inverter
BooleanuseConstantMotorEfficiencytrueOtherwise using an efficiency table
RealMotorEfficiency0.90Constant efficiency of motor
StringtableName"None"Table name on file or in function usertab (see docu)
StringfileName" None"File where matrix is stored
BooleantableSpeed_rpmtrueEfficiency table is given with speed in rpm, otherwise rad/s

Connectors

TypeNameDefaultDescription
RealOutputy (from SO)Connector of Real output signal
Modelica.Blocks.Interfaces.RealInputw
Modelica.Blocks.Interfaces.RealInputtau

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.ProductpMech
Modelica.Blocks.Math.Gainw2n
Modelica.Blocks.Tables.CombiTable2DsetaMotorTable
Modelica.Blocks.Sources.ConstantetaMotor
Modelica.Blocks.Sources.ConstantetaInverter
Modelica.Blocks.Math.ProductetaTotal
VariableEfficiencyvariableEfficiency
Modelica.Blocks.Math.Absabs1