Fixed bug on frequency and duration on natural ventilation
This commit is contained in:
parent
987454928c
commit
9b13720062
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ class FormData:
|
|||
# Initializes a ventilation instance as a window if 'natural_ventilation' is selected, or as a HEPA-filter otherwise
|
||||
if self.ventilation_type == 'natural_ventilation':
|
||||
if self.window_opening_regime == 'windows_open_periodically':
|
||||
window_interval = models.PeriodicInterval(self.windows_frequency, self.windows_duration, min(self.infected_start, self.exposed_start))
|
||||
window_interval = models.PeriodicInterval(self.windows_frequency, self.windows_duration, min(self.infected_start, self.exposed_start)/60)
|
||||
else:
|
||||
window_interval = always_on
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue