reho.model.preprocessing.mobility_generator#

Processes data for parameters related to the Mobility Layer.

Functions

compute_iterative_parameters(reho_models, ...)

generate_mobility_parameters(cluster, ...)

This function initializes (almost) all the necessary parameters to run the mobility sector in REHO.

generate_transport_units_sets(transportunits)

Creates the sets transport_Units_MD and transport_Units_cars that are subsets of the available transport units, respectively for soft mobility and cars.

get_EV_charging(units, timestamp, ...)

Formatting of the parameter EV_charging_profile[u,p,t].

get_EV_plugged_out(units, timestamp, ...)

Formatting of the parameter EV_plugged_out[u,p,t].

get_Ebike_charging(units, timestamp, ...)

Formatting of the parameter EBike_charging_profile[u,p,t].

get_activity_profile(units, timestamp, ...)

Formatting of the parameter EV_activity[a,u,p,t].

get_daily_profile(profiles_input, timestamp, ...)

Formatting of the parameters Daily_Profile[u,p,t], used for example for the Bikes and ICE transport units.

get_max_share(modal_split, modes, transportunits)

Formatting of the parameters max_share[u,dist] and max_share_modes[u,dist].

get_min_share(modal_split, modes, transportunits)

Formatting of the parameters min_share[u,dist] and min_share_modes[u,dist].

get_mobility_demand(profiles_input, ...)

Formatting of the parameters Domestic_energy_pkm and Domestic_energy

get_mode_speed(units, mode_speed_custom)

Formatting of the parameter Mode_speed[u].

linear_split_bin_table(df, col[, ...])

Cuts off a discrete bin distribution data serie to the desired bounds.

mobility_demand_from_WP1data(pkm_demand[, ...])

This functions computes parameters related to mobility from data tables provided by WP1 (OFS data).

rho_param(ext_districts, rho[, activities])

This function is used in the iterative scenario to iteratively calculate multiple districts with EVs being able to charge at the different districts.