コード例 #1
0
def configure_gwembe_sinazongwe_115_nodes(cb):
    set_geography(cb, "Gwembe_Sinazongwe_115_nodes")

    '''
    once PIECEWISE_MONTHLY habitat is introduced we can configure it;
    set_larval_habitat(cb, {"arabiensis":{'TEMPORARY_RAINFALL': 1e8, 'CONSTANT': 2e6},
                            "funestus":[ 1e8, 2e7 ]})
    '''

    '''
    for now we only configure water vegetation
    '''
    set_larval_habitat(cb, {"arabiensis": {'TEMPORARY_RAINFALL': 1e8, 'CONSTANT': 2e6},
                            "funestus": {"WATER_VEGETATION": 2e7}})

    set_species_param(cb, "arabiensis", "Indoor_Feeding_Fraction", 0.5)
コード例 #2
0
def configure_munumbwe_1_node(cb):
    set_geography(cb, "Munumbwe_1_node")
    set_larval_habitat(cb, {"arabiensis": {'TEMPORARY_RAINFALL': 2e9, 'CONSTANT': 2e8}})
    set_species_param(cb, "arabiensis", "Indoor_Feeding_Fraction", 0.5)
コード例 #3
0
def configure_gwembesinazongwepopcluster(cb):
    # set_larval_habitat(cb, {"arabiensis":[2e9, 8e7]})
    # set_species_param(cb,"arabiensis","Indoor_Feeding_Fraction",0.8)
    set_larval_habitat(cb, {"arabiensis": {'TEMPORARY_RAINFALL': 2e9, 'CONSTANT': 2e8}})
    set_species_param(cb, "arabiensis", "Indoor_Feeding_Fraction", 0.5)
コード例 #4
0
def configure_gwembesinazongwehealthfacility(cb):
    set_larval_habitat(cb, {"arabiensis": {'TEMPORARY_RAINFALL': 2e9, 'CONSTANT': 8e7}})
    set_species_param(cb, "arabiensis", "Indoor_Feeding_Fraction", 0.8)
コード例 #5
0
def configure_sinazongweconstant(cb):
    set_larval_habitat(cb, {"arabiensis": {'CONSTANT': 1.5e9}})
    set_species_param(cb, "arabiensis", "Indoor_Feeding_Fraction", 0.5)
    set_climate_constant(cb, Base_Air_Temperature=22, Base_Rainfall=10)
    cb.enable('Climate_Stochasticity')
コード例 #6
0
def configure_chipepo(cb):
    set_larval_habitat(cb, {"arabiensis": {'TEMPORARY_RAINFALL': 1e9, 'CONSTANT': 1e9}})
    set_species_param(cb, "arabiensis", "Indoor_Feeding_Fraction", 0.5)