correction of initial value
This commit is contained in:
parent
9a9dd91835
commit
980a97c0cb
2 changed files with 9 additions and 1 deletions
|
|
@ -1432,7 +1432,7 @@ class ExposureModel:
|
|||
return (CO2_conc_limit * (1 - fac) + (co2_conc_at_last_state_change - 0.0004) * fac) + 0.0004
|
||||
|
||||
def CO2_concentration(self, time: float) -> _VectorisedFloat:
|
||||
return max(440, self._CO2_concentration(time) * 10**6)
|
||||
return self._CO2_concentration(time) * 10**6
|
||||
|
||||
def long_range_deposited_exposure_between_bounds(self, time1: float, time2: float) -> _VectorisedFloat:
|
||||
deposited_exposure = 0.
|
||||
|
|
|
|||
|
|
@ -86,6 +86,14 @@ activity_distributions = {
|
|||
}
|
||||
|
||||
|
||||
co2_activity = {
|
||||
'Sleep': mc.Activity(0.013, 0.013),
|
||||
'Resting': mc.Activity(0.02, 0.02),
|
||||
'Normal work': mc.Activity(LogNormal(0.08, 0.13), LogNormal(0.08, 0.13)),
|
||||
'Hard work': mc.Activity(LogNormal(0.33, 0.38), LogNormal(0.33, 0.38)),
|
||||
}
|
||||
|
||||
|
||||
# From https://doi.org/10.1101/2021.10.14.21264988 and references therein
|
||||
symptomatic_vl_frequencies = LogCustomKernel(
|
||||
np.array((2.46032, 2.67431, 2.85434, 3.06155, 3.25856, 3.47256, 3.66957, 3.85979, 4.09927, 4.27081,
|
||||
|
|
|
|||
Loading…
Reference in a new issue