AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agxDriveTrain::EnergyManager Class Reference

#include <EnergyManager.h>

Static Public Member Functions

static void add (const agxDriveTrain::CombustionEngine *motor, const agxSDK::Simulation *simulation=nullptr)
 Adds an combustion engine to the EnergyManager.
 
static void add (const agxDriveTrain::ElectricMotor *motor, const agxSDK::Simulation *simulation=nullptr)
 Adds an electric motor to the EnergyManager.
 
static void add (const agxDriveTrain::Engine *motor, const agxSDK::Simulation *simulation=nullptr)
 Adds an engine to the EnergyManager.
 
static void add (const agxDriveTrain::FixedVelocityEngine *motor, const agxSDK::Simulation *simulation=nullptr)
 Adds an fixed velocity engine to the EnergyManager.
 
static agx::Real getPower (const agxDriveTrain::CombustionEngine *motor)
 Get the power for a combustion engine.
 
static agx::Real getPower (const agxDriveTrain::ElectricMotor *motor)
 Get the power for an electric motor.
 
static agx::Real getPower (const agxDriveTrain::Engine *motor)
 Get the power for an engine.
 
static agx::Real getPower (const agxDriveTrain::FixedVelocityEngine *motor)
 Get the power for a fixed velocity engine.
 
static agx::Real getWorkDone (const agxDriveTrain::CombustionEngine *motor)
 Get the work done by a combustion engine.
 
static agx::Real getWorkDone (const agxDriveTrain::ElectricMotor *motor)
 Get the work done by an electric motor.
 
static agx::Real getWorkDone (const agxDriveTrain::Engine *motor)
 Get the work done by an engine.
 
static agx::Real getWorkDone (const agxDriveTrain::FixedVelocityEngine *motor)
 Get the work done by a fixed velocity engine.
 
static void remove (const agxDriveTrain::CombustionEngine *motor, const agxSDK::Simulation *simulation=nullptr)
 Removes a combustion engine from the EnergyManager.
 
static void remove (const agxDriveTrain::ElectricMotor *motor, const agxSDK::Simulation *simulation=nullptr)
 Removes an electric motor from the EnergyManager.
 
static void remove (const agxDriveTrain::Engine *motor, const agxSDK::Simulation *simulation=nullptr)
 Removes an engine from the EnergyManager.
 
static void remove (const agxDriveTrain::FixedVelocityEngine *motor, const agxSDK::Simulation *simulation=nullptr)
 Removes an fixed velocity engine from the EnergyManager.
 

Detailed Description

Definition at line 41 of file agxDriveTrain/EnergyManager.h.

Member Function Documentation

◆ add() [1/4]

static void agxDriveTrain::EnergyManager::add ( const agxDriveTrain::CombustionEngine *  motor,
const agxSDK::Simulation *  simulation = nullptr 
)
static

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.

◆ add() [2/4]

static void agxDriveTrain::EnergyManager::add ( const agxDriveTrain::ElectricMotor *  motor,
const agxSDK::Simulation *  simulation = nullptr 
)
static

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.

◆ add() [3/4]

static void agxDriveTrain::EnergyManager::add ( const agxDriveTrain::Engine *  motor,
const agxSDK::Simulation *  simulation = nullptr 
)
static

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.

◆ add() [4/4]

static void agxDriveTrain::EnergyManager::add ( const agxDriveTrain::FixedVelocityEngine *  motor,
const agxSDK::Simulation *  simulation = nullptr 
)
static

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.

◆ getPower() [1/4]

static agx::Real agxDriveTrain::EnergyManager::getPower ( const agxDriveTrain::CombustionEngine *  motor)
static

Get the power for a combustion engine.

Parameters
motor- The combustion engine.
Returns
The power.

◆ getPower() [2/4]

static agx::Real agxDriveTrain::EnergyManager::getPower ( const agxDriveTrain::ElectricMotor *  motor)
static

Get the power for an electric motor.

Parameters
motor- The electric motor.
Returns
The power.

◆ getPower() [3/4]

static agx::Real agxDriveTrain::EnergyManager::getPower ( const agxDriveTrain::Engine *  motor)
static

Get the power for an engine.

Parameters
motor- The engine.
Returns
The power.

◆ getPower() [4/4]

static agx::Real agxDriveTrain::EnergyManager::getPower ( const agxDriveTrain::FixedVelocityEngine *  motor)
static

Get the power for a fixed velocity engine.

Parameters
motor- The fixed velocity engine.
Returns
The power.

◆ getWorkDone() [1/4]

static agx::Real agxDriveTrain::EnergyManager::getWorkDone ( const agxDriveTrain::CombustionEngine *  motor)
static

Get the work done by a combustion engine.

Parameters
motor- The combustion engine.
Returns
The work done.

◆ getWorkDone() [2/4]

static agx::Real agxDriveTrain::EnergyManager::getWorkDone ( const agxDriveTrain::ElectricMotor *  motor)
static

Get the work done by an electric motor.

Parameters
motor- The electric motor.
Returns
The work done.

◆ getWorkDone() [3/4]

static agx::Real agxDriveTrain::EnergyManager::getWorkDone ( const agxDriveTrain::Engine *  motor)
static

Get the work done by an engine.

Parameters
motor- The engine.
Returns
The work done.

◆ getWorkDone() [4/4]

static agx::Real agxDriveTrain::EnergyManager::getWorkDone ( const agxDriveTrain::FixedVelocityEngine *  motor)
static

Get the work done by a fixed velocity engine.

Parameters
motor- The fixed velocity engine.
Returns
The work done.

◆ remove() [1/4]

static void agxDriveTrain::EnergyManager::remove ( const agxDriveTrain::CombustionEngine *  motor,
const agxSDK::Simulation *  simulation = nullptr 
)
static

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.

◆ remove() [2/4]

static void agxDriveTrain::EnergyManager::remove ( const agxDriveTrain::ElectricMotor *  motor,
const agxSDK::Simulation *  simulation = nullptr 
)
static

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.

◆ remove() [3/4]

static void agxDriveTrain::EnergyManager::remove ( const agxDriveTrain::Engine *  motor,
const agxSDK::Simulation *  simulation = nullptr 
)
static

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.

◆ remove() [4/4]

static void agxDriveTrain::EnergyManager::remove ( const agxDriveTrain::FixedVelocityEngine *  motor,
const agxSDK::Simulation *  simulation = nullptr 
)
static

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: