This is a simple test of model OneFlange.
It shows that the generated torque follows the normalised torque request as long as it does not overcome the allowed maximum. Actual torque will be this request times the maximum value that, in turn, is the minimum between tauMax and powerMax/w (while w is the rotational speed)
It shows also the effects of efficiency on the DC power.
First suggested plots: on the same axis oneFlange.torque.tau, and tauRef vertically aligned with the previous oneFlange.limTau.state. In these plots it can be seen that:
- during the first 10 seconds the generated torque oneFlange.torque.tau, is 20Nm, as requested from the input. The maximum torque that can be generated is not limited by the power limit
- between t=10 and 13.4 s the generated torque continues to follow the input signal;
- between t=13.4 and 15.3 s, since the drive power has been reached (10 kW), the generated torque is automatically reduced to avoid this limit to be overcome
- above t=15.3 and below 18.4 s the torque request is limited by tauMax.
- above t=18.4 s and before 20 the torque request is limited by powMax.
- above t=20 and before 38 s the torque is limited by wmax
- above 38 s the torque request reduces, and thnon limit is active anymore
- All the above behaviour is confirmed by the value of boolean variable oneFlange.limTau.state.
Second suggested plot: Once the first plot is anaysed, the user might want to have an idea of the mechanical and electrical powers: these are seen putting in the same plot powMech.power and powElec.power.
Generated at 2024-12-22T19:25:51Z
by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos