modified test values to consider min ventilation
This commit is contained in:
parent
8782069a9c
commit
830c0d0edb
2 changed files with 2 additions and 2 deletions
|
|
@ -1214,7 +1214,7 @@ class CO2ConcentrationModel(_ConcentrationModelBase):
|
|||
def removal_rate(self, time: float) -> _VectorisedFloat:
|
||||
# 0.25 is a minimal, always present source of ventilation, due
|
||||
# to the air infiltration from the outside.
|
||||
return self.ventilation.air_exchange(self.room, time) + 0.25
|
||||
return self.ventilation.air_exchange(self.room, time) + 1e-6
|
||||
|
||||
def min_background_concentration(self) -> _VectorisedFloat:
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ from caimira import models
|
|||
def simple_co2_conc_model():
|
||||
return models.CO2ConcentrationModel(
|
||||
room=models.Room(200, models.PiecewiseConstant((0., 24.), (293,))),
|
||||
ventilation=models.AirChange(models.PeriodicInterval(period=120, duration=120), 0.),
|
||||
ventilation=models.AirChange(models.PeriodicInterval(period=120, duration=120), 0.25-(1e-6)),
|
||||
CO2_emitters=models.Population(
|
||||
number=5,
|
||||
presence=models.SpecificInterval((([0., 4.], ))),
|
||||
|
|
|
|||
Loading…
Reference in a new issue