Skip to content

Monte-Carlo in calculator

This is putting the new Monte-Carlo model into the calculator.

Some optimization of the caching were performed to gain efficiency - with large arrays, too much caching is not beneficial, so it has to be restricted to the bare minimum (essentially, the computation of the aerosols and that of the concentration at state changes). Still, the calculator is somewhat slower in the case of natural ventilation, because of the number of time intervals related to the temperature time-dependence. The sample size was thus reduced to 50000 (still 5% accuracy for the common cases in test_monte_carlo_full_models.py), and the number of points per hour to 4 (instead of 10). The smoothness of the concentration curve is slightly affected.

0.25 ACH is now added to any ventilation scheme chosen in the calculator (from air infiltration through the building).

User guide and About page also updated.

Solves some tasks in #164 (closed)

Closes #147 (closed)

Edited by Andre Henriques

Merge request reports