Units

From Oxygen Not Included Wiki
Jump to navigation Jump to search

Oxygen Not Included makes heavy use of (approximated) physics; as a result, the game involves a number of units that may be confusing to the layperson.

Note: ONI does not fully ensure the conservation of energy or mass and runs quite limited simulations with a lot of hard-coded transitions. For example, a Space Heater will consume 120 watts of electricity, but can generate 18 kDTU/s of heat - which is equivalent to 18,000 watts! This humble heating coil is operating at 150x efficiency.

Base Units

Mass

Mass is a measure of how much matter something contains.

The standard unit of mass is a Kilogram (kg) which is 1,000 Grams (g).

  • Ton or tonne (t) is 1,000 kilograms, or 1 million grams.
  • Milligram (mg) is 1/1000 of a gram.
  • Microgram (mcg or μg) is 1/1000000 of a gram. Not to be confused with millicentigram (an unofficial unit).

Time

ONI makes use of two time units: the second (s) and the day-night cycle (600 seconds).

Tick

Oxygen Not Included updates 5 times a second, this makes a game "tick" take 0.2 s.

Temperature

Temperature is a measure of the thermal energy content of a medium. Adding heat raises temperature; removing heat lowers temperature.

The standard temperature scale is Celsius (°C), with 0 degrees set at about the freezing point of water (in earth-normal conditions). Kelvin (K) is an absolute temperature scale, meaning that 0 is the coldest temperature possible. 0°C = 273.15 Kelvin. The game, however, accepts temperatures above but not equal to 0 K. A temperature difference of 1°C is the same as that of 1 K. Fahrenheit (°F) is an alternative scale where 0°C = 32°F and 100°C = 212°F, so temperature differences of 1°C = 1.8°F.

The minimum temperature possible in the game is just above 0 K (-273.15°C, -459.67°F). The maximum temperature possible in the game is just below 10000 K (9726.85°C, 17540.33°F), although this temperature cannot be reached by conventional in-game means.

Formulas for temperature conversion are as follows:

K − 273.15 = C (e.g. 0K − 273.15 = -273.1°C (absolute zero))

(F − 32) × 5/9 = C (e.g. (32°F − 32) × 5/9 = 0°C (freezing temperature of water at 1 atm (101.325 kPa), although pressure does not play any actual role in the game))

Heat

Heat is a measure of thermal energy measured in Duplicant Thermal Units (DTU). Heat production is measured in DTU/s. In the game, we usually see it in increments of 1000 (i.e., kDTU/s).

As implied by the Specific Heat and other materials data, the DTU is equivalent to the Joule (J) above. However, the game does not care about the conservation of energy between its heat, electrical, and food forms, so this knowledge has no in-game bearing, even though the Steam Turbine can extract 0.969 Joule of Energy per 1 kDTU of thermal energy.

Derived Units

Power

Power is a measure of how much energy is being expended per second.

The standard unit of power is the Watt (W).

A machine that consumes 100 watts will drain 100 joules from a battery per second, so a fully charged battery (containing 10 kJ) will power that machine for 100 seconds.

Energy

Energy is the capacity to perform work. For example, coal contains a large amount of energy, which can be released by burning it in a coal generator.

The standard unit of energy is the Joule (J), which is one Watt-second (Ws). 600 Joule could give 1 Watt of power for 600 seconds, 600 Watt for one second, 100 Watt for 6 seconds, or any derivation thereof.

Specific Heat / Heat Capacity

Specific Heat describes how much heat energy is stored in the mass of a substance, measured in (DTU/g).
Specific Heat Capacity defines how much heat energy it takes to heat up an unit of mass by one unit of temperature. This is a unique number for every element in the game and depends on what unit of temperature the player as picked in the settings, so it can either be both DTU per gram per degree Celsius ( (DTU/g) / °C ) or DTU per gram per degree Fahrenheit ( (DTU/g) / °C )

Water has a relatively high specific heat of 4.179 (DTU/g)/°C, meaning that heating one gram of water by one degree Celsius requires 4.179 DTU.

Thermal Conductivity

Thermal conductivity measures how effectively heat can move through a substance. A low value indicates a good insulator; a high value indicates a good conductor.

Thermal conductivity measures the Heat that is transfered per second penetrating a distance per surface area per temperature difference, therefore the unit comes out to ( (DTU*m/(m²*s)) / °C ), in which the penetrating distance and surface area cancel one unit of distance and is further written as DTU per meter-second per degree Celsius ( (DTU/(m*s)) / °C ).

Abyssalite is an extremely good insulator, with a thermal conductivity of only 0.00001. Therefore, if there is a temperature differential of one degree Celsius across one meter of abyssalite, only 0.00001 DTU will flow across it per second.

Food energy

The amount of food energy is measured in Calories (kcal). A Duplicant eats 1000 kcals per day by default. See Guide/Food and Food (Resource).

A further derived unit is the energy density, Calories per kilogram (kcal/kg). This measures how many Calories a food has per kilogram.

As with the real-life unit, the uppercase C specifies the larger unit that is 1000 times of the smaller calorie (cal). A cal is the same as the energy required to heat one gram of water by one degree Celsius (4.18 DTU or 4.18 real-life Joules), but again this has no in-game meaning.

Radiation

The amount of Radiation a Duplicant absorbed is measured in Rads.

The strength of a Radioactive Field is measured in Rads per cycle.

Further derived, and besides other sources, such as space, Radiation is created Radioactive Contaminants in an amount of 1 Rad per Cycle per 1000 Contaminants.

Molar Mass

Molar Mass is the ration between mass and it's amount of atomic substance given in g/mol. In Oxygen Not Included this number gives a sorting hierarchy with which gasses or liquids respectively layer themselves above one another.

Implied Quantities

Pressure

ONI does not handle Atmospheric Pressure as a separate unit. Instead, the mass of gases in a tile is given.

For those curious about a real-life equivalent, the only unknown needed is the volume of a tile. Using a cubic meter yields reasonable results, such as showing that the 1800g limit is about 5 atmospheric pressures of oxygen under "room" temperature, or about 1.5 atmospheric pressures of regular air (although gas mixtures are not simulated in the game).

Trivia

  • Watts per meter per degree Celcius ((W/m)/°C) was the unit of thermal conductivity before the thermal unit was changed from watts to DTU/s.
  • Heat power used to be measured in watts, but the units have changed to DTU/s. 1 watt is equal to 1 DTU/s.
  • The Kelvin temperature scale, like in real life, does not have a degree symbol (°) and is written with just the unit (K), unlike the Celsius (°C) and Fahrenheit (°F) scales.
  • The Units of Specific Heat Capacity and Thermal conductivity use Celsius (°C) and Fahrenheit (°F), even though both are computed with a difference between two Temperatures, which should only be done on an absolute scale like Kelvin (K) or it's equivalent Rankine (°Ra) which both are 0 at the Absolute Zero and have the same intervals as Celsius and Fahrenheit respectively.

See Also