#include <EnergyManager.h>
Adds an electric motor to the EnergyManager.
- Parameters
-
| motor | - The electric motor to be added. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
Adds an combustion engine to the EnergyManager.
- Parameters
-
| motor | - The combustion engine to be added. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
Adds an engine to the EnergyManager.
- Parameters
-
| motor | - The engine to be added. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
Adds an fixed velocity engine to the EnergyManager.
- Parameters
-
| motor | - The fixed velocity engine to be added. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
Get the power for an electric motor.
- Parameters
-
| motor | - The electric motor. |
- Returns
- The power.
Get the power for a combustion engine.
- Parameters
-
| motor | - The combustion engine. |
- Returns
- The power.
Get the power for an engine.
- Parameters
-
- Returns
- The power.
Get the power for a fixed velocity engine.
- Parameters
-
| motor | - The fixed velocity engine. |
- Returns
- The power.
Get the work done by an electric motor.
- Parameters
-
| motor | - The electric motor. |
- Returns
- The work done.
Get the work done by a combustion engine.
- Parameters
-
| motor | - The combustion engine. |
- Returns
- The work done.
Get the work done by an engine.
- Parameters
-
- Returns
- The work done.
Get the work done by a fixed velocity engine.
- Parameters
-
| motor | - The fixed velocity engine. |
- Returns
- The work done.
Removes an electric motor from the EnergyManager.
- Parameters
-
| motor | - The electric motor to be removed. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
Removes a combustion engine from the EnergyManager.
- Parameters
-
| motor | - The combustion engine to be removed. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
Removes an engine from the EnergyManager.
- Parameters
-
| motor | - The engine to be removed. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
Removes an fixed velocity engine from the EnergyManager.
- Parameters
-
| motor | - The fixed velocity engine to be removed. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
The documentation for this class was generated from the following file: