Esempio n. 1
0
def households_relocation(households, settings, years_per_iter):
    rate = settings['rates']['households_relocation']
    rate = min(rate * years_per_iter, 1.0)
    return utils.simple_relocation(households, rate, "building_id")
Esempio n. 2
0
def households_relocation(households, settings):
    rate = settings['rates']['households_relocation']
    return utils.simple_relocation(households, rate, "building_id")
Esempio n. 3
0
def jobs_relocation(jobs, settings):
    rate = settings['rates']['jobs_relocation']
    return utils.simple_relocation(jobs, rate, "building_id")
Esempio n. 4
0
def households_relocation(households, settings, years_per_iter):
    rate = settings['rates']['households_relocation']
    rate = min(rate * years_per_iter, 1.0)
    return utils.simple_relocation(households, rate, "building_id")
Esempio n. 5
0
def jobs_relocation(jobs, settings):
    rate = settings['rates']['jobs_relocation']
    return utils.simple_relocation(jobs, rate, "building_id")
Esempio n. 6
0
def households_relocation(households, settings):
    rate = settings['rates']['households_relocation']
    return utils.simple_relocation(households, rate, "building_id")
Esempio n. 7
0
def jobs_relocation(jobs, settings):
    rate = settings["rates"]["jobs_relocation"]
    return utils.simple_relocation(jobs, rate, "building_id")
Esempio n. 8
0
def households_relocation(households, settings):
    rate = settings["rates"]["households_relocation"]
    return utils.simple_relocation(households, rate, "building_id")