mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
AND MULTIPLY IT.... BY 3! (#36435)
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
//Calculate necessary moles to transfer using PV = nRT.
|
||||
recent_moles_transferred = (last_pressure_delta * air2.volume / (air1.temperature * R_IDEAL_GAS_EQUATION)) //Uses the volume of the whole network, not just itself.
|
||||
volume_capacity_used = min((last_pressure_delta * air1.volume / 3) / (input_starting_pressure * air1.volume), 1) //How much of the gas in the input air volume is consumed.
|
||||
volume_capacity_used = min(last_pressure_delta * air1.volume / (input_starting_pressure * air1.volume), 1) //How much of the gas in the input air volume is consumed.
|
||||
|
||||
//Calculate energy generated from kinetic turbine.
|
||||
//Most of the below are constants. Instead, think of it as 0.051702*air1.volume*min(pressure difference, starting pressure)
|
||||
|
||||
Reference in New Issue
Block a user