Skip to content

Commit

Permalink
Merge pull request #273 from SANDAG/revert-267-add_ff_boarding_attrs
Browse files Browse the repository at this point in the history
Revert "Add flexible fleet boarding attributes"
  • Loading branch information
JoeJimFlood authored Dec 6, 2024
2 parents 7b7110f + aba6fb2 commit 3c613d0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 52 deletions.
10 changes: 9 additions & 1 deletion src/asim/configs/common/outputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,14 @@ trips:
costFareTransit: cost_fare_transit
costTotal: cost_total
transfersTransit: transfers_transit
microtransit_mix_access_available_out: microtransit_access_available_out
nev_mix_access_available_out: nev_access_available_out
microtransit_mix_egress_available_out: microtransit_egress_available_out
nev_mix_egress_available_out: nev_egress_available_out
microtransit_mix_access_available_in: microtransit_access_available_in
nev_mix_access_available_in: nev_access_available_in
microtransit_mix_egress_available_in: microtransit_egress_available_in
nev_mix_egress_available_in: nev_egress_available_in

households:
remove_columns:
Expand Down Expand Up @@ -899,4 +907,4 @@ tours:
- free_parking_at_work

rename_columns:
vehicle_occup_3.5: vehicle_occup_3_5
vehicle_occup_3.5: vehicle_occup_3_5
Original file line number Diff line number Diff line change
Expand Up @@ -434,16 +434,4 @@ Description,Target,Expression
,time_total,df.time_walk + timeDrive + df.time_wait_drive + time_transit_wait + timeTransitInVehicle
#,,
,value_of_time_category_id,"np.where(vot_1,1,np.where(vot_2,2,3))"
#Flexible fleet access/egress availability,,
,microtransit_egress_available_out,trips.microtransit_local_egress_available_out | trips.microtransit_prm_egress_available_out | trips.microtransit_mix_egress_available_out
,microtransit_access_available_in,trips.microtransit_local_access_available_in | trips.microtransit_prm_access_available_in | trips.microtransit_mix_access_available_in
,nev_egress_available_out,trips.nev_local_egress_available_out | trips.nev_prm_egress_available_out | trips.nev_mix_egress_available_out
,nev_access_available_in,trips.nev_local_access_available_in | trips.nev_prm_access_available_in | trips.nev_mix_access_available_in
#Flexible fleet boardings,,
,_transit_trip,"(trips.trip_mode == 'WALK_LOC') | (trips.trip_mode == 'WALK_PRM') | (trips.trip_mode == 'WALK_MIX')"
,microtransit_boarding,"trips.microtransit_available & (trips.trip_mode == 'TNC_SHARED')"
,microtransit_outbound_egress_boarding,"outbound & microtransit_egress_available_out & _transit_trip"
,microtransit_inbound_access_boarding,"inbound & microtransit_access_available_in & _transit_trip"
,nev_boarding,"trips.nev_available & (trips.trip_mode == 'TNC_SHARED')"
,nev_outbound_egress_boarding,"outbound & nev_egress_available_out & _transit_trip"
,nev_inbound_access_boarding,"inbound & nev_access_available_in & _transit_trip"
#,,
Original file line number Diff line number Diff line change
Expand Up @@ -483,28 +483,3 @@ Description,Target,Expression
,origin_purpose,"np.where(trips.trip_count == 1 & (trips.primary_purpose == 'atwork'), 'work', origin_purpose)"
,origin_purpose,"np.where((trips.trip_count > 1) & (trips.trip_num==1) & (trips.outbound), 'home', origin_purpose)"
,origin_purpose,"np.where(((trips.trip_count > 1) & (trips.trip_num>1)) | ((trips.trip_count > 1) & (trips.trip_num==1) & ~(trips.outbound)), trips['purpose'].shift(1), origin_purpose)"
#Flexible fleet access/egress availability,,
,microtransit_access_available_out,trips.microtransit_local_access_available_out | trips.microtransit_prm_access_available_out | trips.microtransit_mix_access_available_out
,microtransit_egress_available_out,trips.microtransit_local_egress_available_out | trips.microtransit_prm_egress_available_out | trips.microtransit_mix_egress_available_out
,microtransit_access_available_in,trips.microtransit_local_access_available_in | trips.microtransit_prm_access_available_in | trips.microtransit_mix_access_available_in
,microtransit_egress_available_in,trips.microtransit_local_egress_available_in | trips.microtransit_prm_egress_available_in | trips.microtransit_mix_egress_available_in
,nev_access_available_out,trips.nev_local_access_available_out | trips.nev_prm_access_available_out | trips.nev_mix_access_available_out
,nev_egress_available_out,trips.nev_local_egress_available_out | trips.nev_prm_egress_available_out | trips.nev_mix_egress_available_out
,nev_access_available_in,trips.nev_local_access_available_in | trips.nev_prm_access_available_in | trips.nev_mix_access_available_in
,nev_egress_available_in,trips.nev_local_egress_available_in | trips.nev_prm_egress_available_in | trips.nev_mix_egress_available_in
#Flexible fleet boardings,,
,_walk_to_transit_trip,"(trips.trip_mode == 'WALK_LOC') | (trips.trip_mode == 'WALK_PRM') | (trips.trip_mode == 'WALK_MIX')"
,_pnr_to_transit_trip,"(trips.trip_mode == 'PNR_LOC') | (trips.trip_mode == 'PNR_PRM') | (trips.trip_mode == 'PNR_MIX')"
,_knr_to_transit_trip,"(trips.trip_mode == 'KNR_LOC') | (trips.trip_mode == 'KNR_PRM') | (trips.trip_mode == 'KNR_MIX')"
,_tnc_to_transit_trip,"(trips.trip_mode == 'TNC_LOC') | (trips.trip_mode == 'TNC_PRM') | (trips.trip_mode == 'TNC_MIX')"
,_transit_trip,"_walk_to_transit_trip | _pnr_to_transit_trip | _knr_to_transit_trip | _tnc_to_transit_trip"
,microtransit_boarding,"trips.microtransit_available & (trips.trip_mode == 'TNC_SHARED')"
,microtransit_outbound_access_boarding,"outbound & microtransit_access_available_out & _tnc_to_transit_trip"
,microtransit_outbound_egress_boarding,"outbound & microtransit_egress_available_out & _transit_trip"
,microtransit_inbound_access_boarding,"inbound & microtransit_access_available_in & _transit_trip"
,microtransit_inbound_egress_boarding,"inbound & microtransit_egress_available_in & _tnc_to_transit_trip"
,nev_boarding,"trips.nev_available & (trips.trip_mode == 'TNC_SHARED')"
,nev_outbound_access_boarding,"outbound & nev_access_available_out & _tnc_to_transit_trip"
,nev_outbound_egress_boarding,"outbound & nev_egress_available_out & _transit_trip"
,nev_inbound_access_boarding,"inbound & nev_access_available_in & _transit_trip"
,nev_inbound_egress_boarding,"inbound & nev_egress_available_in & _tnc_to_transit_trip"
Original file line number Diff line number Diff line change
Expand Up @@ -401,16 +401,3 @@ Description,Target,Expression
,time_total,df.time_walk + timeBike + timeDrive + df.time_wait_drive + time_transit_wait + timeTransitInVehicle
#,,
,value_of_time_category_id,"np.where(vot1,1,np.where(vot2,2,3))"
#Flexible fleet access/egress availability,,
,microtransit_egress_available_out,trips.microtransit_local_egress_available_out | trips.microtransit_prm_egress_available_out | trips.microtransit_mix_egress_available_out
,microtransit_access_available_in,trips.microtransit_local_access_available_in | trips.microtransit_prm_access_available_in | trips.microtransit_mix_access_available_in
,nev_egress_available_out,trips.nev_local_egress_available_out | trips.nev_prm_egress_available_out | trips.nev_mix_egress_available_out
,nev_access_available_in,trips.nev_local_access_available_in | trips.nev_prm_access_available_in | trips.nev_mix_access_available_in
#Flexible fleet boardings,,
,_transit_trip,"(trips.trip_mode == 'WALK_LOC') | (trips.trip_mode == 'WALK_PRM') | (trips.trip_mode == 'WALK_MIX')"
,microtransit_boarding,"trips.microtransit_available & (trips.trip_mode == 'TNC_SHARED')"
,microtransit_outbound_egress_boarding,"outbound & microtransit_egress_available_out & _transit_trip"
,microtransit_inbound_access_boarding,"inbound & microtransit_access_available_in & _transit_trip"
,nev_boarding,"trips.nev_available & (trips.trip_mode == 'TNC_SHARED')"
,nev_outbound_egress_boarding,"outbound & nev_egress_available_out & _transit_trip"
,nev_inbound_access_boarding,"inbound & nev_access_available_in & _transit_trip"

0 comments on commit 3c613d0

Please sign in to comment.