Skip to content

ScaleLarvalHabitat

The ScaleLarvalHabitat intervention class is a node-level intervention that enables species-specific habitat modification within shared habitat types. This intervention has a similar function to the demographic parameter ScaleLarvalMultiplier, but enables habitat availability to be modified at any time or at any location during the simulation, as specified in the campaign event.

To reset the multiplier, you must either replace the existing one with a new intervention with the same Intervention_Name where the multiplier/factor is 1.0 or use the Disqualifying_Properties to cause the intervention to abort.

At a glance:

  • Distributed to: Nodes
  • Serialized: No, it needs to be redistributed when starting from a serialized file.
  • Uses insecticides: No
  • Time-based expiration: No. It will continue to exist even if the efficacy is zero.
  • Purge existing: Yes and No. Adding a new intervention of this class will overwrite any existing intervention of the same class with the same Intervention_Name. If Intervention_Name is different, both interventions will coexist and their efficacies will combine 1-(1-prob1)*(1-prob2) etc.
  • Vector killing contributes to: Does not apply
  • Vector effects: Does not apply
  • Vector sexes affected: both
  • Vector life stage affected: eggs and larva, depending on oviposition settings

Note

Parameters are case-sensitive. For Boolean parameters, set to 1 for true or 0 for false. Minimum, maximum, or default values of "NA" indicate that those values are not applicable for that parameter.

EMOD does not use true defaults; that is, if the dependency relationships indicate that a parameter is required, you must supply a value for it. However, many of the tools used to work with EMOD will use the default values provided below.

JSON format does not permit comments, but you can add "dummy" parameters to add contextual information to your files. Any keys that are not EMOD parameter names will be ignored by the model.

The table below describes all possible parameters with which this class can be configured. The JSON example that follows shows one potential configuration.

Parameter Type Min Max Default Description
Disqualifying_Properties array of strings NA NA [] A list of NodeProperty key:value pairs that cause an intervention to be aborted (persistent interventions will stop being distributed to nodes with these values). See IndividualProperties and NodeProperties parameters for more information. Generally used to control the flow of health care access. For example, to prevent the same individual from accessing health care via two different routes at the same time.
Dont_Allow_Duplicates boolean 0 1 0 Prevents individual from receiving a new intervention with the same Intervetion_Name.
Factor float 0 3.40E+38 1 The multiplier by which to scale the larval habitat availability.
Habitat enum NA NA NONE The name of the habitat for which to specify a larval habitat multiplier. See Larval habitat parameters for more information. Possible values are:
NONE (default but not allowed; it must be configured to a habitat type)
TEMPORARY_RAINFALL
WATER_VEGETATION
MARSHY_STREAM
HUMAN_POPULATION
CONSTANT
BRACKISH_SWAMP
LINEAR_SPLINE
* ALL_HABITATS
Intervention_Name string NA NA ScaleLarvalHabitat The optional name used to refer to this intervention as a means to differentiate it from others that use the same class.
Larval_Habitat_Multiplier array of json objects NA NA NA The value by which to scale the larval habitat availability (specified in Habitats in the configuration file) per intervention, across all habitat types, for specific habitat types, or for specific mosquito species within each habitat type. See Larval habitat parameters for more information.
New_Property_Value string NA NA "" An optional NodeProperty key:value pair that will be assigned when the intervention is applied. See IndividualProperties and NodeProperties parameters for more information.
Species string NA NA ALL_SPECIES The name of the species for which to specify a larval habitat multiplier. This must be one of the names specified in the configuration parameter Vector_Species_Params or set to ALL_SPECIES.
{
    "Use_Defaults": 1,
    "Events": [
        {
            "class": "CampaignEvent",
            "Nodeset_Config": {"class": "NodeSetAll"},
            "Start_Day": 730,
            "Event_Coordinator_Config": {
                "Intervention_Config": {
                    "Larval_Habitat_Multiplier": {
                        "LarvalHabitatMultiplier": [
                            {"Factor": 0.05, "Habitat": "CONSTANT", "Species": "Gambiae"},
                            {"Factor": 0.05, "Habitat": "TEMPORARY_RAINFALL", "Species": "ALL_SPECIES"}
                        ]
                    },
                    "class": "ScaleLarvalHabitat"
                },
                "class": "StandardInterventionDistributionEventCoordinator"
            }
        }
    ]
}