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

Trip toll cap #69

Draft
wants to merge 28 commits into
base: master
Choose a base branch
from
Draft

Trip toll cap #69

wants to merge 28 commits into from

Conversation

FlaviaTsang
Copy link
Contributor

@FlaviaTsang FlaviaTsang commented Jan 29, 2024

For SOV:

Original expression:
c_cost*SOVTOLL_VTOLL[tripPeriod]*if(hhIncomeQ1=1, %Means_Based_Tolling_Q1Factor%, 1)*if(hhIncomeQ2=1, %Means_Based_Tolling_Q2Factor%, 1)

New expression, which has 3 parts:

  • Drive alone toll - Value toll - hhIncomeQ1: c_cost*(hhIncomeQ1)*min(%TripTollCap_Q1%, SOVTOLL_VTOLL[tripPeriod])*%Means_Based_Tolling_Q1Factor%
  • Drive alone toll - Value toll - first X% of hhIncomeQ2: c_cost*(hhIncomeQ2_firstXpercent)*min(%TripTollCap_firstXpercentOfQ2%, SOVTOLL_VTOLL[tripPeriod])*%Means_Based_Tolling_Q2Factor%
  • Drive alone toll - Value toll - rest of the hhlds: c_cost*if((hhIncomeQ1=1), 0, 1)*if((hhIncomeQ2_firstXpercent=1), 0, 1)*SOVTOLL_VTOLL[tripPeriod]*if(hhIncomeQ2=1, %Means_Based_Tolling_Q2Factor%, 1)

FlaviaTsang and others added 28 commits January 26, 2024 23:46
…g soon)

In the next update, where vtoll is 0, it will remain 0.
Minimum value toll (into a temp branch)
to make it easy to run this for any model runs (not just NGF)
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

Successfully merging this pull request may close these issues.

1 participant