def residential_developer(feasibility, households, buildings, parcels, year): utils.run_developer(forms=None, parcels=parcels, agents=households, buildings=buildings, supply_fname="residential_units", total_units=parcels.residential_units, feasibility=feasibility, year=year, target_vacancy=.02, form_to_btype_callback=None, add_more_columns_callback=None, bldg_sqft_per_job=400.0)
def residential_developer(feasibility, households, buildings, parcels, year): utils.run_developer("residential", households, buildings, "residential_units", parcels.parcel_size, parcels.ave_unit_size, parcels.total_units, feasibility, year=year, target_vacancy=.15, form_to_btype_callback=random_type, add_more_columns_callback=add_extra_columns, bldg_sqft_per_job=400.0)
def non_residential_developer(feasibility, jobs, buildings, parcels, year): utils.run_developer(["office", "retail", "industrial"], jobs, buildings, "job_spaces", parcels.parcel_size, parcels.ave_unit_size, parcels.total_job_spaces, feasibility, year=year, target_vacancy=.15, form_to_btype_callback=random_type, add_more_columns_callback=add_extra_columns, residential=False, bldg_sqft_per_job=400.0)
def residential_developer(feasibility, households, buildings, parcels, year, settings, summary, form_to_btype_func, add_extra_columns_func): kwargs = settings['residential_developer'] new_buildings = utils.run_developer( "residential", households, buildings, "residential_units", parcels.parcel_size, parcels.ave_sqft_per_unit, parcels.total_residential_units, feasibility, year=year, form_to_btype_callback=form_to_btype_func, add_more_columns_callback=add_extra_columns_func, **kwargs) summary.add_parcel_output(new_buildings)
def non_residential_developer(feasibility, jobs, buildings, parcels, year, settings, summary, form_to_btype_func, add_extra_columns_func): kwargs = settings['non_residential_developer'] new_buildings = utils.run_developer( ["office", "retail", "industrial"], jobs, buildings, "job_spaces", parcels.parcel_size, parcels.ave_sqft_per_unit, parcels.total_job_spaces, feasibility, year=year, form_to_btype_callback=form_to_btype_func, add_more_columns_callback=add_extra_columns_func, residential=False, **kwargs) summary.add_parcel_output(new_buildings)