pyleecan.Methods.Output.OutLoss.get_loss module

get_loss(self, part_label='Stator', index=None)[source]

Convenience method to get some specific loss component time data.

Parameters:
  • self (OutLoss) – an OutLoss object

  • part (str) – Label of the machine part, e.g. ‘Stator’

  • index (int) – Index of the Loss Model

Returns:

DataTime – Time data of the requested loss component

Return type:

DataTime