160 virtual
void initConstraint() override;
162 virtual
bool preUpdate(
agx::Real timeStep) override;
164 virtual
bool store(
agxStream::StorageStream& str) const override;
166 virtual
bool restore(
agxStream::StorageStream& str) override;
179 agx::Real m_turbineTorque;
183 agx::Real m_timeSinceLock;
187 void calculateInternalTorques(
agx::Real inputVel,
agx::Real outputVel);
188 void controlLock(
agx::Real timeStep);
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
A gear is a connector between two rotational units.
A torque converter is a connector, which transfers rotating power with the help of a fluid coupling.
agx::Real getTurbineTorque()
Get the calculated torque output from the turbine side.
void setEfficiencyTable(const agx::RealPairVector &velRatio_efficiency)
Set the values in the efficiency table, will clear the old values from the table.
bool setOilDensity(agx::Real oilDensity)
Set the oil density, which is the liquid that is used to transfer power.
TorqueConverter()
Create the torque converter.
void setGeometryFactorTable(const agx::RealPairVector &velRatio_geometryFactor)
Set the values in the geometry factor table, will clear the old values from the table.
agx::Real getLockUpTime() const
Get how long time, in seconds, it will take the torque converter to lock up.
bool setPumpDiameter(agx::Real pumpDiameter)
Set the pump diameter.
agx::Real getPumpTorque()
Get the calculated pump torque, which is the counter torque on the pump side in the model.
void enableLockUp(bool enable)
Control the lock in the torque converter.
agx::Real getOilDensity() const
Get the value of the oil density, which is the liquid that is used to transfer power.
void clearGeometryFactorTable()
Clear the geometry factor table from all values.
void setLockUpTime(agx::Real time)
Set how long time it should take to lock up the torque converter.
const agxPowerLine::LinearLookupTable * getGeometryFactorTable() const
Get the geometry factor lookup table.
void insertEfficiencyLookupValue(agx::Real velocityRatio, agx::Real efficiency)
Insert a value into the efficiency lookup table.
bool getEnableLockUp() const
Get if the lock is enabled or disabled.
void insertGeometryFactorLookupValue(agx::Real velocityRatio, agx::Real geometryFactor)
Insert a value into the geometry factor lookup table.
void clearEfficiencyTable()
Clear the efficiency table from all values.
agx::Real getPumpDiameter() const
Get the diamerter of the pump.
const agxPowerLine::LinearLookupTable * getEfficiencyTable() const
Get the efficiency lookup table.
Linear interpolation between the inserted variable/value pairs.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
A library of agxPowerLine components designed to model the various parts of a vehicle drive train.
agxPowerLine contains a collection of connected components that transport power across a system.
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.