{
    "model": {
        "title": "Density-dependent population dynamics of Aedes albopictus",
        "type": "Population",
        "url": "https://github.com/kerguler/Population",
        "deterministic": true,
        "parameters": {
            "algorithm": "Population",
            "istep": 0.01
        }
    },
    "externals": [
        {
            "id": "breeding_site",
            "file": "ex9.dylib",
            "numenv": 1,
            "numpar": 2,
            "numpop": 1
        }
    ],
    "environ": [
        {
            "id": "prec",
            "name": "Daily total precipitation (in mm)"
        }
    ],
    "parameters": [
        {
            "id": "d2m",
            "constant": false,
            "name": "Larva development mean",
            "value": 20.0
        },{
            "id": "bs_alpha",
            "constant": false,
            "name": "Breeding site volume accumulation coefficient",
            "value": 1.0
        },{
            "id": "bs_beta",
            "constant": false,
            "name": "Breeding site volume evaporation coefficient",
            "value": 0.25
        },{
            "id": "bs_str",
            "constant": false,
            "name": "Density coefficient for mortality",
            "value": 200.0
        }
    ],
    "evaluate": [
        {
            "id": "bsitevol",
            "value": ["breeding_site", {
                "y0": ["bsvol"],
                "pr": ["bs_alpha","bs_beta"],
                "envir": [["prec", "TIME_1"]]
            }]
        }
    ],
    "intermediates": [
        {
            "id": "bsvol",
            "value": ["bsitevol", 0]
        },{
            "id": "bsmort",
            "value": ["?", [">", "bsvol", "0.5"], "0.25", "0.0"]
        }
    ],
    "populations": [
        {
            "id": "larva",
            "name": "The larva stage",
            "processes": [
                {
                    "id": "larva_coef",
                    "arbiter": "MEMORY",
                    "evaluate": [{
                        "id": "bsitevol_larva",
                        "value": ["breeding_site", {
                            "y0": ["larva_coef"],
                            "pr": ["bs_alpha","bs_beta"],
                            "envir": [["prec", "TIME_1"]]
                        }]
                    }],
                    "value": [["bsitevol_larva", 0]],
                    "hazpar": true
                },{
                    "id": "larva_mort",
                    "name": "Larva mortality",
                    "arbiter": "NOAGE_CONST",
                    "intermediates": [{
                        "id": "d2m_coef",
                        "value": ["?", [">", "larva_coef", "0.75"], "0.5", "0.0"]
                    }],
                    "value": ["d2m_coef"],
                    "hazpar": true
                }
            ]
        }
    ]
}
