averbraeck / medlabs

Agent-Based Simulation for Disease Spread in Cities and Regions
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Offspring calculations #10

Closed averbraeck closed 2 months ago

averbraeck commented 3 months ago

Finalize the calculation of offspring per day per location / location type.

averbraeck commented 2 months ago

Offspring is calculated in the file offspringLocations.csv. The file now includes those who were in a location with, e.g., the Exposed or Infected disease status, but did not infect anyone.

Here are a number of lines that show the infections (and non-infections) in offspringLocations.csv:

86.49495022580578,282306,"SecondarySchoolStudent",16,"M","Infected-Symptomatic",140858,22,"SecondarySchool",1
86.53545455895717,210928,"UniversityStudent",57,"M","Infected-Symptomatic",140054,44,"University",0
86.53789244768244,307201,"Worker",23,"M","Infected-Symptomatic",106695,0,"Workplace",0
86.62414765230412,118774,"SecondarySchoolStudent",12,"M","Infected-Asymptomatic",139625,29,"SecondarySchool",3
86.684671389405,194396,"Worker",55,"M","Infected-Symptomatic",139678,0,"Recreation",0
86.68638466742267,527906,"PrimarySchoolStudent",6,"F","Infected-Symptomatic",142226,0,"PrimarySchool",4
86.73496338219118,373804,"Worker",32,"M","Infected-Asymptomatic",120839,0,"Workplace",0
86.75011846536088,218450,"Worker",35,"M","Infected-Asymptomatic",124674,0,"Workplace",1
86.7748969137938,228212,"Worker",53,"F","Exposed",42064,1,"Accommodation",0
averbraeck commented 2 months ago

Reporting as intended.