Skip to content

Commit 0224a46

Browse files
edited params
1 parent 9a64821 commit 0224a46

File tree

1 file changed

+16
-30
lines changed

1 file changed

+16
-30
lines changed

src/scripts/calibration_analyses/scenarios/long_run_all_diseases.py

+16-30
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,14 @@
1313
from tlo import Date, logging
1414
from tlo.analysis.utils import get_parameters_for_status_quo
1515
from tlo.methods import (
16-
care_of_women_during_pregnancy,
17-
contraception,
16+
chronicsyndrome,
1817
demography,
19-
depression,
2018
enhanced_lifestyle,
21-
epi,
22-
healthburden,
2319
healthseekingbehaviour,
2420
healthsystem,
25-
hiv,
26-
labour,
27-
malaria,
28-
newborn_outcomes,
29-
postnatal_supervisor,
30-
pregnancy_helper_functions,
31-
pregnancy_supervisor,
21+
mockitis,
22+
simplified_births,
3223
symptommanager,
33-
tb,
3424
)
3525
from tlo.scenario import BaseScenario
3626

@@ -39,9 +29,9 @@ class LongRun(BaseScenario):
3929
def __init__(self):
4030
super().__init__()
4131
self.seed = 0
42-
self.start_date = Date(2010, 1, 1)
43-
self.end_date = Date(2031, 1, 1) # The simulation will stop before reaching this date.
44-
self.pop_size = 20_000
32+
self.start_date = Date(2026, 1, 1)
33+
self.end_date = Date(2026, 1, 12) # The simulation will stop before reaching this date.
34+
self.pop_size = 5000
4535
self.number_of_draws = 1
4636
self.runs_per_draw = 1
4737

@@ -62,21 +52,17 @@ def log_configuration(self):
6252

6353
def modules(self):
6454
return [demography.Demography(resourcefilepath=resourcefilepath),
65-
contraception.Contraception(resourcefilepath=resourcefilepath),
66-
enhanced_lifestyle.Lifestyle(resourcefilepath=resourcefilepath),
67-
healthburden.HealthBurden(resourcefilepath=resourcefilepath),
68-
healthsystem.HealthSystem(resourcefilepath=resourcefilepath,
69-
service_availability=['*'],
70-
cons_availability='all'), # went set disable=true, cant check HSI queue,
71-
newborn_outcomes.NewbornOutcomes(resourcefilepath=resourcefilepath),
72-
pregnancy_supervisor.PregnancySupervisor(resourcefilepath=resourcefilepath),
73-
care_of_women_during_pregnancy.CareOfWomenDuringPregnancy(resourcefilepath=resourcefilepath),
74-
symptommanager.SymptomManager(resourcefilepath=resourcefilepath),
75-
labour.Labour(resourcefilepath=resourcefilepath),
76-
postnatal_supervisor.PostnatalSupervisor(resourcefilepath=resourcefilepath),
77-
healthseekingbehaviour.HealthSeekingBehaviour(resourcefilepath=resourcefilepath),
55+
enhanced_lifestyle.Lifestyle(resourcefilepath=resourcefilepath),
7856

79-
hiv.DummyHivModule()]
57+
healthsystem.HealthSystem(resourcefilepath=resourcefilepath,
58+
climate_ssp = 'ssp585',
59+
climate_model_ensemble_model='mean',
60+
services_affected_precip = 'none'),
61+
symptommanager.SymptomManager(resourcefilepath=resourcefilepath),
62+
healthseekingbehaviour.HealthSeekingBehaviour(resourcefilepath=resourcefilepath),
63+
mockitis.Mockitis(),
64+
chronicsyndrome.ChronicSyndrome(),
65+
simplified_births.SimplifiedBirths(resourcefilepath=resourcefilepath),]
8066

8167
def draw_parameters(self, draw_number, rng):
8268
return get_parameters_for_status_quo()

0 commit comments

Comments
 (0)