pyleecan.Methods.Output.Output.getter.comp_angle_rotor module

comp_angle_rotor(self, Time)[source]

Computes the angular position of the rotor as a function of time and set it as normalization (should not happen since angle_rotor is already added in Time normalizations in Input.comp_axis_time)

Parameters:
  • self (Output) – an Output object

  • Time (Data) – a time axis (SciDataTool Data object)

  • rot_dir (int) – Rotor rotating direction (by default -1: clockwise)

Returns:

angle_rotor – angular position of the rotor as a function of time (vector) [rad]

Return type:

ndarray