added some value inits and unit labels

This commit is contained in:
Mikayla Fischler
2024-04-30 18:54:01 -04:00
parent eb45ff899b
commit f621ff2482
3 changed files with 4 additions and 2 deletions

View File

@@ -343,7 +343,9 @@ function facility.new(config, cooling_conf)
self.avg_charge.reset(energy)
self.avg_inflow.reset(input)
self.avg_outflow.reset(output)
self.avg_net.reset()
self.imtx_last_capacity = db.build.max_energy
self.imtx_last_charge = energy
self.imtx_last_charge_t = charge_update
end