Open glwagner opened 4 years ago
Maybe there is a simpler way, but I used the following code for the Health Service
:
health_service = HealthService(patient_capacity = int(0.05 * len(contact_network)), health_worker_population = len(node_identifiers['health_workers']), static_population_network = contact_network)
Does it work to just use numbers, eg health_worker_population = 20
? This is nice, because it shows how to change the number to change the behavior of the program.
The number of health workers should be set by "node identifiers". Health workers have degree distribution that is different from other individuals in the network. This is why we need "node identifiers".
Health workers have degree distribution
I didn't know this... I thought they were like any other node, except they had a certain age group restriction. How is their degree distribution different - surely health workers are people like everyone else? (bearing in mind the HealthService
does all of the rewiring online)
why do health workers have a different degree distribution than other individuals?
Health workers are recruited here:
Can we also prescribe the degree distribution of health workers here?
Please have a look at the Overleaf document. We use a scale-free degree distribution for the city and an Erdos--Renyi degree distribution for the two remaining groups. It was chosen like that to better match empirical observations.
How are the health workers connected to the city?
How are the health workers connected to the city?
The connection between health workers and city is described by a scale-free degree correction. It's contained in the edge lists that I generated.
The
HealthService
may be component even in the absence ofnode_identifier_helper.py
.@odunbar @lubo93