lu_import_path = r'Y:\NorMITs Land Use\iter3\land_use_output_msoa.csv'
msoa_import_path = r'Y:\NorMITs Demand\inputs\default\zoning\msoa_zones.csv'
trip_rates_path = r"Y:\NorMITs Demand\import\tfn_segment_production_params\hb_trip_rates.csv"
time_splits_path = r"Y:\NorMITs Demand\import\tfn_segment_production_params\hb_time_split.csv"
mean_time_splits_path = r"Y:\NorMITs Demand\import\tfn_segment_production_params\hb_ave_time_split.csv"
mode_share_path = r"Y:\NorMITs Demand\import\tfn_segment_production_params\hb_mode_split.csv"
ntem_control_dir = r'Y:/NorMITs Synthesiser/import/ntem_constraints'
lad_lookup_dir = 'Y:/NorMITs Synthesiser/import'
population_metric = 'population'
constraint_required[0] = False
constraint_required[1] = False
# END OF STUFF TO FIX
if population_metric == "households":
raise ValueError("Production Model has changed. Households growth "
"is not currently supported.")
# TODO: Convert all of the production mode to use MSOA codes instead
# of integers - more descriptive
# ## BASE YEAR POPULATION ## #
print("Loading the base year population data...")
base_year_pop = get_land_use_data(lu_import_path,
msoa_path=msoa_import_path,
land_use_cols=land_use_cols,
zone_col=zone_col)
base_year_pop = base_year_pop.rename(columns={'people': base_year})
Convert all of the production mode to use MSOA codes instead
of integers - more descriptive
BASE YEAR POPULATION
https://github.com/Transport-for-the-North/NorMITs-Demand/blob/70db47f96f436a058b46e3c97dfab0a1d12dd7a0/efs_production_generator.py#L142
3e7f5798fdb6a1d9ebb0f18a071b73cac680e46e