Skip to content

Created a simple population class for the CO2 concentration model

Luis Aleixo requested to merge feature/generic_population_class into master

The generic class - __ConcentrationModelBase - calculates two different concentrations: the viral concentration and the CO2 concentration.

To calculate the CO2 concentration for a given scenario it is required a Population object in input, which requires a Mask and host_immunity parameters. In fact, the mask is not needed to calculate this concentration.

Therefore, this MR defines an even more general parent class for Population, that do not require any Mask (i.e. its inputs would only be number, presence and activity) or host_immunity. Therefore this is the one used in the CO2ConcentrationModel class.

Closes #296 (closed)

Merge request reports