Work Connector¶
The ‘WorkConnector’ class links components by transferring work power between them. The work power can be electrical or mechanical.
- class connector.work_connector.WorkConnector[source]¶
A class to handle transfer of work power.
Attributes:
- W_dotfloat, optional
Work power in W.
- Nfloat, optional
Speed in rpm.
- Cfloat, optional
Torque in Nm.
- variables_inputlist of lists
A list of the variables used to define the work connector. Each entry is a list of [variable_name, value].
Methods:
- __init__(self):
Initializes the WorkConnector object with.
- set_W_dot(self, value):
Sets the work power and updates the list of known variables.
- set_N(self, value):
Sets the speed and updates the list of known variables.
- set_C(self, value):
Sets the torque and updates the list of known variables.
- print_resume(self):
Print a summary of the work connector properties.