The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
Engine accelerates above throttle rpm - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: General Discussion (https://www.vdrift.net/Forum/forumdisplay.php?fid=8)
+--- Thread: Engine accelerates above throttle rpm (/showthread.php?tid=2196)



Engine accelerates above throttle rpm - neodemon - 10-31-2015

Hello,this is my first post on this forum.

I'm trying to get driveline code out of CarDynamics to simulate clutch/throttle without using any physics (bullet). All car parameters are taken out of Audi TT .car file.

When im simulating CarDynamics with clutch = 0.9, and throttle = 0.3 engine is slowly going to rpm_limit. In reality throttle position(and driveline - when engine and driveline are coupled through clutch) determines max engine rpm(between start_rpm and rpm_limit).
Is it intended, or is it my fault? (I simpified ApplyWheelForces to just apply torqes calculated by CalculateDriveTorque)


RE: Engine accelerates above throttle rpm - NaN - 11-02-2015

The throttle determines engine torque, as long as the total torque on the crankshaft is positive the engine will accelerate.


RE: Engine accelerates above throttle rpm - neodemon - 11-02-2015

(11-02-2015, 07:17 AM)NaN Wrote: The throttle determines engine torque, as long as the total torque on the crankshaft is positive the engine will accelerate.

So there must exist torque that opposes throttle torque in the way that makes engine stop accelerating(or deccelerating) when engine rpm reaches throttle rpm. Is this true?

By throttle rpm i mean:
throttle_rpm = engine_idle_rpm + (engine_limit_rpm - engine_idle_rpm) * throttle_position


RE: Engine accelerates above throttle rpm - NaN - 11-03-2015

(11-02-2015, 04:15 PM)neodemon Wrote:
(11-02-2015, 07:17 AM)NaN Wrote: The throttle determines engine torque, as long as the total torque on the crankshaft is positive the engine will accelerate.

So there must exist torque that opposes throttle torque in the way that makes engine stop accelerating(or deccelerating) when engine rpm reaches throttle rpm. Is this true?

By throttle rpm i mean:
throttle_rpm = engine_idle_rpm + (engine_limit_rpm - engine_idle_rpm) * throttle_position

The opposing torque comes usually from the wheels (tire friction), translating engine torque into car forward motion. There is no such thing as throttle_rpm.


RE: Engine accelerates above throttle rpm - neodemon - 11-03-2015

(11-03-2015, 12:26 PM)NaN Wrote: The opposing torque comes usually from the wheels (tire friction), translating engine torque into car forward motion. There is no such thing as throttle_rpm.

It cant be from tire friction, throttle(or gas) => rpm relationship works on neutral gear too. According to torque curve if engine rpm is between idle and limit, then engine produces some torque. If it always have torque on neutral, then how can engine rotate at constant rpm (when gas pedal is in constant position)?


RE: Engine accelerates above throttle rpm - NaN - 11-05-2015

(11-03-2015, 02:33 PM)neodemon Wrote:
(11-03-2015, 12:26 PM)NaN Wrote: The opposing torque comes usually from the wheels (tire friction), translating engine torque into car forward motion. There is no such thing as throttle_rpm.

It cant be from tire friction, throttle(or gas) => rpm relationship works on neutral gear too. According to torque curve if engine rpm is between idle and limit, then engine produces some torque. If it always have torque on neutral, then how can engine rotate at constant rpm (when gas pedal is in constant position)?

It depends on how complex you want your model to be.

The opposing torque in the neutral case is engine friction. You choose the throttle position so that combustion torque + friction torque = 0, which results in constant rpm. This throttle position depends on combustion and friction torque curves and your target rpm.

But as soon as you have an additional load (tires) your rpm will drop and you will have to adjust throttle to get it back, keep it constant.