InstituteforDiseaseModeling/emodpy-typhoid

Simulation using TyphoidDemographics template should not have individuals that are over 125 years old

Opened this issue · 1 comments

Tested with emod_typhoid-0.0.7.dev3.

Simulation:
https://comps2.idmod.org/#explore/Simulations?filters=Id=3d5b962a-0c96-ee11-92fe-f0921c167864&offset=0&count=100&selectedId=3d5b962a-0c96-ee11-92fe-f0921c167864

Please see the following csv in the Outputs tab for Individuals that are in age_bin=nan, which means age over 125 years old:
image

image

The demographics looks like:

{"AgeDistribution":{
  "NumDistributionAxes":0,
  "ResultUnits":"years",
  "ResultScaleFactor":365,
  "ResultValues":[0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,120],
  "DistributionValues":[0,0.1264,0.2502,0.3698,0.4808,0.5786,0.6615,0.7355,0.7981,0.8451,0.8803,0.9108,0.938,0.9594,0.9754,0.9868,0.994,0.9979,0.9995,0.9999,1,1]}}

We should not have individual with age over 100 years old in this configuration.

I think this may have been because we were using SIMPLE age initialization instead of COMPLEX and it was using the exponential distribution params. Which means we can close this.