mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Cleans up air alarm cooling, limits temp to TCMB
This commit is contained in:
@@ -152,8 +152,8 @@ What are the archived variables for?
|
||||
var/heat_capacity = heat_capacity()
|
||||
|
||||
temperature += thermal_energy/heat_capacity
|
||||
if (temperature < 0)
|
||||
temperature = 0
|
||||
if (temperature < TCMB)
|
||||
temperature = TCMB
|
||||
|
||||
return (temperature - old_temperature)*heat_capacity
|
||||
|
||||
|
||||
Reference in New Issue
Block a user