added CO2 initial room concentration on the formula

This commit is contained in:
Luis Aleixo 2022-09-27 09:49:51 +02:00
parent fe9a593122
commit 2e5559d017

View file

@ -1429,7 +1429,7 @@ class ExposureModel:
delta_time = time - t_last_state_change
fac = np.exp(-IVRR * delta_time)
return co2_conc_limit * (1 - fac) + (co2_conc_at_last_state_change * fac)
return co2_conc_limit * (1 - fac) + ((co2_conc_at_last_state_change - 440.44e-6) * fac) + 440.44e-6
def CO2_concentration(self, time: float) -> _VectorisedFloat:
# Correction due to the number of generated points.