Replacing WindowOpening by Sliding Window in expert app

This commit is contained in:
Nicolas Mounet 2020-12-01 15:33:48 +01:00
parent faac4c2893
commit 04980cc41b

View file

@ -454,11 +454,11 @@ class ModelWidgets(View):
baseline_model = models.ExposureModel(
concentration_model=models.ConcentrationModel(
room=models.Room(volume=75),
ventilation=models.WindowOpening(
ventilation=models.SlidingWindow(
active=models.PeriodicInterval(period=120, duration=15),
inside_temp=models.PiecewiseConstant((0,24),(293.15,)),
outside_temp=models.PiecewiseConstant((0,24),(283.15,)),
discharge_coefficient=0.6, window_height=1.6, opening_length=0.6,
window_height=1.6, opening_length=0.6,
),
infected=models.InfectedPopulation(
number=1,