Subject Project 1: Travel Demand Prediction Models
This is an individual assignment and accounts for 50% of your final mark.
Please write a short (half-page) response for each of the following tasks summarizing the steps you took for each task.
Please submit any PSQL and Python codes, Excel spreadsheets, data files and most importantly your model outputs separately for each task.
Task 1: Trip Production Model — 10 pts Develop a “person” trip production linear regression model based on VISTA data using records from 2012 to 2016, and only consider weekdays morning-peak trips starting between 5am-9am from home.
Your model must include at least 4 explanatory variables and a constant. Evaluate your model and discuss the coefficient values and significance. Task 2: Trip Deterrence Function — 10 pts Calibrate an exponential trip deterrence function based on trip distances reported in VISTA (20122016) and only including trips made on weekdays morning-peak between 5am-9am from home and shorter than 50kms. (Hint: you can use the field ‘cumdist’ in table t, and round it to the closest kilometre).
Task 3: Trip Distribution Model — 20 pts Calculate the morning peak travel O-D matrix for weekday at the SA2 zone level (309*309) using the gravity model implementation in python. Use the trip deterrence function from task 2 and assume that every individual produces 1 home-based trip in the morning and every job attracts 1 homebased trip in the morning peak. Submit your final O-D matrix in a CSV file and report your total error in matching the zone productions and attractions.
Requirements: 111111