{
"id": "seirhd-stockflow",
"header": {
"name": "SEIRHD Model",
"schema": "https://raw.githubusercontent.com/DARPA-ASKEM/Model-Representations/stockflow_v0.1/stockflow/stockflow_schema.json",
"description": "SEIRHD model",
"schema_name": "stockflow",
"model_version": "0.1"
},
"model": {
"flows": [
{
"id": "flow1",
"name": "NewExposed",
"upstream_stock": "S",
"downstream_stock": "E",
"rate_expression": "cbeta * S * I / N",
"rate_expression_mathml": "IScbetaN"
},
{
"id": "flow2",
"name": "NewInfected",
"upstream_stock": "E",
"downstream_stock": "I",
"rate_expression": "E*cdelta",
"rate_expression_mathml": "Ecdelta"
},
{
"id": "flow3",
"name": "NewHosp",
"upstream_stock": "I",
"downstream_stock": "H",
"rate_expression": "I*cgamma*hosp",
"rate_expression_mathml": "Icgammahosp"
},
{
"id": "flow4",
"name": "NewRecovery",
"upstream_stock": "I",
"downstream_stock": "R",
"rate_expression": "I*cgamma*(1 - hosp)",
"rate_expression_mathml": "Icgamma1hosp"
},
{
"id": "flow5",
"name": "NewRecoveryFromHosp",
"upstream_stock": "H",
"downstream_stock": "R",
"rate_expression": "(1 - death) * H / los",
"rate_expression_mathml": " 1deathHlos"
},
{
"id": "flow6",
"name": "NewDeath",
"upstream_stock": "H",
"downstream_stock": "D",
"rate_expression": "death * H / los",
"rate_expression_mathml": "deathHlos"
}
],
"stocks": [
{
"id": "S",
"name": "Susceptible",
"grounding": {
"identifiers": {
"ido": "0000514"
}
}
},
{
"id": "E",
"name": "Exposed"
},
{
"id": "I",
"name": "Infected"
},
{
"id": "R",
"name": "Recovered"
},
{
"id": "H",
"name": "Hospitalized"
},
{
"id": "D",
"name": "Deceased"
}
],
"auxiliaries": [
{
"id": "cbeta",
"name": "cbeta",
"expression": "1.0 * p_cbeta",
"expression_mathml": "1.0p_cbeta"
},
{
"id": "cdelta",
"name": "cdelta",
"expression": "1.0 * p_cdelta",
"expression_mathml": "1.0p_cdelta"
},
{
"id": "N",
"name": "N",
"expression": "1.0 * p_N",
"expression_mathml": "1.0p_N"
},
{
"id": "death",
"name": "death",
"expression": "1.0 * p_death",
"expression_mathml": "1.0p_death"
},
{
"id": "hosp",
"name": "hosp",
"expression": "1.0 * p_hosp",
"expression_mathml": "1.0p_hosp"
},
{
"id": "los",
"name": "los",
"expression": "1.0 * p_los",
"expression_mathml": "1.0p_los"
},
{
"id": "cgamma",
"name": "cgamma",
"expression": "1.0 * p_cgamma",
"expression_mathml": "1.0p_cgamma"
}
],
"links": [
{
"id": "link1",
"source": "S",
"target": "flow1"
},
{
"id": "link2",
"source": "E",
"target": "flow1"
},
{
"id": "link3",
"source": "I",
"target": "flow1"
},
{
"id": "link4",
"source": "cbeta",
"target": "flow1"
},
{
"id": "link5",
"source": "N",
"target": "flow1"
},
{
"id": "link6",
"source": "E",
"target": "flow2"
},
{
"id": "link7",
"source": "I",
"target": "flow2"
},
{
"id": "link8",
"source": "cdelta",
"target": "flow2"
},
{
"id": "link9",
"source": "I",
"target": "flow3"
},
{
"id": "link10",
"source": "H",
"target": "flow3"
},
{
"id": "link11",
"source": "cgamma",
"target": "flow3"
},
{
"id": "link12",
"source": "hosp",
"target": "flow3"
},
{
"id": "link13",
"source": "I",
"target": "flow4"
},
{
"id": "link14",
"source": "R",
"target": "flow4"
},
{
"id": "link15",
"source": "cgamma",
"target": "flow4"
},
{
"id": "link16",
"source": "hosp",
"target": "flow4"
},
{
"id": "link17",
"source": "H",
"target": "flow5"
},
{
"id": "link18",
"source": "R",
"target": "flow5"
},
{
"id": "link19",
"source": "death",
"target": "flow5"
},
{
"id": "link20",
"source": "los",
"target": "flow5"
},
{
"id": "link21",
"source": "H",
"target": "flow6"
},
{
"id": "link22",
"source": "D",
"target": "flow6"
},
{
"id": "link23",
"source": "death",
"target": "flow6"
},
{
"id": "link24",
"source": "los",
"target": "flow6"
}
]
},
"semantics": {
"ode": {
"parameters": [
{
"id": "p_cbeta",
"name": "p_cbeta",
"description": "transmission rate",
"value": 0.35,
"distribution": {
"type": "Uniform1",
"parameters": {
"minimum": 0.25,
"maximum": 0.45
}
}
},
{
"id": "p_N",
"name": "p_N",
"description": "overall population",
"value": 1001
},
{
"id": "p_cdelta",
"name": "p_cdelta",
"description": "latency period",
"value": 0.2,
"distribution": {
"type": "Uniform1",
"parameters": {
"minimum": 0.1,
"maximum": 0.3
}
}
},
{
"id": "p_cgamma",
"name": "p_cgamma",
"description": "infectiousness period",
"value": 0.2,
"distribution": {
"type": "Uniform1",
"parameters": {
"minimum": 0.1,
"maximum": 0.3
}
}
},
{
"id": "p_death",
"name": "p_death",
"description": "death rate of hospitalized",
"value": 0.08,
"distribution": {
"type": "Uniform1",
"parameters": {
"minimum": 0.01,
"maximum": 0.1
}
}
},
{
"id": "p_hosp",
"name": "p_hosp",
"description": "hospitalization rate of infectious",
"value": 0.1,
"distribution": {
"type": "Uniform1",
"parameters": {
"minimum": 0.01,
"maximum": 0.2
}
}
},
{
"id": "p_los",
"name": "p_los",
"description": "hospitalization length of stay",
"value": 7.0,
"distribution": {
"type": "Uniform1",
"parameters": {
"minimum": 5.0,
"maximum": 9.0
}
}
},
{
"id": "S0",
"name": "S₀",
"description": "Total susceptible population at timestep 0",
"value": 1000
},
{
"id": "E0",
"name": "E₀",
"description": "Total exposed population at timestep 0",
"value": 0
},
{
"id": "I0",
"name": "I₀",
"description": "Total infected population at timestep 0",
"value": 3.0,
"distribution": {
"type": "Uniform1",
"parameters": {
"minimum": 1.0,
"maximum": 10.0
}
}
},
{
"id": "R0",
"name": "R₀",
"description": "Total recovered population at timestep 0",
"value": 0
},
{
"id": "H0",
"name": "H₀",
"description": "Total hospitalized population at timestep 0",
"value": 0
},
{
"id": "D0",
"name": "D₀",
"description": "Total deceased population at timestep 0",
"value": 0
}
],
"initials": [
{
"target": "S",
"expression": "p_N - I0",
"expression_mathml": "p_NI0"
},
{
"target": "E",
"expression": "E0",
"expression_mathml": "E0"
},
{
"target": "I",
"expression": "I0",
"expression_mathml": "I0"
},
{
"target": "R",
"expression": "R0",
"expression_mathml": "R0"
},
{
"target": "H",
"expression": "H0",
"expression_mathml": "H0"
},
{
"target": "D",
"expression": "D0",
"expression_mathml": "D0"
}
],
"observables": [
{
"id": "I",
"name": "infected",
"expression": "I",
"expression_mathml": "I"
},
{
"id": "H",
"name": "hospitalized",
"expression": "H",
"expression_mathml": "H"
}
]
}
}
}