RoRBook/Engine

From Rigs of Rods Wiki

Jump to:navigation, search
Note: Tutorials marked red are currently not available!
  1. Introduction
  2. Working Environment
  3. Land-based Vehicles and Basics
    1. Basic Requirements
    2. First Beams/Nodes
    3. Rigidity
    4. Wheels
    5. Engine
    6. Suspension
    7. Steering
    8. Commands
    9. Hooks
    10. Submeshes
    11. Flares
    12. Props
    13. Details
  4. Objects and Texturing
    1. Meshes
      1. Tools
      2. Basic Rules
    2. Materials
    3. Flexbodies
  5. Aircraft and Winged Vehicles
    1. Simple Aircraft
    2. Wings
    3. Fusedrag
    4. Engines
      1. Props
      2. Jets
  6. Nautical Vehicles and Boats
    1. Simple Boats
    2. Engines
  7. Packaging
The engine sections are used for vehicles which are driven through their wheels (trucks). Together, they specify the type of engine being used (truck or car), the power of that engine and the gear ratios for the truck

Contents

Engine

This section specifies torque, gearing and RPM ranges of the engine being used.

Syntax

engine
;min rpm, max rpm, torque, differential, reverse, neutral, 1st,   2nd,  3rd,  4th,  5th,  6th...                  Terminator
 1000.0,  1500.0,  8000.0, 2.00,         10.85,   10.00,   13.86, 9.52, 6.56, 5.48, 4.58, 3.83, 3.02, 2.53, 2.08, -1.0
  • Minimum RPM - The engine speed in which the automatic transmission downshifts and the clutch engages.
  • Maximum RPM - The engine speed in which the automatic transmission upshifts. Actual redline is 120% of this speed.
  • Torque - A number representing the 'torque' of the engine. The higher the value, the faster a truck will accelerate.
  • Differential ratio - A global gear conversion ratio. (Final gear reduction ratio) 
  • Rear gear ratio - Gear ratio of reverse. For every turn of the wheel the engine will have to turn this many times (not counting the differential ratio).
  • Neutral gear ratio - Gear ratio of neutral gear. 1.0 is a good one as it helps to distinguish between reverse and forward gears
  • First gear ratio - Gear ratio of 1st gear
  • Second/etc gear ratio - Gear ratio of second/etc gears.

There must be between 3 and 15 forward gears. The last gear must be followed by a -1 value.

Detailed Syntax

Torque

RoR uses a Flat torque model, usually correct for large intercooled turbo diesels. The unit is unknown: Neither N.m nor ft.lbf Tuning torque in RoR is a tricky topic, since the current air resistance simulation is overstrong. Setting torque to provide realistic acceleration at low speeds results in severely stunted top speeds. Setting it to provide higher top speeds results in very strong acceleration.

Engine Inertia also has a VERY important role in engine behavior since this value also determines how fast a vehicle can accelerate

Differential ratio

Differential ratio represents gear reduction ratio between input pinion gear and the ring gear of the differential. This parameter acts as global gear conversion ratio. It means that if, let's say first gear has ratio 13.86 and differential ratio is 2.0, actual first gear reduction is 27.72 (2.0 * 13.86). If you are using real gearbox parameters, bear this in mind and look for real differential ratios too.

Gear ratios

Gear ratios of forward gears. For every turn of the wheel must engine turn this many times (not counting the differential ratio). When setting various gear ratios, try to make smaller difference between higher gears. Pleas note that in sample gear setting the difference (ratio) between first and second gear is approx. 45 %, but difference between the fifth and sixth gear is about 19 %. This allows smoother gearbox performance. There must be between 3 and 15 forward gears. The last gear must be followed by a -1 value.

More Information

A great source of practical gear ratios is from Eaton Fuller. To see the ratios, click the name of the transmission and find Product Specifications Guide. If your vehicle decelerates in a gear you may not have enough power, or too high a gear. NOTE: the value of this site is unknown. RoR's poor air resistance simulation probably invalidates the use of any real life gear ratios: It's always best to make sure a truck can sensibly use all the gears it has.

If you know a little about vehicles there is a Gear Ratio Guide, but a a decent knowledge of transmissions, transfer cases, underdrives and correct rear end gears is highly recommended.

Engoption

This optional section allows the user to specify whether the engine is for a car or heavy truck and the engine inertia of the vehicle.

Syntax

engoption
0.5, c
  • Engine Inertia - The engines resistance to change in RPM
  • Engine Type - The type of engine inside the vehicle. Use (c) for car engines and (t) for truck engines.

Detailed Syntax

Engine Inertia

The default game value is 10.0, which is correct for a large diesel engine, Use higher values to make engines accelerate more slowly and stall more difficultly, which may be useful for vehicles towing large masses. This value should be lowered for smaller, light engines (Is the multiplier different for car and truck engines?)

With a high value of inertia the engines RPM is not likely to change when resistance is met. As an example, when changing gears a high inertia will cause the wheels to slip, while a lower value will cause the engine RPM to change and prevent the wheels from slipping. However, with a low inertia and a high brake value, the engine will stall more easily since the brakes can change the RPMs more easily.

If your engine doesn't change its RPM's during gear change, your engine inertia is too high

If a vehicle is feeling sluggish, and hard to brake, it is better to decrease the inertia than increase the brake force, and torque.

Engine Type

Using (c) for cars or (t) for trucks specifies characteristics of the engines. Car engines use a different sound to truck engines and have no turbocharger. They also have less inertia by default. (t) is the default.


Torque Curve

This section allows you to define a torque curve for your vehicle. It is optional.

This allows you to assign predefined torque curves or your own custom curves to a truck. Predefined options are: default, diesel, turbodiesel, gas, turbogas, wheelloader, compacttractor, tractor, hydrostatic

Predefined Curve Example:
torquecurve
turbogas

The first number is RPM where the power begins, and the second defines power as a percent of total torque.

It's suitable to define the torque to the engine RPM set in the engine definition plus 25% ( multiply the value with 1.25) to get the overev area defined.

The following example would be good for a maximum engine RPM set to 2800.

Custom curve example:
torquecurve
0,0
1000,0.79
1500,0.9
2000,0.97
2500,0.99
3000,0.9
3500,0.77
Engine dying in idle and first gear ? Just define a single higher peak value where you want the engine to idle...  like adding
...
700, 0.2
800, 0.6
900, 0.4
...
Example
to the example above in the right spot will result the engine idle a little bit higher then 800 rpm in first gear.

The example to the left shows a screenshot of a torquercurve made for a small diesel engine:

Idle: ~600 RpM, Max @ 1900 RPM, slight and constant torque increase over the used RpM bandwidth, hard torque dropoff in the overev area.




About Rigs of Rods

    Rigs of Rods is a unique soft body physics simulator.


Some Tools


Partners

SourceForge.net

Follow us

Twitter youtube Facebook RSS Feed


impressum