LBNL-UCB-STI / PILATES

Platform for Integrated Landuse and Transportation Experiments and Simulations
Other
3 stars 1 forks source link

TODO: Add wheelchair accessibility limitations to workflow #25

Open zneedell opened 1 year ago

zneedell commented 1 year ago

Here's a list of changes that need to happen for us to successfully reproduce the wheelchair accessibility runs within PILATES:

to something that accounts for the requires_wheelchair attribute, so e.g. something like

np.where(df.requires_wheelchair,odt_skims['RH_SOLO_ACCESSIBLE_WAIT'] * (1.0 - odt_skims['RH_SOLO_ACCESSIBLE_REJECTIONPROB']) + TNC_missed_trip_penalty * odt_skims['RH_SOLO_ACCESSIBLE_REJECTIONPROB'],odt_skims['RH_SOLO_WAIT'] * (1.0 - odt_skims['RH_SOLO_REJECTIONPROB']) + TNC_missed_trip_penalty * odt_skims['RH_SOLO_REJECTIONPROB'])

I'm hoping that requires_wheelchair will automatically make it over to df, but it might take some additional work if not. @nazanin87

cristian-poliziani commented 1 year ago

Great, thanks Zach and Cristian. I'll take a look at the scripts and documents by tomorrow's meeting.

On Thu, Aug 18, 2022 at 11:41 AM Cristian Poliziani @.***> wrote:

That sounds great, thank you Zach for putting together all that and @Nazanin Rezaei @.***> feel free to write to me or plan a meeting with me when needed.

Cristian

On Thu, Aug 18, 2022 at 11:34 AM Zach Needell @.***> wrote:

Here's a list of changes that need to happen for us to successfully reproduce the wheelchair accessibility runs within PILATES:

odt_skims['RH_SOLO_WAIT'] (1.0 - odt_skims['RH_SOLO_REJECTIONPROB']) + TNC_missed_trip_penalty odt_skims['RH_SOLO_REJECTIONPROB']

to something that accounts for the requires_wheelchair attribute, so e.g. something like

np.where(df.requires_wheelchair,odt_skims['RH_SOLO_WHEELCHAIR_WAIT'] (1.0 - odt_skims['RH_SOLO_WHEELCHAIR_REJECTIONPROB']) + TNC_missed_trip_penalty odt_skims['RH_SOLO_WHEELCHAIR_REJECTIONPROB'],odt_skims['RH_SOLO_WAIT'] (1.0 - odt_skims['RH_SOLO_REJECTIONPROB']) + TNC_missed_trip_penalty odt_skims['RH_SOLO_REJECTIONPROB'])

I'm hoping that requires_wheelchair will automatically make it over to df, but it might take some additional work if not. @nazanin87 https://github.com/nazanin87

— Reply to this email directly, view it on GitHub https://github.com/LBNL-UCB-STI/PILATES/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYPABKCG4FF2HETIWRAHQCTVZZ623ANCNFSM566EDPDA . You are receiving this because you were mentioned.Message ID: @.***>

zneedell commented 1 year ago

Draft PR that should allow this on the skims end in PILATES: https://github.com/LBNL-UCB-STI/PILATES/pull/26

cristian-poliziani commented 1 year ago

That sounds great, thank you Zach for putting together all that and @Nazanin Rezaei @.***> feel free to write to me or plan a meeting with me when needed.

Cristian

On Thu, Aug 18, 2022 at 11:34 AM Zach Needell @.***> wrote:

Here's a list of changes that need to happen for us to successfully reproduce the wheelchair accessibility runs within PILATES:

odt_skims['RH_SOLO_WAIT'] (1.0 - odt_skims['RH_SOLO_REJECTIONPROB']) + TNC_missed_trip_penalty odt_skims['RH_SOLO_REJECTIONPROB']

to something that accounts for the requires_wheelchair attribute, so e.g. something like

np.where(df.requires_wheelchair,odt_skims['RH_SOLO_WHEELCHAIR_WAIT'] (1.0 - odt_skims['RH_SOLO_WHEELCHAIR_REJECTIONPROB']) + TNC_missed_trip_penalty odt_skims['RH_SOLO_WHEELCHAIR_REJECTIONPROB'],odt_skims['RH_SOLO_WAIT'] (1.0 - odt_skims['RH_SOLO_REJECTIONPROB']) + TNC_missed_trip_penalty odt_skims['RH_SOLO_REJECTIONPROB'])

I'm hoping that requires_wheelchair will automatically make it over to df, but it might take some additional work if not. @nazanin87 https://github.com/nazanin87

— Reply to this email directly, view it on GitHub https://github.com/LBNL-UCB-STI/PILATES/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYPABKCG4FF2HETIWRAHQCTVZZ623ANCNFSM566EDPDA . You are receiving this because you were mentioned.Message ID: @.***>