Physics - Niilo007/Stationeers-Research GitHub Wiki


Physics

Units

Symbol Unit Unit Symbol Quantity Definition
n Mole mol Chemical Amount
T Kelvin K Thermodynamic Temperature
Celsius Temperature
t Second s Time
Tick Physics Steps 0.5s
V Cubic Metre m Spatial Volume
Liter l Spatial Volume
P* Watt W Power J/Tick
E Joule J Energy
P* Pascal Pa Pressure
kiloPascal kPa Pressure Pa/1000

Constants

Symbol Value Name
R 8.3144 Ideal Gas Constant

Concepts

Room

Cell

  • Cells are 2m x 2m x 2m cubes.
    • This means they are 8000 liters in volume.
  • Rooms and the world are made from a grid of cells.
  • Each cell contains its own atmosphere, which interacts with its neighboring cells and object inside themselves.

Grids

  • Static structures follow a grid.

Large Grid

  • The large grid follows the grid of cells.
  • Frames snap to the large grid.
  • Walls are placed on the sides of the large grid cubes.
    • Walls separate two cells, and prevent them from interacting with each other.

Small Grid

  • The small grid is a grid that aligns with the large grid.
  • The small grid is 4 times smaller than the large grid.

Voxel

  • Voxels (volumetric pixels) are what the terrain is made from.
  • Voxels do not let gasses through them.

World

  • The world contains everything else.
  • The world is filled by the world atmosphere.

Slot

  • Slots are a fundamental concept to understand.

Network

  • Many things are composed of networks.

Pipe Network

  • A Pipe network is a single volume, with no flow inside itself.
  • They can be composed of pipes, or devices.
  • Two separate pipe networks connected by a device, will interact like cells.

Classical Physics


Partial Pressure

  • Partial pressure of a specific gas can be calculated like this: $Pp = P \times r_x$
    • Where:
      • $Pp$ = Partial pressure in kPa.
      • $P$ = Pressure in kPa.
      • $r_x$ = Ratio of some gas.

Thermodynamics


Ideal Gas Law

  • Cooling a gas decreases pressure, Heating increases pressure.
  • The same amount of gas will be at higher pressure in a smaller container.
  • Compressing a gas does not heat it up, nor does expanding it cool it down.
  • Amount(mol) = (Pressure(Pa) * Volume(m³)) / (Ideal Gas Constant * Temperature(K))
    • Ideal Gas Constant = 8.3144

$n = (P \times V) \div (R \times T) $

$n = \frac{P \times V}{R \times T}$


Thermal Energy

  • The total energy of an atmosphere can be calculated with this formula:
    $E = T \times C$
    • Where:
      • $E$ = Energy in Joules.
      • $T$ = Temperature in Kelvin.
      • $C$ = Total heat capacity in Joules / Kelvin.

Total Heat Capacity

  • The total heat capacity of an atmosphere.
    $C = C_{O2} + C_{N2} + C_{CO2}$
    • Where:
      • $C$ = Total heat capacity in Joules / Kelvin.
      • $C_{O2}$ = Total heat capacity of oxygen.
      • $C_{N2}$ = Total heat capacity of nitrogen.
      • $C_{CO2}$ = Total heat capacity of carbon dioxide.
    • Expand: $C = n_{O2} \times c_{O2} + n_{N2} \times c_{N2} + n_{CO2} \times c_{CO2}$
      • Where:
        • $C$ = Total heat capacity in Joules / Kelvin.
        • $c_{O2}$ = Specific heat capacity of oxygen.
        • $n_{O2}$ = moles of oxygen.
        • $c_{N2}$ = Specific heat capacity of nitrogen.
        • $n_{N2}$ = moles of nitrogen.
        • $c_{CO2}$ = Specific heat capacity of carbon dioxide.
        • $n_{CO2}$ = moles of carbon dioxide.

Thermal Convection

  • Thermal convection happens fastest above 101.325 kPa, but works at any pressure above 0.
  • Thermal convection power is linear with temperature Δ.
  • Show example graph:
    • Graph shows effects of temperature Δ and pressure on two different objects.

Convection power can be calculated with the following formula: E = thermalconvection * 50 * RATIOONEATMOSPHERECLAMPED(pressure1) * RATIOONEATMOSPHERECLAMPED(pressure2) * (temperature1 - temperature2)

$E = ThermalConvection \times 50 \times \min\bigl(\frac{P_1}{101.325},1\bigl) \times \min\bigl(\frac{P_2}{101.325},1\bigl) \times \Bigl(T_1 - T_2\Bigl)$

  • "Thermal Convection" is listed in the stationpedia and wiki page of items.
  • More details: E = CALCULATETHINGCONVECTION(convectionfactor, surfacearea, temperature1, temperature2, pressure1, pressure2)

    CALCULATETHINGCONVECTION = GETCONVECTIONHEAT(surfacearea * RATIOONEATMOSPHERECLAMPED(pressure1) * RATIOONEATMOSPHERECLAMPED(pressure2), (temperature1),(temperature2)) * 0.5 * 1 * convectionfactor

    $E = \Biggl( 100 \times A \times \min\bigl(\frac{P_1}{101.325},1\bigl) \times \min\bigl(\frac{P_2}{101.325},1\bigl) \times \Bigl(T_1 - T_2\Bigl) \Biggl) \times 0.5 \times convectionfactor$

    • "convectionfactor" is not the same value as "Thermal Convection".
      • convectionfactor * surfacearea = "Thermal Convection".
      • "Thermal Convection" is listed in the stationpedia and wiki page of items.

GETCONVECTIONHEAT GETCONVECTIONHEAT = 100 * surfacearea * (temperature1 - temperature2)

$100 \times A \times (T_1 - T_2)$

  • The value of surface area is not easily available.

RATIOONEATMOSPHERECLAMPED RATIOONEATMOSPHERECLAMPED = max(min(pressure / 101.325, 1), 0)

$max\Bigl(min(\frac{P}{101.325},1),0\Bigl)$


Thermal Radiation

  • Thermal radiation only happens in vacuums or very low pressures.
  • Thermal radiation is exponential.

Mechanics

Pressure Delta

  • Pressure Δ is the difference between two pressures.
    • For example the difference between the two sides of a wall.

$PΔ = |P_1 - P_2|$


Gravity

  • Different worlds have different gravitational fields.
  • Rooms have boosted gravity.

Fluid Mechanics


Electromagnetism


Acoustics

Sound

  • Sounds are less audible at lower pressure, and completely inaudible in a vacuum.
  • Structures can block or dampen sounds.
  • Sounds volume also weakens with distance.

Optics


⚠️ **GitHub.com Fallback** ⚠️