NAVADMC / ADSM

A simulation of disease spread in livestock populations. Includes detection and containment simulation.
Other
10 stars 5 forks source link

Clarification on Daily_exposure output #881

Closed missyschoenbaum closed 6 years ago

missyschoenbaum commented 6 years ago

I may not be following the lingo here, so please correct me if needed.

I am comparing the output from the SQLite database to the supplemental files. I can make the infection count match up, but I cannot figure out the total exposures. First image is counts from database, last day only, "All" production types. Note I caputured the database connect to confirm I am looking at the same scenario across this question. 7_all_it_results

Next, I look at the supplemental files, with a filter on to show only exposures expdaily1 expdaily2

In Iteration 1, the database shows expcU as 16023, from the supplemental I am expecting 5007. In iteration 2 database shows 101036 and supplemental shows 32535.

Am I looking at the wrong things to compare?

ndh2 commented 6 years ago

@missyschoenbaum how do the counts break down by Direct, Indirect, and Air? I seem to recall there was something about how exposures by air were counted, maybe if Direct and Indirect match up as expected then we can look at Air.

missyschoenbaum commented 6 years ago

@ndh2 , you are correct. Dir and Ind match, but Air does not. Here are images, with Air first. expairconfirmoff

Then Dir and Ind match files expindconfirm expdirconfirm

ndh2 commented 6 years ago

I don't know if there's a record of the conversation anywhere, but I think I remember what happened. There was a question of what counts as an "exposure" for Airborne. The decision was that if you're within the circular area around an infection source, you count as exposed for that day. But that made the exposures table file too big because you were essentially outputting all the locations in a circle around all the infection sources, every day. So the exposures table only lists the airborne exposures that were adequate. That's why the number of airborne exposures you can count in the table file is less that expcUAir.

missyschoenbaum commented 6 years ago

@ndh2 Excellent, now we have documentation.