Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared cost factor only applied to parking cost #138

Open
aber-sandag opened this issue May 7, 2024 · 3 comments
Open

Shared cost factor only applied to parking cost #138

aber-sandag opened this issue May 7, 2024 · 3 comments
Assignees

Comments

@aber-sandag
Copy link
Contributor

aber-sandag commented May 7, 2024

costFactorS2 and costFactorS3 are applied only to parking cost, should be applied to all auto costs for shared rides

util_Shared ride 2 - Parking cost ,Shared ride 2 - Parking cost ,"@(df.parkingCost * df.costFactorS2 * df.autoParkingCostFactor)/(np.maximum(df.income,1000)**df.income_exponent)",,coef_income,,,,,,,,,,,,,,,,,,,,,

Also looks like cost_share_s2 and cost_share_s3 used for non-resident models has inconsistent value. cost_share_s2 is 2 in crossborder/constants.yaml but 0.57 in common/constants.yaml. As a result, shared 2 parking cost is currently divided by 0.57 in visitor model. (Value is overwritten with 2 for visitor but is inconsistent with tour mode choice, see replies)

cost_share_s2: 0.57

util_S2_park_cost,Shared ride 2 HOV - Parking cost,@df.coef_cost * df.autoParkingCostFactor * df.parking_cost / cost_share_s2,,coef_one,,,,,,,,,

Shared cost factor appears to be missing completely from airport model

util_park2_parkcost,Parking cost at parking location 2,@(df['nights']*parkLocation2CostDay + parkLocation2CostDay)*100,,coef_c_cost,,,,,,,,,,,,,,,,,,,,,,,,,,

@aber-sandag
Copy link
Contributor Author

Visitor tour mode choice has shared cost factors set to 1, inconsistent with visitor trip mode choice where shared 2 parking cost is divided by 0.57

https://github.com/SANDAG/ABM/blob/ABM3_develop/src/asim/configs/visitor/tour_mode_choice_annotate_choosers_preprocessor.csv#L166

https://github.com/SANDAG/ABM/blob/ABM3_develop/src/asim/configs/visitor/tour_mode_choice.csv#L17

@aber-sandag
Copy link
Contributor Author

Looks like the value of cost_share_s2 is overwritten in visitor trip_mode_choice.yaml, so visitor trip mode choice is being divided by 2, not by 0.57. Would still be good to update the value in common constants.yaml for consistency, and is still inconsistent with visitor tour mode choice

@aber-sandag
Copy link
Contributor Author

We should also be splitting up TNC and Taxi costs per-passenger. Should this be done using the average occupancy for these modes?

aletzdy added a commit that referenced this issue May 9, 2024
-- we are explicitly modeling party size so we should not be dividing cost or toll. This bug seems to exist in abm2+ as well

#partially addressing Shared cost factor only applied to parking cost #138
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants