Engines: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
Line 257: Line 257:
|}
|}
It is possible to reduce total effective available power by engaging a smaller engine: any additional that produces 25% power of the largest engine or less is an absolute loss in terms of effective power.
It is possible to reduce total effective available power by engaging a smaller engine: any additional that produces 25% power of the largest engine or less is an absolute loss in terms of effective power.
Total effective safe engine and maximum power are displayed next to the "Engines" line in the middle column of the display when examining a vehicle.


For both safe and maximum velocity, the effective engine power is compared to the vehicle's aerodynamic drag and rolling resistance.  Lighter vehicles vehicles go faster than heavier vehicles for the same engine power.  More aerodynamic vehicles go faster than less aerodynamic vehicles for the same engine power.  Vehicles with fewer wheels go faster for the same engine power than vehicles with many wheels.  Vehicles with treads go much slower than vehicles with wheels for the same engine power.  Vehicles always go faster with more engine power, but more engine power increases fuel consumption.
For both safe and maximum velocity, the effective engine power is compared to the vehicle's aerodynamic drag and rolling resistance.  Lighter vehicles vehicles go faster than heavier vehicles for the same engine power.  More aerodynamic vehicles go faster than less aerodynamic vehicles for the same engine power.  Vehicles with fewer wheels go faster for the same engine power than vehicles with many wheels.  Vehicles with treads go much slower than vehicles with wheels for the same engine power.  Vehicles always go faster with more engine power, but more engine power increases fuel consumption.
Line 279: Line 281:


==Solar panels in {{InlineVer|0.D}}==
==Solar panels in {{InlineVer|0.D}}==
Solar panels produce electricity when the weather is sunny, clear, or cloudy. Solar panel energy production was severely reduced from previous version, and vehicles powered solely by solar panel need to be very lightweight and slow or only used infrequently. The solar car, made entirely of extra light frames with 13 upgraded solar panels and two electric motors, has a cruise speed around 50 mph and still only produces 10% of the necessary epower.
Solar panels produce electricity when the weather is sunny, clear, or cloudy. Solar panel energy production was severely reduced from previous version, and vehicles powered solely by solar panel need to be very lightweight and slow or only used infrequently. The solar car, made entirely of extra light frames with 13 upgraded solar panels and two electric motors only produces 10% of the necessary epower.
==Table of engines==
==Table of engines==
{| class="wikitable"
{| class="wikitable"

Revision as of 01:44, 21 December 2018

Guide created using an unknown version of Cataclysm DDA.
The information present here might not apply to the current version of CDDA.


 [09:52] <cib0> Man the vehicle code is a complete mess. 

Ultimately engines work, but teasing out the specifics of how they work isn't easy. Here are some basic understandings of how engines work in vehicles. There aren't details on things like how power works with weight, fuel efficiency, top speed, and acceleration because those things simply aren't apparent. (At least, to me!)

Engine details

  • epower is the drain on a vehicle's energy stored in batteries
    • This represents the minor power needs in combustion engines for spark plugs as well as direct fuel in electric engines
  • power is how much true power an engine generates to turn wheels or alternators; this shows for electric engines in the vehicle window, but not for gas or diesel
  • Electric engines have a "fuel usage" but that is ignored for their epower use
  • Gasoline and diesel engines spawn in a range of liter sizes, this liter size is multiplied by 100 to get their power
    • 0.53L 1 cylinder engine has 53 power
    • 12.43L V12 has 1243 power
  • Power for variable size engines is listed with the min and max as well as an average to compare against the fixed power engines
  • Fuel use is tied directly to power, it is power divided by 100, with 1 minimum and rounded down otherwise
    • 0.53L 1 cylinder engine is fuel use 1 because 53/100=0.53
    • 12.43L V12 is fuel use 12 because 1243/100=12.43
  • Muscle power engines have their output adjusted by a factor of 5 for pedals and 3 for hand rims, based on strength
  • The minireactor is the only engine that generates battery power without alternators
  • Durability and damage mod determine how the components take damage in the vehicle

Table of engines

name damage modifier durability epower power min power max power fuel type fuel usage
small electric motor 80 120 -6000 15 15 15 battery 1
electric motor 80 200 -29000 70 70 70 battery 1
enhanced electric motor 80 200 -160000 400 400 400 battery 4
large electric motor 80 400 -137000 350 350 350 battery 3
V6 diesel engine 80 400 -200 500 400 600 diesel 5
I6 diesel engine 80 400 -400 600 500 700 diesel 6
V8 diesel engine 80 400 -300 700 600 800 diesel 7
V12 diesel engine 80 600 -400 ??? ??? ??? diesel 12?
small 1-cylinder engine 80 120 0 33.5 22 45 gasoline 1
1-cylinder engine 80 150 0 55 35 75 gasoline 1
V-twin engine 80 200 -50 112.5 75 150 gasoline 1
Inline-4 engine 80 300 -100 225 150 300 gasoline 2
V6 engine 80 400 -150 400 300 500 gasoline 4
V8 engine 80 400 -200 650 500 800 gasoline 6
V12 engine 80 600 -350 1200 800 1600 gasoline 12
foot crank 50 50 0 45 45 45 muscle -
set of hand rims 50 50 0 32 32 32 muscle -
minireactor 80 580 149200 100 100 100 plutonium cell -

Engines in 0.D (Danny)

The vehicle code has been significantly cleaned up in the latest versions. Engines no longer spawn with variable size: a V8 diesel is the same size as every other V8 diesel. Engines produce power, drain electrical energy, and consume fuel based on their overall size, with larger engines consuming more fuel and producing more power.

A vehicle's safe cruising speed is proportional to the sum of the cruising power of its engines. Cruising power is displacement multiplied by a fixed value by engine type:

Engine Type Cruising Power Factor
Muscle 45
Gasoline 60
Diesel 65
Electric 90

A vehicle's maximum speed is proportional to the sum of the power of its engines.

In both cases, a vehicle with multiple engines reduces effective engine power by 4 / (3 + engine count), like so:

Engine Count Effective Power Gain for additional identical engines
1 100% +0%
2 80% +60%
3 66% +100%
4 57% +129%
5 50% +150%
6 44% +166%
7 40% +180%
8 36% +190%

It is possible to reduce total effective available power by engaging a smaller engine: any additional that produces 25% power of the largest engine or less is an absolute loss in terms of effective power.

Total effective safe engine and maximum power are displayed next to the "Engines" line in the middle column of the display when examining a vehicle.

For both safe and maximum velocity, the effective engine power is compared to the vehicle's aerodynamic drag and rolling resistance. Lighter vehicles vehicles go faster than heavier vehicles for the same engine power. More aerodynamic vehicles go faster than less aerodynamic vehicles for the same engine power. Vehicles with fewer wheels go faster for the same engine power than vehicles with many wheels. Vehicles with treads go much slower than vehicles with wheels for the same engine power. Vehicles always go faster with more engine power, but more engine power increases fuel consumption.

Aerodynamic Drag

Aerodynamic drag has a large effect on reducing vehicle speed. The following factors increase a vehicle's aerodynamic drag and reduce maximum speed:

  • Wider vehicles have more aerodynamic drag.
  • Taller vehicles have more aerodynamic drag. Aisles and full boards increase vehicle height a lot, while roofs, turrets, floodlights, and solar panels increase vehicle height a little. Stowboards count as fullboards and floor trunks count as aisles.
  • Exposed drivers and passengers increase aerodynamic drag. Passengers are considered exposed if there isn't a roof over their head and doors, full-boards, or windshields surrounding them.
  • Not having an aerodynamic profile increases drag. The ideal profile starts with quarterpanels, followed by a windshield, followed by a passenger compartment with a roof, and is more than twice as long as it is wide.
  • Turrets increase aerodynamic drag.
Rolling Resistance

Rolling resistance has less of an effect on reducing vehicle speed than aerodynamic drive. The following factors increase a vehicle's rolling resistance:

  • Small wheels increase rolling resistance.
  • More wheels increase rolling resistance.
  • Treads dramatically increase rolling resistance.
  • Vehicle weight largely determines rolling resistance, so heavy vehicles have much more rolling resistance than light vehicles.

Alternators in 0.D (Danny)

Alternators are treated as though they were engines that consume power and produce electrical energy.

Solar panels in 0.D (Danny)

Solar panels produce electricity when the weather is sunny, clear, or cloudy. Solar panel energy production was severely reduced from previous version, and vehicles powered solely by solar panel need to be very lightweight and slow or only used infrequently. The solar car, made entirely of extra light frames with 13 upgraded solar panels and two electric motors only produces 10% of the necessary epower.

Table of engines

name epower (W) cruising power (kW) power (kW) fuel type
foot crank 0 1.6 + 0.14 * (ST - 8) 64 + 5 * (ST - 8) muscle
set of hand rims 0 0.8 + 0.05 * (ST - 8) 32 + 2 * (ST - 8) muscle
small 1-cylinder engine 0 2.2 3.7 gasoline
1-cylinder engine 0 4.4 7.4 gasoline
V-twin engine -50 22.4 37.3 gasoline
Inline-4 engine -150 55.9 93.2 gasoline
V6 engine -200 89.5 149.2 gasoline
V8 engine -250 145.3 242.2 gasoline
V12 engine -350 268.6 447.6 gasoline
tiny electric motor -1,750 1.3 1.5 battery
small electric motor -8,500 6.7 7.4 battery
electric motor -41,500 33.57 37.3 battery
large electric motor -160,000 134.3 149.2 battery
enhanced electric motor -207,250 167.9 186.5 battery
V6 diesel engine -250 97 149.2 diesel
I6 diesel engine -350 145.5 223.8 diesel
V8 diesel engine -350 157.4 242.2 diesel
V12 diesel engine -400 290.9 447.6 diesel
bicycle alternator 36 -0.1 0.1 -
motorbike alternator 360 -0.7 -0.7 -
car alternator 780 -1.5 -1.5 -
truck alternator 1,320 -2.2 -2.2 -
7.5kW generator 7,500 -10.4 -10.4 -
minireactor 149,200 100 100 plutonium cell
solar panel 50 0 0 sunlight
upgraded solar panel 100 0 0 sunlight
quantum solar panel 300 0 0 sunlight
  • epower is electrical power in watts, with negative values meaning the engine drains power.
  • cruising power and power are effective power in kW. Cruising power already takes into account the effective cruising power multiplier by engine type mentioned above.