-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(ABM-1403) Visualizer setup for comparing ActivitySim ouput with HTS
- Loading branch information
Showing
9 changed files
with
2,421 additions
and
0 deletions.
There are no files selected for viewing
206 changes: 206 additions & 0 deletions
206
input/visualizer/config/ActivitySim_vs_HTS/combine.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
runs: | ||
survey: VISUALIZER_PATH\hts | ||
model: VISUALIZER_PATH\data_pipeliner\output | ||
outpath: VISUALIZER_PATH\data | ||
tables: | ||
#activePertypeDistbn: | ||
# merge: | ||
# - PERTYPE | ||
autoOwnership: | ||
merge: | ||
- HHVEH | ||
avgStopOutofDirectionDist_vis: | ||
merge: | ||
- purpose | ||
dapSummary_vis: | ||
merge: | ||
- PERTYPE | ||
- activity_pattern | ||
total: | ||
PERTYPE: Total | ||
districtFlows: | ||
merge: | ||
- HDISTRICT | ||
- WDISTRICT | ||
total: | ||
HDISTRICT: Total | ||
dtype: | ||
freq: int | ||
hhSizeDist: | ||
merge: | ||
- HHSIZE | ||
hhsizeJoint: | ||
merge: | ||
- HHSIZE | ||
- JOINT | ||
inmSummary_vis: | ||
merge: | ||
- PERTYPE | ||
- nmtours | ||
total: | ||
PERTYPE: Total | ||
jointComp: | ||
merge: | ||
- tour_composition | ||
jointCompPartySize: | ||
merge: | ||
- tour_composition | ||
- NUMBER_HH | ||
total: | ||
tour_composition: Total | ||
dtype: | ||
freq: float | ||
jointPartySize: | ||
merge: | ||
- NUMBER_HH | ||
jointToursHHSize: | ||
merge: | ||
- jointCat | ||
- HHSIZE | ||
jtf: | ||
merge: | ||
- jtf | ||
- alt_name | ||
mandTLFD: | ||
merge: | ||
- distbin | ||
- District | ||
- purpose | ||
total: | ||
District: Total | ||
mandTLFD_et: | ||
merge: | ||
- distbin | ||
- District | ||
- purpose | ||
total: | ||
District: Total | ||
mandTripLengths: | ||
merge: | ||
- District | ||
- purpose | ||
mandTripLengths_et: | ||
merge: | ||
- District | ||
- purpose | ||
mtfSummary_vis: | ||
merge: | ||
- PERTYPE | ||
- imf_choice | ||
total: | ||
PERTYPE: Total | ||
nm_tour_rates: | ||
merge: | ||
- PERTYPE | ||
- tour_purp | ||
nonMandTripLengths: | ||
merge: | ||
- purpose | ||
nonMandTripLengths_et: | ||
merge: | ||
- purpose | ||
pertypeDistbn: | ||
merge: | ||
- PERTYPE | ||
rates: | ||
merge: | ||
- Variable | ||
resultsByPType: | ||
merge: | ||
- PERTYPE | ||
stopDC_vis: | ||
merge: | ||
- distbin | ||
- purpose | ||
total: | ||
purpose: Total | ||
dtype: | ||
freq: int | ||
stopDeparture_vis: | ||
merge: | ||
- stop_period | ||
- stop_skim_period | ||
- purpose | ||
dtype: | ||
freq: int | ||
total: | ||
purpose: Total | ||
stopFreqProfile_vis: | ||
merge: | ||
- num_stops | ||
- purpose | ||
- Direction | ||
total: | ||
purpose: Total | ||
stopPurposeByTourPurpose_vis: | ||
merge: | ||
- stop_purpose | ||
- tour_purpose | ||
total: | ||
tour_purpose: Total | ||
tmodeProfile_vis: | ||
merge: | ||
- OwnershipCategory | ||
- tour_mode | ||
- purpose | ||
total: | ||
OwnershipCategory: All Households | ||
purpose: Total | ||
todProfile_vis: | ||
merge: | ||
- period | ||
- skim_period | ||
- purpose | ||
total: | ||
purpose: Total | ||
totals: | ||
merge: | ||
- Variable | ||
pct_diff: | ||
value: | ||
- model | ||
- survey | ||
tourDistProfile_vis: | ||
merge: | ||
- distbin | ||
- purpose | ||
total: | ||
purpose: Total | ||
tourDistProfile_et_vis: | ||
merge: | ||
- distbin | ||
- purpose | ||
total: | ||
purpose: Total | ||
tourDuration: | ||
merge: | ||
- tourdur | ||
- purpose | ||
total: | ||
purpose: Total | ||
dtype: | ||
freq: int | ||
tours_pertype_purpose: | ||
merge: | ||
- PERTYPE | ||
- TOURPURP | ||
tripDeparture_vis: | ||
merge: | ||
- stop_period | ||
- stop_skim_period | ||
- tour_purpose | ||
dtype: | ||
freq: int | ||
total: | ||
tour_purpose: Total | ||
tripmodeProfile_vis: | ||
merge: | ||
- trip_mode | ||
- tour_mode | ||
- purpose | ||
total: | ||
purpose: Total | ||
tour_mode: Total | ||
wfh_summary: | ||
merge: | ||
- District |
81 changes: 81 additions & 0 deletions
81
input/visualizer/config/ActivitySim_vs_HTS/expressions.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
Description,Out Table,Out Col,In Table,Filter,In Col,Func,Group | ||
#,,,,,,, | ||
Auto Ownership,autoOwnership,freq,final_households,,finalweights,sum,HHVEH | ||
#,,,,,,, | ||
Household locations for workers in District 1,districtFlows,freq,final_persons,work_from_home==False and workplace_zone_id > 0,finalweights,sum,"HDISTRICT,WDISTRICT" | ||
Total number of workers by residence district,wfh_summary,Workers,final_persons,workplace_zone_id > 0,finalweights,sum,HDISTRICT | ||
Total number workers working from home in each district,wfh_summary,WFH,final_persons,work_from_home==True,finalweights,sum,HDISTRICT | ||
#,,,,,,, | ||
Daily Activity Pattern by Person Type,dapSummary_vis,freq,final_persons,,finalweights,sum,"PERTYPE,activity_pattern" | ||
Household Size Distribution,hhSizeDist,freq,final_households,,finalweights,sum,HHSIZE | ||
Joint Tours by Household Size,hhsizeJoint,freq,final_households,HHSIZE >= 2,finalweights,sum,"HHSIZE,JOINT" | ||
Number of Individual Non Mandatory Tours,inmSummary_vis,freq,final_persons,,finalweights,sum,"PERTYPE,nmtours" | ||
Joint Tour Composition,jointComp,freq,jointTourData_3,,finalweights,sum,tour_composition | ||
Joint Tour Composition by Party Size,jointCompPartySize,freq,jointTourData_3,,finalweights,sum,"tour_composition,NUMBER_HH" | ||
Joint Tours by Party Size,jointPartySize,freq,jointTourData_3,,finalweights,sum,NUMBER_HH | ||
Joint Tours by Household Size,jointToursHHSize,freq,final_households,HHSIZE >= 2,finalweights,sum,"jointCat,HHSIZE" | ||
Individual mandatory tour frequency choice by person type,mtfSummary_vis,freq,final_persons,imf_choice > 0,finalweights,sum,"PERTYPE,imf_choice" | ||
Person type distribution,pertypeDistbn,freq,final_persons,,finalweights,sum,PERTYPE | ||
Joint tour frequency,jtf,freq,final_households,,finalweights,sum,"jtf,alt_name" | ||
#,,,,,,, | ||
Outbound Work Tour Frequency,stopFreqProfile_vis,Inbound,tours,,finalweights,sum,"num_ob_stops,AGGPURP" | ||
Inbound Work Tour Frequency,stopFreqProfile_vis,Outbound,tours,,finalweights,sum,"num_ib_stops,AGGPURP" | ||
Total Work Tour Frequency,stopFreqProfile_vis,Total,tours,,finalweights,sum,"num_tot_stops,AGGPURP" | ||
#,,,,,,, | ||
Stops on work tours,stopPurposeByTourPurpose_vis,freq,trips,stops == 1,finalweights,sum,"DPURP,AGGPURP" | ||
#,,,,,,, | ||
Average non-mandatory tour length,nonMandTripLengths,avgDist,tours,TOURPURP >= 4 and is_internal_tour!=False,tour_distance,mean,AGGPURP | ||
Average non-mandatory tour length,nonMandTripLengthsTotal,avgDist,tours,TOURPURP >= 4 and is_internal_tour!=False,tour_distance,mean, | ||
Average non-mandatory tour length,nonMandTripLengths_et,avgDist,tours,TOURPURP >= 4 and is_external_tour!=False,tour_distance,mean,AGGPURP | ||
Average non-mandatory tour length,nonMandTripLengthsTotal_et,avgDist,tours,TOURPURP >= 4 and is_external_tour!=False,tour_distance,mean, | ||
#,,,,,,, | ||
Stops by stop departure period,stopDeparture_vis,freq,trips,stops == 1,finalweights,sum,"stop_period,AGGPURP" | ||
Trips by stop departure period,tripDeparture_vis,freq,trips,,finalweights,sum,"stop_period,AGGPURP" | ||
Tour mode by vehicle ownership category,tmodeProfile_vis,freq,hh_itours,,finalweights_x,sum,"AUTOSUFF,tour_mode,AGGPURP" | ||
Trip mode by tour mode,tripmodeProfile_vis,value,trips,,finalweights,sum,"trip_mode,tour_mode,AGGPURP" | ||
Tour Distance Distribution,tourDistProfile_vis,freq,tours,TOURPURP >= 4 and is_internal_tour!=False,finalweights,sum,"tourdistbin,AGGPURP" | ||
Tour Distance Distribution,tourDistProfile_et_vis,freq,tours,TOURPURP >= 4 and is_external_tour!=False,finalweights,sum,"tourdistbin,AGGPURP" | ||
#,,,,,,, | ||
Distance to work distribution,mandTLFD,Work,final_persons,work_from_home==False and workplace_zone_id > 0 and WorkLocationDistance > 0 and is_internal_worker==True,finalweights,sum,"workdistbin,HDISTRICT" | ||
Distance to university distribution,mandTLFD,University,final_persons,PERTYPE == 3 and school_zone_id > 0 and SchoolLocationDistance > 0 and is_internal_student==True,finalweights,sum,"schooldistbin,HDISTRICT" | ||
Distance to school distribution,mandTLFD,School,final_persons,PERTYPE >=6 and school_zone_id > 0 and SchoolLocationDistance > 0 and is_internal_student==True,finalweights,sum,"schooldistbin,HDISTRICT" | ||
Distance to work distribution,mandTLFD_et,Work,final_persons,work_from_home==False and workplace_zone_id > 0 and WorkLocationDistance > 0 and is_external_worker==True,finalweights,sum,"workdistbin,HDISTRICT" | ||
Distance to school distribution,mandTLFD_et,School,final_persons,PERTYPE >=6 and school_zone_id > 0 and SchoolLocationDistance > 0 and is_external_student==True,finalweights,sum,"schooldistbin,HDISTRICT" | ||
Distance to university distribution,mandTLFD_et,University,final_persons,PERTYPE == 3 and school_zone_id > 0 and SchoolLocationDistance > 0 and is_external_student==True,finalweights,sum,"schooldistbin,HDISTRICT" | ||
#,,,,,,, | ||
Average out of direction distance,avgStopOutofDirectionDist_vis,avgDist,trips,stops == 1,out_dir_dist,mean,AGGPURP | ||
Average out of direction distance,avgStopOutofDirectionDistTotal,avgDist,trips,stops == 1,out_dir_dist,mean, | ||
Histogram of out of direction distance,stopDC_vis,freq,trips,stops == 1,finalweights,sum,"out_dir_distbin,AGGPURP" | ||
Tour departures by time period,todProfile_vis,freq_dep,tours,,finalweights,sum,"start_period,AGGPURP" | ||
Tour arrivals by time period,todProfile_vis,freq_arr,tours,,finalweights,sum,"end_period,AGGPURP" | ||
Tour duration,tourDuration,freq,tours,,finalweights,sum,"tourdur,AGGPURP" | ||
#,,,,,,, | ||
Average distance to work,mandTripLengths,Work,final_persons,workplace_zone_id > 0 and work_from_home==False and is_internal_worker==True,WorkLocationDistance,mean,HDISTRICT | ||
Average distance to university,mandTripLengths,University,final_persons,PERTYPE == 3 and school_zone_id > 0 and is_internal_student==True,SchoolLocationDistance,mean,HDISTRICT | ||
Average distance to school,mandTripLengths,School,final_persons,PERTYPE >=6 and school_zone_id > 0 and is_internal_student==True,SchoolLocationDistance,mean,HDISTRICT | ||
Average distance to work,mandTripLengthsTotal,Work,final_persons,workplace_zone_id > 0 and work_from_home==False and is_internal_worker==True,WorkLocationDistance,mean, | ||
Average distance to university,mandTripLengthsTotal,University,final_persons,PERTYPE == 3 and school_zone_id > 0 and is_internal_student==True,SchoolLocationDistance,mean, | ||
Average distance to school,mandTripLengthsTotal,School,final_persons,PERTYPE >=6 and school_zone_id > 0 and is_internal_student==True,SchoolLocationDistance,mean, | ||
Average distance to work,mandTripLengths_et,Work,final_persons,workplace_zone_id > 0 and work_from_home==False and is_external_worker==True,WorkLocationDistance,mean,HDISTRICT | ||
Average distance to university,mandTripLengths_et,University,final_persons,PERTYPE == 3 and school_zone_id > 0 and is_external_student==True,SchoolLocationDistance,mean,HDISTRICT | ||
Average distance to school,mandTripLengths_et,School,final_persons,PERTYPE >=6 and school_zone_id > 0 and is_external_student==True,SchoolLocationDistance,mean,HDISTRICT | ||
Average distance to work,mandTripLengthsTotal_et,Work,final_persons,workplace_zone_id > 0 and work_from_home==False and is_external_worker==True,WorkLocationDistance,mean, | ||
Average distance to university,mandTripLengthsTotal_et,University,final_persons,PERTYPE == 3 and school_zone_id > 0 and is_external_student==True,SchoolLocationDistance,mean, | ||
Average distance to school,mandTripLengthsTotal_et,School,final_persons,PERTYPE >=6 and school_zone_id > 0 and is_external_student==True,SchoolLocationDistance,mean, | ||
#,,,,,,, | ||
Individual tours by person type,resultsByPType,itours,indivTourData_3,person_type > 0 and TOURPURP != 10,finalweights,sum,person_type | ||
Joint tours by person type,resultsByPType,jtours,temp_joint,PERTYPE > 0,finalweights,sum,PERTYPE | ||
Tours by purpose by person type,tours_pertype_purpose,freq,indivTourData_3,TOURPURP >= 4 and TOURPURP <= 9,finalweights,sum,"person_type,TOURPURP" | ||
Active people by person type,resultsByPType,active_persons,final_persons,activity_pattern != 'H',finalweights,sum,PERTYPE | ||
Individual tours by person type,resultsByPTypeTotal,itours,indivTourData_3,person_type > 0 and TOURPURP != 10,finalweights,sum, | ||
Joint tours by person type,resultsByPTypeTotal,jtours,temp_joint,,finalweights,sum, | ||
Active people by person type,resultsByPTypeTotal,active_persons,final_persons,activity_pattern != 'H',finalweights,sum, | ||
#,,,,,,, | ||
People by person type,nm_tour_rates,TotalPersons,final_persons,,finalweights,sum,PERTYPE | ||
Escort Tours by Person Type,nm_tour_rates,Escorting,indivTourData_3,TOURPURP == 4,finalweights,sum,PERTYPE | ||
Shopping Tours by Person Type,nm_tour_rates,Shopping,indivTourData_3,TOURPURP == 5,finalweights,sum,PERTYPE | ||
Maintenance Tours by Person Type,nm_tour_rates,Maintenance,indivTourData_3,TOURPURP == 6,finalweights,sum,PERTYPE | ||
EatingOut Tours by Person Type,nm_tour_rates,EatingOut,indivTourData_3,TOURPURP == 7,finalweights,sum,PERTYPE | ||
Visiting Tours by Person Type,nm_tour_rates,Visiting,indivTourData_3,TOURPURP == 8,finalweights,sum,PERTYPE | ||
Discretionary Tours by Person Type,nm_tour_rates,Discretionary,indivTourData_3,TOURPURP == 9,finalweights,sum,PERTYPE | ||
Total Non-Mandatory Tours by Person Type,nm_tour_rates,All,indivTourData_3,TOURPURP >= 4 and TOURPURP <= 9,finalweights,sum,PERTYPE |
Oops, something went wrong.