parameters.h Source File
|
CPP API
|
ode_secirts/parameters.h
Go to the documentation of this file.
748 StartDay<FP>, Seasonality<FP>, ICUCapacity<FP>, TestAndTraceCapacity<FP>, TestAndTraceCapacityMaxRiskNoSymptoms<FP>,
749 TestAndTraceCapacityMaxRiskSymptoms<FP>, ContactPatterns<FP>, DynamicNPIsInfectedSymptoms<FP>, TimeExposed<FP>,
750 TimeInfectedNoSymptoms<FP>, TimeInfectedSymptoms<FP>, TimeInfectedSevere<FP>, TimeInfectedCritical<FP>,
752 TimeTemporaryImmunityII<FP>, TransmissionProbabilityOnContact<FP>, RelativeTransmissionNoSymptoms<FP>,
753 RecoveredPerInfectedNoSymptoms<FP>, RiskOfInfectionFromSymptomatic<FP>, MaxRiskOfInfectionFromSymptomatic<FP>,
757 DailyBoosterVaccinations<FP>, ReducExposedPartialImmunity<FP>, ReducExposedImprovedImmunity<FP>,
759 ReducInfectedSevereCriticalDeadPartialImmunity<FP>, ReducInfectedSevereCriticalDeadImprovedImmunity<FP>,
848 if (this->template get<Seasonality<FP>>() < 0.0 || this->template get<Seasonality<FP>>() > 0.5) {
870 log_warning("Constraint check: Parameter TestAndTraceCapacityMaxRiskSymptoms changed from {} to {}",
877 log_warning("Constraint check: Parameter TestAndTraceCapacityMaxRiskNoSymptoms changed from {} to {}",
940 log_warning("Constraint check: Parameter TimeTemporaryImmunityPI changed from {} to {}. Please "
949 log_warning("Constraint check: Parameter TimeTemporaryImmunityII changed from {} to {}. Please "
958 log_warning("Constraint check: Parameter TimeWaningPartialImmunity changed from {} to {}. Please "
967 log_warning("Constraint check: Parameter TimeWaningImprovedImmunity changed from {} to {}. Please "
977 log_warning("Constraint check: Parameter TransmissionProbabilityOnContact changed from {} to {} ",
984 log_warning("Constraint check: Parameter RelativeTransmissionNoSymptoms changed from {} to {} ",
992 log_warning("Constraint check: Parameter RecoveredPerInfectedNoSymptoms changed from {} to {} ",
1000 log_warning("Constraint check: Parameter RiskOfInfectionFromSymptomatic changed from {} to {}",
1038 log_warning("Constraint check: Parameter DaysUntilEffectiveImprovedVaccination changed from {} to {}",
1045 log_warning("Constraint check: Parameter DaysUntilEffectiveBoosterImmunity changed from {} to {}",
1067 log_warning("Constraint check: Parameter ReducInfectedSymptomsPartialImmunity changed from {} to {}",
1074 log_warning("Constraint check: Parameter ReducInfectedSymptomsImprovedImmunity changed from {} to {}",
1081 log_warning("Constraint check: Parameter ReducInfectedSevereCriticalDeadPartialImmunity changed from "
1089 log_warning("Constraint check: Parameter ReducInfectedSevereCriticalDeadImprovedImmunity changed from "
1120 if (this->template get<Seasonality<FP>>() < 0.0 || this->template get<Seasonality<FP>>() > 0.5) {
1226 log_error("Constraint check: Parameter TransmissionProbabilityOnContact smaller {} or larger {}", 0, 1);
1237 log_error("Constraint check: Parameter RecoveredPerInfectedNoSymptoms smaller {} or larger {}", 0, 1);
1243 log_error("Constraint check: Parameter RiskOfInfectionFromSymptomatic smaller {} or larger {}", 0, 1);
1249 log_error("Constraint check: Parameter SeverePerInfectedSymptoms smaller {} or larger {}", 0, 1);
1282 log_error("Constraint check: Parameter ReducExposedPartialImmunity smaller {} or larger {}", 0, 1);
1287 log_error("Constraint check: Parameter ReducExposedImprovedImmunity smaller {} or larger {}", 0, 1);
1292 log_error("Constraint check: Parameter ReducInfectedSymptomsPartialImmunity smaller {} or larger {}", 0,
1298 log_error("Constraint check: Parameter ReducInfectedSymptomsImprovedImmunity smaller {} or larger {}",
1304 log_error("Constraint check: Parameter ReducInfectedSevereCriticalDeadPartialImmunity smaller {} or "
1311 log_error("Constraint check: Parameter ReducInfectedSevereCriticalDeadImprovedImmunity smaller {} or "
A class template for an array with custom indices.
Definition: custom_index_array.h:136
represents non-pharmaceutical interventions (NPI) that are activated during the simulation if some va...
Definition: dynamic_npis.h:35
const ParameterTagTraits< Tag >::Type & get() const
get value of a parameter
Definition: parameter_set.h:262
Represents the simulation time as an integer index.
Definition: simulation_day.h:32
The UncertainContactMatrix class consists of a ContactMatrix with fixed baseline and uncertain Dampin...
Definition: uncertain_matrix.h:43
Parameters of the age-resolved SECIRS-type model with high temporary immunity upon immunization and w...
Definition: ode_secirts/parameters.h:769
static IOResult< Parameters > deserialize(IOContext &io)
deserialize an object of this class.
Definition: ode_secirts/parameters.h:1342
FP & get_end_commuter_detection()
Time in simulation after which no infected commuters are detected.
Definition: ode_secirts/parameters.h:810
FP get_end_dynamic_npis() const
Definition: ode_secirts/parameters.h:827
Parameters(AgeGroup num_agegroups)
Definition: ode_secirts/parameters.h:771
FP & get_end_dynamic_npis()
Time in simulation after which no dynamic NPIs are applied.
Definition: ode_secirts/parameters.h:823
FP m_start_commuter_detection
Definition: ode_secirts/parameters.h:1351
Parameters(ParametersBase< FP > &&base)
Definition: ode_secirts/parameters.h:1330
FP m_end_commuter_detection
Definition: ode_secirts/parameters.h:1352
FP m_commuter_nondetection
Definition: ode_secirts/parameters.h:1350
FP get_end_commuter_detection() const
Definition: ode_secirts/parameters.h:815
AgeGroup get_num_groups() const
Definition: ode_secirts/parameters.h:777
bool apply_constraints()
Checks whether all Parameters satisfy their corresponding constraints and applies them,...
Definition: ode_secirts/parameters.h:845
FP & get_start_commuter_detection()
Time in simulation before which no infected commuters are detected.
Definition: ode_secirts/parameters.h:797
bool check_constraints() const
Checks whether all Parameters satisfy their corresponding constraints and logs an error if constraint...
Definition: ode_secirts/parameters.h:1117
FP get_commuter_nondetection() const
Definition: ode_secirts/parameters.h:789
AgeGroup m_num_groups
Definition: ode_secirts/parameters.h:1349
FP get_start_commuter_detection() const
Definition: ode_secirts/parameters.h:802
FP m_end_dynamic_npis
Definition: ode_secirts/parameters.h:1353
FP & get_commuter_nondetection()
Percentage of infected commuters that are not detected.
Definition: ode_secirts/parameters.h:785
static min_max_return_type< ad::internal::active_type< AD_TAPE_REAL, DATA_HANDLER_1 >, ad::internal::active_type< AD_TAPE_REAL, DATA_HANDLER_1 > >::type max(const ad::internal::active_type< AD_TAPE_REAL, DATA_HANDLER_1 > &a, const ad::internal::active_type< AD_TAPE_REAL, DATA_HANDLER_1 > &b)
Definition: ad.hpp:2596
int size(Comm comm)
Return the size of the given communicator.
Definition: miompi.cpp:75
A collection of classes to simplify handling of matrix shapes in meta programming.
Definition: models/abm/analyze_result.h:30
void log_warning(spdlog::string_view_t fmt, const Args &... args)
Definition: logging.h:112
auto success()
Create an object that is implicitly convertible to a succesful IOResult<void>.
Definition: io.h:359
void log_error(spdlog::string_view_t fmt, const Args &... args)
Definition: logging.h:100
boost::outcome_v2::unchecked< T, IOStatus > IOResult
Value-or-error type for operations that return a value but can fail.
Definition: io.h:353
Definition: io.h:94
The AgeGroup struct is used as a dynamically sized tag for all age dependent categories.
Definition: age_group.h:32
The contact patterns within the society are modelled using an UncertainContactMatrix.
Definition: ode_secirts/parameters.h:168
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:170
UncertainContactMatrix< FP > Type
Definition: ode_secirts/parameters.h:169
static std::string name()
Definition: ode_secirts/parameters.h:174
The percentage of ICU patients per hospitalized patients in the SECIRTS model.
Definition: ode_secirts/parameters.h:462
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:463
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:464
static std::string name()
Definition: ode_secirts/parameters.h:468
Total number of booster vaccinations up to the given day.
Definition: ode_secirts/parameters.h:581
CustomIndexArray< FP, AgeGroup, SimulationDay > Type
Definition: ode_secirts/parameters.h:582
static std::string name()
Definition: ode_secirts/parameters.h:587
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:583
Total number of full vaccinations up to the given day.
Definition: ode_secirts/parameters.h:564
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:566
static std::string name()
Definition: ode_secirts/parameters.h:570
CustomIndexArray< FP, AgeGroup, SimulationDay > Type
Definition: ode_secirts/parameters.h:565
Total number of first vaccinations up to the given day.
Definition: ode_secirts/parameters.h:547
static std::string name()
Definition: ode_secirts/parameters.h:553
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:549
CustomIndexArray< FP, AgeGroup, SimulationDay > Type
Definition: ode_secirts/parameters.h:548
Time in days until booster vaccine dose takes full effect.
Definition: ode_secirts/parameters.h:530
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:531
static std::string name()
Definition: ode_secirts/parameters.h:536
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:532
Time in days until second vaccine dose takes full effect.
Definition: ode_secirts/parameters.h:513
static std::string name()
Definition: ode_secirts/parameters.h:519
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:515
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:514
Time in days until first vaccine dose takes full effect.
Definition: ode_secirts/parameters.h:496
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:498
static std::string name()
Definition: ode_secirts/parameters.h:502
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:497
The percentage of dead patients per ICU patients in the SECIRTS model.
Definition: ode_secirts/parameters.h:479
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:481
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:480
static std::string name()
Definition: ode_secirts/parameters.h:485
The delay with which DynamicNPIs are implemented and enforced after exceedance of threshold.
Definition: ode_secirts/parameters.h:734
static Type get_default(AgeGroup)
Definition: ode_secirts/parameters.h:736
static std::string name()
Definition: ode_secirts/parameters.h:740
UncertainValue< FP > Type
Definition: ode_secirts/parameters.h:735
The NPIs that are enacted if certain infection thresholds are exceeded.
Definition: ode_secirts/parameters.h:185
static std::string name()
Definition: ode_secirts/parameters.h:191
static Type get_default(AgeGroup)
Definition: ode_secirts/parameters.h:187
Represents the icu capacity in the SECIRTS model.
Definition: ode_secirts/parameters.h:102
static Type get_default(AgeGroup)
Definition: ode_secirts/parameters.h:104
Represents the relative infectiousness of a new variant.
Definition: ode_secirts/parameters.h:718
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:720
static std::string name()
Definition: ode_secirts/parameters.h:724
CustomIndexArray< FP, AgeGroup > Type
Definition: ode_secirts/parameters.h:719
Risk of infection from symptomatic cases increases if test and trace capacity is exceeded.
Definition: ode_secirts/parameters.h:428
static std::string name()
Definition: ode_secirts/parameters.h:434
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:430
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:429
The percentage of asymptomatic cases in the SECIRTS model.
Definition: ode_secirts/parameters.h:394
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:395
static std::string name()
Definition: ode_secirts/parameters.h:400
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:396
Factor to reduce infection risk for persons with improved immunity.
Definition: ode_secirts/parameters.h:615
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:616
static std::string name()
Definition: ode_secirts/parameters.h:621
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:617
Factor to reduce infection risk for persons with partial immunity.
Definition: ode_secirts/parameters.h:598
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:600
static std::string name()
Definition: ode_secirts/parameters.h:604
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:599
Factor to reduce risk of hospitalization for persons with improved immunity.
Definition: ode_secirts/parameters.h:684
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:686
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:685
static std::string name()
Definition: ode_secirts/parameters.h:690
Factor to reduce risk of hospitalization for persons with partial immunity.
Definition: ode_secirts/parameters.h:667
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:668
static std::string name()
Definition: ode_secirts/parameters.h:673
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:669
Factor to reduce risk of developing symptoms for persons with improved immunity.
Definition: ode_secirts/parameters.h:649
static std::string name()
Definition: ode_secirts/parameters.h:655
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:651
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:650
Factor to reduce risk of developing symptoms for persons with partial immunity.
Definition: ode_secirts/parameters.h:632
static std::string name()
Definition: ode_secirts/parameters.h:638
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:634
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:633
Factor to reduce infectious time of persons with partial or improved immunity.
Definition: ode_secirts/parameters.h:701
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:702
static std::string name()
Definition: ode_secirts/parameters.h:707
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:703
The relative infectability from individuals located in the InfectedNoSymptoms infection state.
Definition: ode_secirts/parameters.h:377
static std::string name()
Definition: ode_secirts/parameters.h:383
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:379
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:378
The risk of infection from symptomatic cases in the SECIRTS model.
Definition: ode_secirts/parameters.h:411
static std::string name()
Definition: ode_secirts/parameters.h:417
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:413
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:412
The seasonality in the SECIRTS-type model.
Definition: ode_secirts/parameters.h:85
static Type get_default(AgeGroup)
Definition: ode_secirts/parameters.h:87
The percentage of hospitalized patients per infected patients in the SECIRTS model.
Definition: ode_secirts/parameters.h:445
static std::string name()
Definition: ode_secirts/parameters.h:451
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:447
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:446
The start day of a new variant in the SECIRTS-type model.
Definition: ode_secirts/parameters.h:66
static std::string name()
Definition: ode_secirts/parameters.h:72
static Type get_default(AgeGroup)
Definition: ode_secirts/parameters.h:68
The start day in the SECIRTS-type model.
Definition: ode_secirts/parameters.h:47
static Type get_default(AgeGroup)
Definition: ode_secirts/parameters.h:49
Multiplier for the test and trace capacity to determine when it is considered overloaded from cases w...
Definition: ode_secirts/parameters.h:135
static Type get_default(AgeGroup)
Definition: ode_secirts/parameters.h:137
static std::string name()
Definition: ode_secirts/parameters.h:141
UncertainValue< FP > Type
Definition: ode_secirts/parameters.h:136
Multiplier for the test and trace capacity to determine when it is considered overloaded by symptomat...
Definition: ode_secirts/parameters.h:151
static Type get_default(AgeGroup)
Definition: ode_secirts/parameters.h:153
UncertainValue< FP > Type
Definition: ode_secirts/parameters.h:152
static std::string name()
Definition: ode_secirts/parameters.h:157
The Capacity to test and trace contacts of infected for quarantine per day.
Definition: ode_secirts/parameters.h:119
UncertainValue< FP > Type
Definition: ode_secirts/parameters.h:120
static std::string name()
Definition: ode_secirts/parameters.h:125
static Type get_default(AgeGroup)
Definition: ode_secirts/parameters.h:121
Represents the mean latent time in days for different age groups.
Definition: ode_secirts/parameters.h:202
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:203
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:204
The time people are treated by ICU before returning home in the SECIRTS model in day unit.
Definition: ode_secirts/parameters.h:274
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:275
static std::string name()
Definition: ode_secirts/parameters.h:280
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:276
The (mean) time in day unit for asymptomatic cases that are infected but have not yet developed sympt...
Definition: ode_secirts/parameters.h:220
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:222
static std::string name()
Definition: ode_secirts/parameters.h:226
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:221
The time people are 'simply' hospitalized before returning home in the SECIRTS model in day unit.
Definition: ode_secirts/parameters.h:256
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:257
static std::string name()
Definition: ode_secirts/parameters.h:262
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:258
The infectious time for symptomatic cases that are infected but who do not need to be hospitalized in...
Definition: ode_secirts/parameters.h:238
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:239
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:240
static std::string name()
Definition: ode_secirts/parameters.h:244
The time people stays immune after infection or vaccination located in the partial or improved immuni...
Definition: ode_secirts/parameters.h:344
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:345
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:346
static std::string name()
Definition: ode_secirts/parameters.h:350
The time people stays immune after infection or vaccination located in naive immunity layer in day un...
Definition: ode_secirts/parameters.h:326
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:327
static std::string name()
Definition: ode_secirts/parameters.h:332
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:328
Time in days to describe waning immunity to get susceptible from improved to partial immunity layer.
Definition: ode_secirts/parameters.h:308
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:310
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:309
static std::string name()
Definition: ode_secirts/parameters.h:314
Time in days to describe waning immunity to get susceptible from partial to naive immunity layer.
Definition: ode_secirts/parameters.h:291
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:293
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:292
static std::string name()
Definition: ode_secirts/parameters.h:297
The probability of getting infected from a single contact.
Definition: ode_secirts/parameters.h:360
static Type get_default(AgeGroup size)
Definition: ode_secirts/parameters.h:362
static std::string name()
Definition: ode_secirts/parameters.h:366
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secirts/parameters.h:361
Generated by