Commit graph

52 commits

Author SHA1 Message Date
Luis Aleixo
bcb1d1012a modified dynamic tests for InfectedPopulation 2023-04-28 08:54:59 +02:00
Nicolas Mounet
fe19cb5976 Change all normalization factors and emission rates (when present) into 'per person' quantities (i.e. do not normalize anymore by the number of infected people) - to allow dynamic number of infected people. Changing the test accordingly, and the documentation. Adding a __post_init__ check in ExposureModel to forbid the use of dynamic number of exposed people, for now. 2023-04-28 08:54:59 +02:00
Luis Aleixo
801955317f added verifications for unexpected jumps 2023-04-28 08:54:58 +02:00
Luis Aleixo
70f7e86524 test for dynamic occupants 2023-04-28 08:54:58 +02:00
Luis Aleixo
fe7cbf45b7 added expert apps validation for presence times 2023-04-28 08:54:58 +02:00
Luis Aleixo
ee29f12f35 updated typos and got back the state tests 2023-03-23 11:37:48 +01:00
Luis Aleixo
830c0d0edb modified test values to consider min ventilation 2023-03-23 11:35:40 +01:00
Luis Aleixo
8782069a9c added services and fixed ventilation 2023-03-23 11:35:40 +01:00
Luis Aleixo
4a965edde6 fixed mypy errors 2023-03-23 11:35:39 +01:00
Luis Aleixo
11be1abf8e initial tests for CO2_expert 2023-03-23 11:35:39 +01:00
Luis Aleixo
eed3629dd5 handled the case when the removal rate is 0 and changed documentation 2023-01-27 16:47:39 +01:00
Luis Aleixo
e59d4b3d59 updated background_concentration name to min_background_concentration 2023-01-11 13:54:05 +01:00
Luis Aleixo
2043f34b69 updated atmospheric concentration to background concentration (more generic) 2023-01-10 13:06:02 +01:00
Luis Aleixo
1e0d0a8de2 updated documentation and added tests for the integrated concentration 2023-01-10 09:51:44 +01:00
Nicolas Mounet
2a481c1500 Correcting bug in models._ConcentrationModelBase (wrong value of concentration_limit when no one is present, for non-zero atmospheric concentration) 2023-01-10 09:51:44 +01:00
Luis Aleixo
dc12ee3359 Initial atmosphere_concentration normalized 2023-01-10 09:51:44 +01:00
Nicolas Mounet
266a3727e8 Changing structure of CO2 concentration model. Renaming one input of ConcentrationModel (infected->population) since it is now inherited from _ConcentrationModelBase, which requires subsequent changes in the apps. 2023-01-10 09:51:44 +01:00
Luis Aleixo
17644f3259 added percentage of BR for CO2 as input parameter 2023-01-10 09:51:44 +01:00
Luis Aleixo
a7a9ca43da Removed co2 activities and adapted formula 2023-01-10 09:51:43 +01:00
Luis Aleixo
2e5559d017 added CO2 initial room concentration on the formula 2023-01-10 09:51:43 +01:00
Luis Aleixo
fe9a593122 adapted co2 formula to have an initial state 2023-01-10 09:51:43 +01:00
Luis Aleixo
35e64674a4 added initial state change 2023-01-10 09:51:43 +01:00
Luis Aleixo
980a97c0cb correction of initial value 2023-01-10 09:51:43 +01:00
Luis Aleixo
9a9dd91835 added co2 concentration time 2023-01-10 09:51:43 +01:00
Luis Aleixo
b04ebcfaf6 fixed numpy update error 2023-01-10 09:45:08 +01:00
Luis Aleixo
37d699d483 updated GitLab repository URL 2022-12-15 14:30:11 +00:00
Luis Aleixo
e35edeab44 updated exh_coef variable name 2022-11-09 11:13:27 +01:00
Luis Aleixo
599603126f Updated methods docstrings 2022-11-08 17:40:25 +01:00
Luis Aleixo
230f1cedff Adapted dilution factor formula with exhalation coefficient 2022-11-08 17:40:25 +01:00
Andre Henriques
b958ff634d Merge branch 'feature/post_init_diameter_validation' into 'master'
Check for the diameter type

See merge request cara/caimira!382
2022-11-04 17:56:47 +01:00
Luis Aleixo
a898e72bd5 Q0φ with instead of BR directly 2022-11-02 15:40:40 +01:00
Luis Aleixo
44f016bb16 updated message errors and added room volume vectorisation test when as a ventilation parameter 2022-11-02 14:57:43 +01:00
Luis Aleixo
a32c4f1ae3 update to documentation on dilution factor 2022-10-28 12:17:12 +02:00
Luis Aleixo
ecf99b34cc Updated tests and model post_init method 2022-10-20 14:19:49 +02:00
Luis Aleixo
24ef358571 adapted post_init method for diameter-independent elements of the IVRR 2022-10-19 17:55:18 +02:00
Luis Aleixo
3314d0146c Updated the ExposureModule conditions on post_init 2022-10-18 15:35:35 +02:00
Luis Aleixo
f7bce0ef24 added verification for diameter independent parameters 2022-10-18 15:35:35 +02:00
Luis Aleixo
beea8a800b updated inhalation and exhalation values 2022-10-11 10:39:21 +02:00
Luis Aleixo
3ea0d83e21 Added cloth mask to backend 2022-10-10 14:13:31 +02:00
Luis Aleixo
12b7b57593 moved default infectiousness_days value to SARSCoV2 class and added another test scenario 2022-10-10 11:15:05 +02:00
Luis Aleixo
a91ef8f953 updated short range message for P(I) one infected 2022-10-07 09:25:04 +02:00
Luis Aleixo
52615b1cfb updated based on test excel results 2022-10-07 09:03:24 +02:00
Luis Aleixo
f7b63decc3 Modified total probability rule formula 2022-10-05 17:36:07 +02:00
Luis Aleixo
7a9401a6fa added number of incubation days as property of the virus and adapted tests 2022-10-05 15:10:50 +02:00
Luis Aleixo
9032a8815d changed variable name in report_generator and added a retry decorator in test 2022-10-04 17:31:17 +02:00
Luis Aleixo
a61b88ce1b Changed variable names 2022-10-04 11:47:25 +02:00
Luis Aleixo
5b578c15ef backend model changes 2022-10-03 14:42:44 +01:00
Luis Aleixo
810c3384e4 handled mypy newer release errors 2022-09-28 11:36:38 +02:00
Luis Aleixo
84b7377dff Maintained group name (cara) 2022-09-15 16:41:10 +02:00
Luis Aleixo
6c541952ee updated GitLab project URL 2022-09-15 11:12:34 +02:00