time_variables¶
- property DCMotor.time_variables: dict[str, list[UnitBase]]
Time variables of the DC motor. Each time variable is stored as a dictionary key-value pair. The available time variables are:
angular_position:'angular position',angular_speed:'angular speed',angular_acceleration:'angular acceleration',torque:'torque',driving_torque:'driving torque',load_torque:'load torque',electric_current:'electric current',pwm:'pwm'.
'electric current'is listed among time variables only if it is computable indeed, depending on which motor parameters was set at DC motor instantiation; seeelectric_current_is_computablefor more details.Corresponding values of the dictionary are lists of the respective time variable values.
At each time iteration, the
Solverappends every time variables’ values to the relative list in the dictionary.Returns¶
dictTime variables of the DC motor.
See Also