This is a model that models an electric drive: electronic converter + electric machine.
The only model dynamics is its inertia.
The input signal is a torque request (Nm), which is applied to a mechanical inertia.
The maximum available torque is internally computed considering a direct torque maximum (tauMax) and a power maximum (powMax); the model then computes the inner losses and absorbs the total power from the DC input.
Note that to evaluate the inner losses the model uses an efficiency map (i.e. a table), in which torques are ratios of actual torques to tauMax and speeds are ratios of w to wMax. Because of this wMax must be supplied as a parameter.