Skip to content

usage_dependent_bednet

add_scheduled_usage_dependent_bednet(campaign, start_day=1, demographic_coverage=1, target_num_individuals=None, node_ids=None, ind_property_restrictions=None, target_age_min=0, target_age_max=malaria_common.MAX_AGE_YEARS, target_gender='All', intervention_name='UsageDependentBednet', discard_config=None, insecticide='', repelling_initial_effect=0, repelling_box_duration=0, repelling_decay_time_constant=1460, blocking_initial_effect=0.9, blocking_box_duration=0, blocking_decay_time_constant=730, blocking_linear_times=None, blocking_linear_values=None, blocking_expire_at_end=0, killing_initial_effect=0, killing_box_duration=0, killing_decay_time_constant=1460, age_dependence=None, seasonal_dependence=None, dont_allow_duplicates=False)

Add an insecticide-treated net (ITN) intervention with a seasonal usage pattern to the campaign using the UsageDependentBednet class.

For killing, blocking, repelling effects - depending on the parameters you set, different WaningEffect classes will be used:
• box_duration = -1 => WaningEffectConstant, decay_time_constant is ignored
• box_duration = 0 + decay_time_constant > 0 => WaningEffectExponential
• box_duration > 0 + decay_time_constant = 0 => WaningEffectBox
• box_duration > 0 + decay_time_constant > 0 => WaningEffectBoxExponential

Parameters:

Name Type Description Default
campaign EMODCampaign

campaign object to which the intervention will be added, and schema_path container

required
start_day int

The day on which to start distributing the bednets (Start_Day parameter).

1
demographic_coverage float

This value is the probability that each individual in the target population will receive the intervention. It does not guarantee that the exact fraction of the target population set by Demographic_Coverage receives the intervention.

1
target_num_individuals int

The exact number of people to select out of the targeted group. If this value is set, demographic_coverage parameter is ignored

None
node_ids list

The list of nodes to apply this intervention to (Node_List parameter). If not provided, intervention is distributed to all nodes.

None
ind_property_restrictions list

The IndividualProperty key:value pairs that individuals must have to receive the intervention (Property_Restrictions_Within_Node parameter). In the format [{ "BitingRisk":"High"}, {"IsCool":"Yes}].

None
target_age_min float

The lower end of ages targeted for an intervention, in years. Sets Target_Age_Min.

0
target_age_max float

The upper end of ages targeted for an intervention, in years. Sets Target_Age_Max.

MAX_AGE_YEARS
target_gender str

The gender targeted for an intervention: All, Male, or Female.

'All'
intervention_name str

The optional name used to refer to this intervention as a means to differentiate it from others that use the same class. It is possible to have multiple UsageDependentBednet interventions attached to a person if they have different Intervention_Name values.

'UsageDependentBednet'
discard_config dict

A dictionary of parameters needed to define expiration distribution. No need to definite the distribution with all its parameters Default is bednet being discarded with EXPONENTIAL_DISTRIBUTION with Expiration_Period_Exponential of 10 years

Examples:

    for Gaussian: {"Expiration_Period_Distribution": "GAUSSIAN_DISTRIBUTION",
                   "Expiration_Period_Gaussian_Mean": 20,
                   "Expiration_Period_Gaussian_Std_Dev":10}
    for Exponential: {"Expiration_Period_Distribution": "EXPONENTIAL_DISTRIBUTION",
                     "Expiration_Period_Exponential":150}
None
insecticide str

The name of the insecticide defined in for this intervention. If insecticides are being used, then this must be defined as one of those values. If they are not being used, then this does not needed to be specified or can be empty string. It cannot have a value if does not define anything.

''
repelling_initial_effect float

Initial strength of the Repelling effect. The effect may decay over time.

0
repelling_box_duration int

Box duration of effect in days before the decay of repelling_initial_effect.

0
repelling_decay_time_constant float

The exponential decay length, in days of the repelling_initial_effect.

1460
blocking_initial_effect float

Initial strength of the Blocking effect. The effect may decay over time.

0.9
blocking_box_duration int

Box duration of effect in days before the decay of blocking_initial_effect.

0
blocking_decay_time_constant float

The exponential decay length, in days of the blocking_initial_effect.

730
blocking_linear_times list

An array of days that matches the defined linear values for blocking_initial_effect.

None
blocking_linear_values list

An array of multiplier values that matches the defined linear days for blocking_initial_effect.

None
blocking_expire_at_end int

Set to 1 to have efficacy go to zero and let the intervention expire when the end of the map is reached. Only vaccines and bednet usage currently support this expiration feature. defaults to 0.

0
killing_initial_effect float

Initial strength of the Killing effect. The effect may decay over time.

0
killing_box_duration int

Box duration of effect in days before the decay of killing_initial_effect.

0
killing_decay_time_constant float

The exponential decay length, in days of the killing_initial_effect.

1460
age_dependence dict

A dictionary defining the age dependence of net use. Must contain a list of ages in years and list of usage rate. Default is uniform across all ages. Times are in years of age.

None
seasonal_dependence dict

A dictionary defining the seasonal dependence of net use. Time since start will reset to zero once it reaches 365. This allows you to simulate seasonal effects.
Times are given in daysof the year; values greater than 365 are ignored. Dictionaries can be (times, values) for linear spline or (minimum coverage, day of maximum coverage) for sinusoidal dynamics. Default is constant use during the year.

None
dont_allow_duplicates bool

Set to True to prevent individual from receiving another copy of the intervention. Default is False.

False
Source code in emodpy_malaria/interventions/usage_dependent_bednet.py
def add_scheduled_usage_dependent_bednet(
        campaign,
        start_day: int = 1,
        demographic_coverage: float = 1,
        target_num_individuals: int = None,
        node_ids: list = None,
        ind_property_restrictions: list = None,
        target_age_min: float = 0,
        target_age_max: float = malaria_common.MAX_AGE_YEARS,
        target_gender: str = "All",
        intervention_name: str = "UsageDependentBednet",
        discard_config: dict = None,
        insecticide: str = "",
        repelling_initial_effect: float = 0,
        repelling_box_duration: int = 0,
        repelling_decay_time_constant: float = 1460,
        blocking_initial_effect: float = 0.9,
        blocking_box_duration: int = 0,
        blocking_decay_time_constant: float = 730,
        blocking_linear_times: list = None,
        blocking_linear_values: list = None,
        blocking_expire_at_end: int = 0,
        killing_initial_effect: float = 0,
        killing_box_duration: int = 0,
        killing_decay_time_constant: float = 1460,
        age_dependence: dict = None,
        seasonal_dependence: dict = None,
        dont_allow_duplicates: bool = False):
    """
    Add an insecticide-treated net (ITN) intervention with a seasonal usage
    pattern to the campaign using the **UsageDependentBednet** class.

    For killing, blocking, repelling effects - depending on the parameters you set,
    different **WaningEffect** classes will be used:<br>
        • box_duration = -1 => WaningEffectConstant, decay_time_constant is ignored<br>
        • box_duration = 0 + decay_time_constant > 0 => WaningEffectExponential<br>
        • box_duration > 0 + decay_time_constant = 0 => WaningEffectBox<br>
        • box_duration > 0 + decay_time_constant > 0 => WaningEffectBoxExponential<br>

    Args:
        campaign (emodpy.campaign.emod_campaign.EMODCampaign): campaign object to which the intervention will be added, and schema_path container
        start_day (int): The day on which to start distributing the bednets
            (**Start_Day** parameter).
        demographic_coverage (float): This value is the probability that each individual in the target population will
            receive the intervention. It does not guarantee that the exact fraction of the target population set by
            Demographic_Coverage receives the intervention.
        target_num_individuals (int): The exact number of people to select out of the targeted group. If this value is set,
            demographic_coverage parameter is ignored
        node_ids (list): The list of nodes to apply this intervention to (**Node_List** parameter). If not provided,
            intervention is distributed to all nodes.
        ind_property_restrictions: The IndividualProperty key:value pairs
            that individuals must have to receive the intervention (**Property_Restrictions_Within_Node** parameter). In the format ``[{
            "BitingRisk":"High"}, {"IsCool":"Yes}]``.
        target_age_min (float): The lower end of ages targeted for an intervention, in years. Sets **Target_Age_Min**.
        target_age_max (float): The upper end of ages targeted for an intervention, in years. Sets **Target_Age_Max**.
        target_gender (str): The gender targeted for an intervention: All, Male, or Female.
        intervention_name (str): The optional name used to refer to this intervention as a means to differentiate it from
            others that use the same class. It is possible to have multiple **UsageDependentBednet** interventions
            attached to a person if they have different **Intervention_Name** values.
        discard_config (dict): A dictionary of parameters needed to define expiration distribution.
            No need to definite the distribution with all its parameters
            Default is bednet being discarded with EXPONENTIAL_DISTRIBUTION with **Expiration_Period_Exponential** of 10 years

            Examples:

                    for Gaussian: {"Expiration_Period_Distribution": "GAUSSIAN_DISTRIBUTION",
                                   "Expiration_Period_Gaussian_Mean": 20,
                                   "Expiration_Period_Gaussian_Std_Dev":10}
                    for Exponential: {"Expiration_Period_Distribution": "EXPONENTIAL_DISTRIBUTION",
                                     "Expiration_Period_Exponential":150}

        insecticide (str): The name of the insecticide defined in <config.Insecticides> for this intervention.
            If insecticides are being used, then this must be defined as one of those values.  If they are not
            being used, then this does not needed to be specified or can be empty string.  It cannot have a
            value if <config.Insecticides> does not define anything.
        repelling_initial_effect (float): Initial strength of the Repelling effect. The effect may decay over time.
        repelling_box_duration (int): Box duration of effect in days before the decay of **repelling_initial_effect**.
        repelling_decay_time_constant (float): The exponential decay length, in days of the **repelling_initial_effect**.
        blocking_initial_effect (float): Initial strength of the Blocking effect. The effect may decay over time.
        blocking_box_duration (int): Box duration of effect in days before the decay of **blocking_initial_effect**.
        blocking_decay_time_constant (float): The exponential decay length, in days of the **blocking_initial_effect**.
        blocking_linear_times (list): An array of days that matches the defined linear values for **blocking_initial_effect**.
        blocking_linear_values (list): An array of multiplier values that matches the defined linear days for
            **blocking_initial_effect**.
        blocking_expire_at_end (int): Set to 1 to have efficacy go to zero and let the intervention expire when the end of
            the map is reached.  Only vaccines and bednet usage currently support this expiration feature.
            defaults to 0.
        killing_initial_effect (float): Initial strength of the Killing effect. The effect may decay over time.
        killing_box_duration (int): Box duration of effect in days before the decay of **killing_initial_effect**.
        killing_decay_time_constant (float): The exponential decay length, in days of the **killing_initial_effect**.
        age_dependence (dict): A dictionary defining the age dependence of net use.
            Must contain a list of ages in years and list of usage rate. Default is uniform across all ages.
            Times are in years of age.
        seasonal_dependence (dict): A dictionary defining the seasonal dependence of net use. Time since start will
            reset to zero once it reaches 365. This allows you to simulate seasonal effects.<br>
            Times are given in daysof the year; values greater than 365 are ignored. Dictionaries can be (times, values) for linear spline
            or (minimum coverage, day of maximum coverage) for sinusoidal dynamics. Default is constant use during the year.
        dont_allow_duplicates (bool): Set to True to prevent individual from receiving another copy of the intervention.
            Default is False.
    """

    intervention = _usage_dependent_bednet(campaign=campaign,
                                           intervention_name=intervention_name,
                                           discard_config=discard_config,
                                           insecticide=insecticide,
                                           repelling_initial_effect=repelling_initial_effect,
                                           repelling_box_duration=repelling_box_duration,
                                           repelling_decay_time_constant=repelling_decay_time_constant,
                                           blocking_initial_effect=blocking_initial_effect,
                                           blocking_box_duration=blocking_box_duration,
                                           blocking_decay_time_constant=blocking_decay_time_constant,
                                           blocking_linear_times=blocking_linear_times,
                                           blocking_linear_values=blocking_linear_values,
                                           blocking_expire_at_end=blocking_expire_at_end,
                                           killing_initial_effect=killing_initial_effect,
                                           killing_box_duration=killing_box_duration,
                                           killing_decay_time_constant=killing_decay_time_constant,
                                           age_dependence=age_dependence,
                                           seasonal_dependence=seasonal_dependence,
                                           dont_allow_duplicates=dont_allow_duplicates)

    malaria_common.add_campaign_event(campaign=campaign,
                                      start_day=start_day,
                                      demographic_coverage=demographic_coverage,
                                      target_num_individuals=target_num_individuals,
                                      node_ids=node_ids,
                                      target_age_min=target_age_min,
                                      target_age_max=target_age_max,
                                      target_gender=target_gender,
                                      ind_property_restrictions=ind_property_restrictions,
                                      individual_intervention=intervention)

add_triggered_usage_dependent_bednet(campaign, start_day=1, demographic_coverage=1, node_ids=None, ind_property_restrictions=None, trigger_condition_list=None, triggered_campaign_delay=None, listening_duration=-1, target_age_min=0, target_age_max=malaria_common.MAX_AGE_YEARS, target_gender='All', intervention_name='UsageDependentBednet', discard_config=None, insecticide='', repelling_initial_effect=0, repelling_box_duration=0, repelling_decay_time_constant=1460, blocking_initial_effect=0.9, blocking_box_duration=0, blocking_decay_time_constant=730, blocking_linear_times=None, blocking_linear_values=None, blocking_expire_at_end=0, killing_initial_effect=0, killing_box_duration=0, killing_decay_time_constant=1460, age_dependence=None, seasonal_dependence=None, dont_allow_duplicates=False)

Add an insecticide-treated net (ITN) intervention with a seasonal usage pattern to the campaign using the UsageDependentBednet class.

For killing, blocking, repelling effects - depending on the parameters you set, different WaningEffect classes will be used:
• box_duration = -1 => WaningEffectConstant, decay_time_constant is ignored
• box_duration = 0 + decay_time_constant > 0 => WaningEffectExponential
• box_duration > 0 + decay_time_constant = 0 => WaningEffectBox
• box_duration > 0 + decay_time_constant > 0 => WaningEffectBoxExponential

Parameters:

Name Type Description Default
campaign EMODCampaign

campaign object to which the intervention will be added, and schema_path container

required
start_day int

The day on which to start distributing the bednets (Start_Day parameter).

1
demographic_coverage float

This value is the probability that each individual in the target population will receive the intervention. It does not guarantee that the exact fraction of the target population set by Demographic_Coverage receives the intervention.

1
node_ids list

The list of nodes to apply this intervention to (Node_List parameter). If not provided, intervention is distributed to all nodes.

None
ind_property_restrictions list

A list of dictionaries of IndividualProperties, which are needed for the individual to receive the intervention. Sets the Property_Restrictions_Within_Node

None
trigger_condition_list list

(Optional) A list of the events that will trigger the ITN intervention. If included, start is the day when monitoring for triggers begins.

None
triggered_campaign_delay float

(Optional) Delay in days before the intervention is given out after being triggered.

None
listening_duration int

If run as a birth-triggered event or a trigger_condition_list, specifies the duration for the distribution to continue. Default is to continue until the end of the simulation.

-1
target_age_min float

The lower end of ages targeted for an intervention, in years. Sets Target_Age_Min

0
target_age_max float

The upper end of ages targeted for an intervention, in years. Sets Target_Age_Max

MAX_AGE_YEARS
target_gender str

The gender targeted for an intervention: All, Male, or Female.

'All'
ind_property_restrictions list

The IndividualProperty key:value pairs that individuals must have to receive the intervention ( Property_Restrictions_Within_Node parameter). In the format [{ "BitingRisk":"High"}, {"IsCool":"Yes}].

None
intervention_name str

The optional name used to refer to this intervention as a means to differentiate it from others that use the same class. It is possible to have multiple UsageDependentBednets interventions attached to a person if they have different Intervention_Name values.

'UsageDependentBednet'
discard_config dict

A dictionary of parameters needed to define expiration distribution. No need to define the distribution with all its parameters Default is bednet being discarded with EXPONENTIAL_DISTRIBUTION with Expiration_Period_Exponential of 10 years

Examples::

        for Gaussian: {"Expiration_Period_Distribution": "GAUSSIAN_DISTRIBUTION",
                       "Expiration_Period_Gaussian_Mean": 20,
                       "Expiration_Period_Gaussian_Std_Dev":10}
        for Exponential: {"Expiration_Period_Distribution": "EXPONENTIAL_DISTRIBUTION",
                         "Expiration_Period_Exponential":150}
None
insecticide str

The name of the insecticide defined in for this intervention. If insecticides are being used, then this must be defined as one of those values. If they are not being used, then this does not needed to be specified or can be empty string. It cannot have a value if does not define anything.

''
repelling_initial_effect float

Initial strength of the Repelling effect. The effect may decay over time.

0
repelling_box_duration int

Box duration of effect in days before the decay of repelling_initial_effect.

0
repelling_decay_time_constant float

The exponential decay length, in days of the repelling_initial_effect.

1460
blocking_initial_effect float

Initial strength of the Blocking effect. The effect may decay over time.

0.9
blocking_box_duration int

Box duration of effect in days before the decay of blocking_initial_effect.

0
blocking_decay_time_constant float

The exponential decay length, in days of the blocking_initial_effect.

730
blocking_linear_times list

An array of days that matches the defined linear values for blocking_initial_effect.

None
blocking_linear_values list

An array of multiplier values that matches the defined linear days for blocking_initial_effect.

None
blocking_expire_at_end int

Set to 1 to have efficacy go to zero and let the intervention expire when the end of the map is reached. Only vaccines and bednet usage currently support this expiration feature. defaults to 0.

0
killing_initial_effect float

Initial strength of the Killing effect. The effect may decay over time.

0
killing_box_duration int

Box duration of effect in days before the decay of killing_initial_effect.

0
killing_decay_time_constant float

The exponential decay length, in days of the killing_initial_effect.

1460
age_dependence dict

A dictionary defining the age dependence of net use. Must contain a list of ages in years and list of usage rate. Default is uniform across all ages. Times are in years of age

None
seasonal_dependence dict

A dictionary defining the seasonal dependence of net use. Time since start will reset to zero once it reaches 365. This allows you to simulate seasonal effects.
Times are given in days of the year; values greater than 365 are ignored. Dictionaries can be (times, values) for linear spline or (minimum coverage, day of maximum coverage) for sinusoidal dynamics. Default is constant use during the year.

None
dont_allow_duplicates bool

Set to True to prevent individual from receiving another copy of the intervention. Default is False.

False
Source code in emodpy_malaria/interventions/usage_dependent_bednet.py
def add_triggered_usage_dependent_bednet(campaign,
                                         start_day: int = 1,
                                         demographic_coverage: float = 1,
                                         node_ids: list = None,
                                         ind_property_restrictions: list = None,
                                         trigger_condition_list: list = None,
                                         triggered_campaign_delay: float = None,
                                         listening_duration: int = -1,
                                         target_age_min: float = 0,
                                         target_age_max: float = malaria_common.MAX_AGE_YEARS,
                                         target_gender: str = "All",
                                         intervention_name: str = "UsageDependentBednet",
                                         discard_config: dict = None,
                                         insecticide: str = "",
                                         repelling_initial_effect: float = 0,
                                         repelling_box_duration: int = 0,
                                         repelling_decay_time_constant: float = 1460,
                                         blocking_initial_effect: float = 0.9,
                                         blocking_box_duration: int = 0,
                                         blocking_decay_time_constant: float = 730,
                                         blocking_linear_times: list = None,
                                         blocking_linear_values: list = None,
                                         blocking_expire_at_end: int = 0,
                                         killing_initial_effect: float = 0,
                                         killing_box_duration: int = 0,
                                         killing_decay_time_constant: float = 1460,
                                         age_dependence: dict = None,
                                         seasonal_dependence: dict = None,
                                         dont_allow_duplicates: bool = False):
    """
    Add an insecticide-treated net (ITN) intervention with a seasonal usage
    pattern to the campaign using the **UsageDependentBednet** class.

    For killing, blocking, repelling effects - depending on the parameters you set,
    different WaningEffect classes will be used:<br>
        • box_duration = -1 => WaningEffectConstant, decay_time_constant is ignored<br>
        • box_duration = 0 + decay_time_constant > 0 => WaningEffectExponential<br>
        • box_duration > 0 + decay_time_constant = 0 => WaningEffectBox<br>
        • box_duration > 0 + decay_time_constant > 0 => WaningEffectBoxExponential<br>


    Args:
        campaign (emodpy.campaign.emod_campaign.EMODCampaign): campaign object to which the intervention will be added, and schema_path container
        start_day: The day on which to start distributing the bednets
            (**Start_Day** parameter).
        demographic_coverage: This value is the probability that each individual in the target population will
            receive the intervention. It does not guarantee that the exact fraction of the target population set by
            Demographic_Coverage receives the intervention.
        node_ids: The list of nodes to apply this intervention to (**Node_List** parameter). If not provided,
            intervention is distributed to all nodes.
        ind_property_restrictions: A list of dictionaries of IndividualProperties, which are needed for the individual
            to receive the intervention. Sets the **Property_Restrictions_Within_Node**
        trigger_condition_list: (Optional) A list of the events that will
            trigger the ITN intervention. If included, **start** is the day
            when monitoring for triggers begins.
        triggered_campaign_delay: (Optional) Delay in days before the intervention is
            given out after being triggered.
        listening_duration: If run as a birth-triggered event or a trigger_condition_list,
            specifies the duration for the distribution to continue. Default
            is to continue until the end of the simulation.
        target_age_min: The lower end of ages targeted for an intervention, in years. Sets **Target_Age_Min**
        target_age_max: The upper end of ages targeted for an intervention, in years. Sets **Target_Age_Max**
        target_gender: The gender targeted for an intervention: All, Male, or Female.
        ind_property_restrictions: The IndividualProperty key:value pairs
            that individuals must have to receive the intervention (
            **Property_Restrictions_Within_Node** parameter). In the format ``[{
            "BitingRisk":"High"}, {"IsCool":"Yes}]``.
        intervention_name: The optional name used to refer to this intervention as a means to differentiate it from
            others that use the same class. It is possible to have multiple **UsageDependentBednets** interventions
            attached to a person if they have different **Intervention_Name** values.
        discard_config: A dictionary of parameters needed to define expiration distribution.
            No need to define the distribution with all its parameters
            Default is bednet being discarded with EXPONENTIAL_DISTRIBUTION with Expiration_Period_Exponential of 10 years

            Examples::

                        for Gaussian: {"Expiration_Period_Distribution": "GAUSSIAN_DISTRIBUTION",
                                       "Expiration_Period_Gaussian_Mean": 20,
                                       "Expiration_Period_Gaussian_Std_Dev":10}
                        for Exponential: {"Expiration_Period_Distribution": "EXPONENTIAL_DISTRIBUTION",
                                         "Expiration_Period_Exponential":150}
        insecticide: The name of the insecticide defined in <config.Insecticides> for this intervention.
            If insecticides are being used, then this must be defined as one of those values.  If they are not
            being used, then this does not needed to be specified or can be empty string.  It cannot have a
            value if <config.Insecticides> does not define anything.

        repelling_initial_effect: Initial strength of the Repelling effect. The effect may decay over time.
        repelling_box_duration: Box duration of effect in days before the decay of **repelling_initial_effect**.
        repelling_decay_time_constant: The exponential decay length, in days of the **repelling_initial_effect**.
        blocking_initial_effect: Initial strength of the Blocking effect. The effect may decay over time.
        blocking_box_duration: Box duration of effect in days before the decay of **blocking_initial_effect**.
        blocking_decay_time_constant: The exponential decay length, in days of the **blocking_initial_effect**.
        blocking_linear_times: An array of days that matches the defined linear values for **blocking_initial_effect**.
        blocking_linear_values: An array of multiplier values that matches the defined linear days for
            **blocking_initial_effect**.
        blocking_expire_at_end: Set to 1 to have efficacy go to zero and let the intervention expire when the end of
            the map is reached.  Only vaccines and bednet usage currently support this expiration feature.
            defaults to 0.
        killing_initial_effect: Initial strength of the Killing effect. The effect may decay over time.
        killing_box_duration: Box duration of effect in days before the decay of **killing_initial_effect**.
        killing_decay_time_constant: The exponential decay length, in days of the **killing_initial_effect**.
        age_dependence: A dictionary defining the age dependence of net use.
            Must contain a list of ages in years and list of usage rate. Default is uniform across all ages.
            Times are in years of age
        seasonal_dependence: A dictionary defining the seasonal dependence of net use. Time since start will
            reset to zero once it reaches 365. This allows you to simulate seasonal effects.<br>
            Times are given in days of the year; values greater than 365 are ignored.
            Dictionaries can be (times, values) for linear spline or (minimum coverage, day of maximum coverage) for
            sinusoidal dynamics. Default is constant use during the year.
        dont_allow_duplicates: Set to True to prevent individual from receiving another copy of the intervention.
            Default is False.

    """

    intervention = _usage_dependent_bednet(campaign=campaign,
                                           intervention_name=intervention_name,
                                           discard_config=discard_config,
                                           insecticide=insecticide,
                                           repelling_initial_effect=repelling_initial_effect,
                                           repelling_box_duration=repelling_box_duration,
                                           repelling_decay_time_constant=repelling_decay_time_constant,
                                           blocking_initial_effect=blocking_initial_effect,
                                           blocking_box_duration=blocking_box_duration,
                                           blocking_decay_time_constant=blocking_decay_time_constant,
                                           blocking_linear_times=blocking_linear_times,
                                           blocking_linear_values=blocking_linear_values,
                                           blocking_expire_at_end=blocking_expire_at_end,
                                           killing_initial_effect=killing_initial_effect,
                                           killing_box_duration=killing_box_duration,
                                           killing_decay_time_constant=killing_decay_time_constant,
                                           age_dependence=age_dependence,
                                           seasonal_dependence=seasonal_dependence,
                                           dont_allow_duplicates=dont_allow_duplicates)
    malaria_common.add_triggered_campaign_delay_event(campaign=campaign,
                                                      start_day=start_day,
                                                      demographic_coverage=demographic_coverage,
                                                      trigger_condition_list=trigger_condition_list,
                                                      listening_duration=listening_duration,
                                                      delay_period_constant=triggered_campaign_delay,
                                                      ind_property_restrictions=ind_property_restrictions,
                                                      node_ids=node_ids,
                                                      target_age_min=target_age_min,
                                                      target_age_max=target_age_max,
                                                      target_gender=target_gender,
                                                      individual_intervention=intervention)