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.
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. 
For abs(p) &lt; p_min, losses are assumed to be = 0.

Generated at 2024-06-16T18:15:57Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos