ruspy.model_code.demand_function.get_demand
- ruspy.model_code.demand_function.get_demand(init_dict, demand_dict, demand_params, max_num_iterations=2000)[source]
Calculates the implied demand for a range of replacement costs for a certain number of buses over a certain time period.
- Parameters
- init_dict
python:dict
- demand_dict
python:dict
see Demand Dictionary.
- demand_params
numpy.ndarray
- init_dict
- Returns
- demand_results
pd.DataFrame
see Demand Results
- demand_results