13
13
from tlo import Date , logging
14
14
from tlo .analysis .utils import get_parameters_for_status_quo
15
15
from tlo .methods import (
16
- care_of_women_during_pregnancy ,
17
- contraception ,
16
+ chronicsyndrome ,
18
17
demography ,
19
- depression ,
20
18
enhanced_lifestyle ,
21
- epi ,
22
- healthburden ,
23
19
healthseekingbehaviour ,
24
20
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 ,
32
23
symptommanager ,
33
- tb ,
34
24
)
35
25
from tlo .scenario import BaseScenario
36
26
@@ -39,9 +29,9 @@ class LongRun(BaseScenario):
39
29
def __init__ (self ):
40
30
super ().__init__ ()
41
31
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
45
35
self .number_of_draws = 1
46
36
self .runs_per_draw = 1
47
37
@@ -62,21 +52,17 @@ def log_configuration(self):
62
52
63
53
def modules (self ):
64
54
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 ),
78
56
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 ),]
80
66
81
67
def draw_parameters (self , draw_number , rng ):
82
68
return get_parameters_for_status_quo ()
0 commit comments