AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
deprecated/TorqueConverter.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#pragma once
18
19
22#include <agxDriveTrain/Gear.h>
23
24namespace agxDriveTrain
25{
26
27 namespace deprecated
28 {
29
34 {
35 public:
40
44 virtual agx::Real variableLookupFunction() const override;
45
46#ifndef SWIG
50 virtual bool store(agxStream::StorageStream& str) const override;
51
55 virtual bool restore(agxStream::StorageStream& str) override;
56
58#endif
59
60 protected:
62 };
63
65
70 {
71 public:
76
81
86 void setMaxMultiplication(agx::Real maxMultiplication);
87
92
101
105 void setMuTable(const agx::RealPairVector& nu_to_mu);
106
111
116
121
126
131
136
143
148
150 virtual void initConstraint() override;
151 agx::Real getWantedEfficiency() const;
153
157 virtual agx::RegularizationParameters::VariableType calculateComplianceAndDamping(const agx::Real timeStep, agx::Real& compliance, agx::Real& damping) override;
158
159#ifndef SWIG
163 virtual bool store(agxStream::StorageStream& str) const override;
164
168 virtual bool restore(agxStream::StorageStream& str) override;
169
171#endif
172
173 protected:
174
178
181
182 };
184 }
185}
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Definition: Serializable.h:207
#define AGXMODEL_EXPORT
Defines a viscous coupling between two rotational dimensions.
Definition: Gear.h:94
Lookup table where the lookup variable depend on the velocity ratio between in and output.
virtual agx::Real variableLookupFunction() const override
This virtual function is called to find the current value of the lookup variable.
TorqueConverterSpeedRatioLookup()
Create a lookup table where the lookup variable is speed ratio between input and output.
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
Base Torque converter for an automatic transmission.
agx::Real getCurrentMultiplication() const
Return the torque multiplication iven the current state.
void setMaxMultiplication(agx::Real maxMultiplication)
When the efficiency goes to zero, the torque multiplication goes to infinity.
void setPumpTorqueTable(const agx::RealPairVector &nu_torques)
Set the pump torque table.
void setPumpTorqueReferenceRPM(agx::Real rpm)
Set the pump torque reference rpm for the table.
const agxPowerLine::LinearLookupTable * getPumpTorqueTable() const
agxPowerLine::LinearLookupTable * getPumpTorqueTable()
void clearMuTable()
Clear the table mapping angular velocity ratio to torque multiplication.
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
TorqueConverterSpeedRatioLookupRef m_pumpTorqueTable
void insertNuMuLookupValue(agx::Real nu, agx::Real mu)
Insert value in the table mapping angular velocity ratio to torque multiplication.
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
void setMuTable(const agx::RealPairVector &nu_to_mu)
Set table mapping velocity ratio to torque multiplication.
const agxPowerLine::LinearLookupTable * getMuTable() const
Return pointer to table mapping angular velocity ratio to torque multiplication.
Linear interpolation between the inserted variable/value pairs.
Abstract base class for storing/restoring a line/drums with version control.
Definition: StorageStream.h:49
Templated vector class.
Definition: agx/Vector.h:53
Smart pointer for handling referenced counted objects.
Definition: ref_ptr.h:30
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition: macros.h:89
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition: macros.h:88
agx::ref_ptr< TorqueConverter > TorqueConverterRef
agx::ref_ptr< TorqueConverterSpeedRatioLookup > TorqueConverterSpeedRatioLookupRef
A library of agxPowerLine components designed to model the various parts of a vehicle drive train.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
double Real
Definition: Real.h:41