AGXDynamics  2.35.0.3
deprecated/TorqueConverter.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #pragma once
18 
19 
20 #include <agxPowerLine/PowerLine.h>
22 #include <agxDriveTrain/Gear.h>
23 
24 namespace agxDriveTrain
25 {
26 
27  namespace deprecated
28  {
29 
34  {
35  public:
40 
44  virtual agx::Real variableLookupFunction() const override;
45 
46 #ifndef SWIG
47 
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 
80  agx::Real getNu() const;
81 
86  void setMaxMultiplication(agx::Real maxMultiplication);
87 
91  agx::Real getMaxMultiplication() const;
92 
100  void setPumpTorqueTable(const agx::RealPairVector& nu_torques);
101 
105  void setMuTable(const agx::RealPairVector& nu_to_mu);
106 
110  agx::Real getCurrentMultiplication() const;
111 
115  const agxPowerLine::LinearLookupTable* getPumpTorqueTable() const;
116 
120  agxPowerLine::LinearLookupTable* getPumpTorqueTable();
121 
125  const agxPowerLine::LinearLookupTable* getMuTable() const;
126 
130  void clearMuTable();
131 
135  void insertNuMuLookupValue(agx::Real nu, agx::Real mu);
136 
142  void setPumpTorqueReferenceRPM(agx::Real rpm);
143 
147  agx::Real getPumpTorqueReferenceRPM() const;
148 
150  virtual void initConstraint() override;
151  agx::Real getWantedEfficiency() const;
153 
154 
157  virtual agx::RegularizationParameters::VariableType calculateComplianceAndDamping(const agx::Real timeStep, agx::Real& compliance, agx::Real& damping) override;
158 
159 #ifndef SWIG
160 
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 
175  virtual ~TorqueConverter();
178 
181 
182  };
184  }
185 }
PowerLine.h
agxPowerLine::LinearLookupTable
Linear interpolation between the inserted variable/value pairs.
Definition: PowerLineUtils.h:119
agx::Real
double Real
Definition: Real.h:42
agxDriveTrain::deprecated::TorqueConverterRef
agx::ref_ptr< TorqueConverter > TorqueConverterRef
Definition: deprecated/TorqueConverter.h:183
agx::RegularizationParameters::VariableType
VariableType
Definition: RegularizationParameters.h:32
agx::Vector
Templated vector class.
Definition: Vector.h:52
agxDriveTrain::deprecated::TorqueConverter::m_pumpTorqueTable
TorqueConverterSpeedRatioLookupRef m_pumpTorqueTable
Definition: deprecated/TorqueConverter.h:179
DOXYGEN_END_INTERNAL_BLOCK
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition: macros.h:97
agxDriveTrain
A library of agxPowerLine components designed to model the various parts of a vehicle drive train.
DOXYGEN_START_INTERNAL_BLOCK
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition: macros.h:96
agxStream::StorageStream
Abstract base class for storing/restoring a line/drums with version control.
Definition: StorageStream.h:48
AGXSTREAM_DECLARE_SERIALIZABLE
#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
PowerLineConstraints.h
agx::ref_ptr< TorqueConverterSpeedRatioLookup >
Gear.h
agxDriveTrain::deprecated::TorqueConverter::m_maxMultiplication
agx::Real m_maxMultiplication
Definition: deprecated/TorqueConverter.h:176
agxDriveTrain::deprecated::TorqueConverter::m_muTable
TorqueConverterSpeedRatioLookupRef m_muTable
Definition: deprecated/TorqueConverter.h:180
agxDriveTrain::deprecated::TorqueConverterSpeedRatioLookup
Lookup table where the lookup variable depend on the velocity ratio between in and output.
Definition: deprecated/TorqueConverter.h:33
agxDriveTrain::SlipGear
Defines a viscous coupling between two rotational dimensions.
Definition: Gear.h:93
agxDriveTrain::deprecated::TorqueConverterSpeedRatioLookupRef
agx::ref_ptr< TorqueConverterSpeedRatioLookup > TorqueConverterSpeedRatioLookupRef
Definition: deprecated/TorqueConverter.h:64
AGXMODEL_EXPORT
#define AGXMODEL_EXPORT
Definition: agxModel/export.h:42
agxDriveTrain::deprecated::TorqueConverter::m_pumpTorqueReferenceRPM
agx::Real m_pumpTorqueReferenceRPM
Definition: deprecated/TorqueConverter.h:177
agxDriveTrain::deprecated::TorqueConverter
Base Torque converter for an automatic transmission.
Definition: deprecated/TorqueConverter.h:69