1 // ============================================================================= 2 // PROJECT CHRONO - http://projectchrono.org 3 // 4 // Copyright (c) 2014 projectchrono.org 5 // All rights reserved. 6 // 7 // Use of this source code is governed by a BSD-style license that can be found 8 // in the LICENSE file at the top level of the distribution and at 9 // http://projectchrono.org/license-chrono.txt. 10 // 11 // ============================================================================= 12 // Authors: Radu Serban 13 // ============================================================================= 14 // 15 // Simple CVT powertrain model for the M113 vehicle. 16 // - simple speed-torque curve 17 // - no torque converter 18 // - no transmission box 19 // 20 // ============================================================================= 21 22 #include "chrono_models/vehicle/m113/M113_SimpleCVTPowertrain.h" 23 24 namespace chrono { 25 namespace vehicle { 26 namespace m113 { 27 28 // ----------------------------------------------------------------------------- 29 // Static variables 30 // ----------------------------------------------------------------------------- 31 const double M113_SimpleCVTPowertrain::m_max_torque = 450 / 0.73756; // 450 lb-ft 32 const double M113_SimpleCVTPowertrain::m_max_power = 156597; // 210 BHP 33 const double M113_SimpleCVTPowertrain::m_max_speed = 550; // > 5000 RPM 34 const double M113_SimpleCVTPowertrain::m_fwd_gear_ratio = 0.240; 35 const double M113_SimpleCVTPowertrain::m_rev_gear_ratio = -0.151; 36 37 // ----------------------------------------------------------------------------- M113_SimpleCVTPowertrain(const std::string & name)38M113_SimpleCVTPowertrain::M113_SimpleCVTPowertrain(const std::string& name) : ChSimpleCVTPowertrain(name) {} 39 SetGearRatios(std::vector<double> & fwd,double & rev)40void M113_SimpleCVTPowertrain::SetGearRatios(std::vector<double>& fwd, double& rev) { 41 rev = m_rev_gear_ratio; 42 fwd.push_back(m_fwd_gear_ratio); 43 } 44 45 } // end namespace m113 46 } // end namespace vehicle 47 } // end namespace chrono 48