.. index:: tutorial .. index:: example .. _example : .. _examples : Example Models ============== Several example models are available in `ActivitySim's GitHub repository `__. This page describes, in more detail, a couple of example models included with ActivitySim from the MTC and SEMCOG regions. .. _prototype_mtc : prototype_mtc ------------- Introduction ~~~~~~~~~~~~ The initial example implemented in ActivitySim was prototype_mtc. This section described the prototype_mtc model design, how to setup and run the example, and how to review outputs. The default configuration of the example is limited to a small sample of households and zones so that it can be run quickly and require less than 1 GB of RAM. The full scale example can be configured and run as well. Model Design ~~~~~~~~~~~~ Overview ________ The prototype_mtc example is based on (but has evolved away from) the `Bay Area Metro Travel Model One `__ (TM1). TM1 has its roots in a wide array of analytical approaches, including discrete choice forms (multinomial and nested logit models), activity duration models, time-use models, models of individual micro-simulation with constraints, entropy-maximization models, etc. These tools are combined in the model design to realistically represent travel behavior, adequately replicate observed activity-travel patterns, and ensure model sensitivity to infrastructure and policies. The model is implemented in a micro-simulation framework. Microsimulation methods capture aggregate outcomes through the representation of the behavior of individual decision-makers. Zone System ___________ The prototype MTC model uses the 1454 TAZ zone system developed for the MTC trip-based model. The zones are fairly large for the region, which may somewhat distort the representation of transit access in mode choice. To ameliorate this problem, the original model zones were further sub-divided into three categories of transit access: short walk, long walk, and not walkable. However, support for transit subzones is not included in the activitysim implementation since the latest generation of activity-based models typically use an improved approach to spatial representation called multiple zone systems. See :ref:`multiple_zone_systems` for more information. Decision-making units _____________________ Decision-makers in the model system are households and persons. These decision-makers are created for each simulation year based on a population synthesis process such as `PopulationSim `__. The decision-makers are used in the subsequent discrete-choice models to select a single alternative from a list of available alternatives according to a probability distribution. The probability distribution is generated from various logit-form models which take into account the attributes of the decision-maker and the attributes of the various alternatives. The decision-making unit is an important element of model estimation and implementation, and is explicitly identified for each model. Person type segmentation ________________________ TM1 is implemented in a micro-simulation framework. A key advantage of the micro-simulation approach is that there are essentially no computational constraints on the number of explanatory variables which can be included in a model specification. However, even with this flexibility, the model system includes some segmentation of decision-makers. Segmentation is a useful tool both to structure models and also as a way to characterize person roles within a household. The person types shown below are used for the example model. The person types are mutually exclusive with respect to age, work status, and school status. +------------------+-----------------------------------------------------------+---------+------------------+---------------+ | Person Type Code | Person Type | Age | Work Status | School Status | +==================+===========================================================+=========+==================+===============+ | 1 | Full-time worker (30+ hours a week) | 18+ | Full-time | None | +------------------+-----------------------------------------------------------+---------+------------------+---------------+ | 2 | Part-time worker (<30 hours but works on a regular basis) | 18+ | Part-time | None | +------------------+-----------------------------------------------------------+---------+------------------+---------------+ | 3 | College student | 18+ | Any | College | +------------------+-----------------------------------------------------------+---------+------------------+---------------+ | 4 | Non-working adult | 18 - 64 | Unemployed | None | +------------------+-----------------------------------------------------------+---------+------------------+---------------+ | 5 | Retired person | 65+ | Unemployed | None | +------------------+-----------------------------------------------------------+---------+------------------+---------------+ | 6 | Driving age student | 16 - 17 | Any | Pre-college | +------------------+-----------------------------------------------------------+---------+------------------+---------------+ | 7 | Non-driving student | 6 - 16 | None | Pre-college | +------------------+-----------------------------------------------------------+---------+------------------+---------------+ | 8 | Pre-school child | 0 - 5 | None | Preschool | +------------------+-----------------------------------------------------------+---------+------------------+---------------+ Household type segments are useful for pre-defining certain data items (such as destination choice size terms) so that these data items can be pre-calculated for each segment. Precalculation of these data items reduces model complexity and runtime. The segmentation is based on household income, and includes four segments - low, medium, high, very high. In the model, the persons in each household are assigned a simulated but fixed value of time that modulates the relative weight the decision-maker places on time and cost. The probability distribution from which the value of time is sampled was derived from a toll choice model estimated using data from a stated preference survey performed for the SFCTA Mobility, Access, and Pricing Study, and is a lognormal distribution with a mean that varies by income segment. Activity type segmentation __________________________ The activity types are used in most model system components, from developing daily activity patterns and to predicting tour and trip destinations and modes by purpose. The set of activity types is shown below. The activity types are also grouped according to whether the activity is mandatory or non-mandatory and eligibility requirements are assigned determining which person-types can be used for generating each activity type. The classification scheme of each activity type reflects the relative importance or natural hierarchy of the activity, where work and school activities are typically the most inflexible in terms of generation, scheduling and location, and discretionary activities are typically the most flexible on each of these dimensions. Each out-of-home location that a person travels to in the simulation is assigned one of these activity types. +---------------------+--------------------------------------------------------------------------+---------------+---------------------------------------+ | Purpose | Description | Classification| Eligibility | +=====================+==========================================================================+===============+=======================================+ | Work | Working at regular workplace or work-related activities outside the home | Mandatory | Workers and students | +---------------------+--------------------------------------------------------------------------+---------------+---------------------------------------+ | University | College or university | Mandatory | Age 18+ | +---------------------+--------------------------------------------------------------------------+---------------+---------------------------------------+ | High School | Grades 9-12 | Mandatory | Age 14-17 | +---------------------+--------------------------------------------------------------------------+---------------+---------------------------------------+ | Grade School | Grades preschool, K-8 | Mandatory | Age 0-13 | +---------------------+--------------------------------------------------------------------------+---------------+---------------------------------------+ | Escorting | Pick-up/drop-off passengers (auto trips only) | NonMandatory | Age 16+ | +---------------------+--------------------------------------------------------------------------+---------------+---------------------------------------+ | Shopping | Shopping away from home | NonMandatory | Age 5+ (if joint travel, all persons) | +---------------------+--------------------------------------------------------------------------+---------------+---------------------------------------+ | Other Maintenance | Personal business/services and medical appointments | NonMandatory | Age 5+ (if joint travel, all persons) | +---------------------+--------------------------------------------------------------------------+---------------+---------------------------------------+ | Social/Recreational | Recreation, visiting friends/family | NonMandatory | Age 5+ (if joint travel, all persons) | +---------------------+--------------------------------------------------------------------------+---------------+---------------------------------------+ | Eat Out | Eating outside of home | NonMandatory | Age 5+ (if joint travel, all persons) | +---------------------+--------------------------------------------------------------------------+---------------+---------------------------------------+ | Other Discretionary | Volunteer work, religious activities | NonMandatory | Age 5+ (if joint travel, all persons) | +---------------------+--------------------------------------------------------------------------+---------------+---------------------------------------+ Treatment of time _________________ The TM1 example model system functions at a temporal resolution of one hour. These one hour increments begin with 3 AM and end with 3 AM the next day. Temporal integrity is ensured so that no activities are scheduled with conflicting time windows, with the exception of short activities/tours that are completed within a one hour increment. For example, a person may have a short tour that begins and ends within the 8 AM to 9 AM period, as well as a second longer tour that begins within this time period, but ends later in the day. A critical aspect of the model system is the relationship between the temporal resolution used for scheduling activities and the temporal resolution of the network assignment periods. Although each activity generated by the model system is identified with a start time and end time in one hour increments, LOS matrices are only created for five aggregate time periods. The trips occurring in each time period reference the appropriate transport network depending on their trip mode and the mid-point trip time. The definition of time periods for LOS matrices is given below. +---------------+------------+ | Time Period | Start Hour | +===============+============+ | EA | 3 | +---------------+------------+ | AM | 5 | +---------------+------------+ | MD | 9 | +---------------+------------+ | PM | 14 | +---------------+------------+ | EV | 18 | +---------------+------------+ Trip modes __________ The trip modes defined in the example model are below. The modes include auto by occupancy and toll/non-toll choice, walk and bike, walk and drive access to five different transit line-haul modes, and ride hail with taxi, single TNC (Transportation Network Company), and shared TNC. * Auto * SOV Free * SOV Pay * 2 Person Free * 2 Person Pay * 3+ Person Free * 3+ Person Pay * Nonmotorized * Walk * Bike * Transit * Walk * Walk to Local Bus * Walk to Light-Rail Transit * Walk to Express Bus * Walk to Bus Rapid Transit * Walk to Heavy Rail * Drive * Drive to Local Bus * Drive to Light-Rail Transit * Drive to Express Bus * Drive to Bus Rapid Transit * Drive to Heavy Rail * Ride Hail * Taxi * Single TNC * Shared TNC Sub-models __________ The general design of the prototype_mtc model is presented below. Long-term choices that relate to the usual workplace/university/school for each worker and student, household car ownership, and the availability of free parking at workplaces are first. The coordinated daily activity pattern type of each household member is the first travel-related sub-model in the hierarchy. This model classifies daily patterns by three types: * Mandatory, which includes at least one out-of-home mandatory activity (work or school) * Non-mandatory, which includes at least one out-of-home non-mandatory activity, but does not include out-of-home mandatory activities * Home, which does not include any out-of-home activity or travel The pattern type sub-model leaves open the frequency of tours for mandatory and nonmandatory purposes since these sub-models are applied later in the model sequence. Daily pattern-type choices of the household members are linked in such a way that decisions made by members are reflected in the decisions made by the other members. After the frequency and time-of-day for work and school tours are determined, the next major model component relates to joint household travel. This component produces a number of joint tours by travel purpose for the entire household, travel party composition in terms of adults and children, and then defines the participation of each household member in each joint household tour. It is followed by choice of destination and time-of-day. The next stage relates to maintenance and discretionary tours that are modeled at the individual person level. The models include tour frequency, choice of destination and time of day. Next, a set of sub-models relate tour-level details on mode, exact number of intermediate stops on each half-tour and stop location. It is followed by the last set of sub-models that add details for each trip including trip departure time, trip mode details and parking location for auto trips. .. image:: images/abmexample.jpg The output of the model is a disggregate table of trips with individual attributes for custom analysis. The trips can be aggregated into travel demand matrices for network loading. Setup ~~~~~ The following describes the prototype_mtc model setup. Folder and File Setup The prototype_mtc has the following root folder/file setup: * configs - settings, expressions files, etc. * configs_mp - override settings for the multiprocess configuration * data - input data such as land use, synthetic population files, and network LOS / skims * output - outputs folder Inputs ______ In order to run prototype_mtc, you first need the input files in the ``data`` folder as identified in the ``configs\settings.yaml`` file and the ``configs\network_los.yaml`` file: * input_table_list: the input CSV tables for MTC (see below for column definitions): * households - Synthetic population household records for a subset of zones. * persons - Synthetic population person records for a subset of zones. * land_use - Zone-based land use data (population and employment for example) for a subset of zones. * taz_skims: skims.omx - an OMX matrix file containing the MTC TM1 skim matrices for a subset of zones. The time period for the matrix must be represented at the end of the matrix name and be seperated by a double_underscore (e.g. BUS_IVT__AM indicates base skim BUS_IVT with a time period of AM). These files are used in the tests as well. The full set of MTC households, persons, and OMX skims are on the ActivitySim `resources repository `__. Additional details on these files is available in the original `Travel Model 1 repository `_, although many of the files described there are not used in ActivitySim. Data Schema +++++++++++ The following table lists the pipeline data tables, field names, the data types and other details associated with each table in the model: +----------------------------+-------------------------------+---------+------------------------------+------+------+ | Table | Field | DType | Creator |NCol |NRow | +============================+===============================+=========+==============================+======+======+ | accessibility | auPkRetail | float32 | compute_accessibility | 10 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | accessibility | auPkTotal | float32 | compute_accessibility | 10 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | accessibility | auOpRetail | float32 | compute_accessibility | 10 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | accessibility | auOpTotal | float32 | compute_accessibility | 10 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | accessibility | trPkRetail | float32 | compute_accessibility | 10 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | accessibility | trPkTotal | float32 | compute_accessibility | 10 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | accessibility | trOpRetail | float32 | compute_accessibility | 10 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | accessibility | trOpTotal | float32 | compute_accessibility | 10 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | accessibility | nmRetail | float32 | compute_accessibility | 10 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | accessibility | nmTotal | float32 | compute_accessibility | 10 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | TAZ | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | SERIALNO | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | PUMA5 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | income | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hhsize | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | HHT | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | UNITTYPE | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | NOC | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | BLDGSZ | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | TENURE | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | VEHICL | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hinccat1 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hinccat2 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hhagecat | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hsizecat | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hfamily | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hunittype | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hNOCcat | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hwrkrcat | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | h0004 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | h0511 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | h1215 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | h1617 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | h1824 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | h2534 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | h3549 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | h5064 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | h6579 | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | h80up | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_workers | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hwork_f | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hwork_p | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | huniv | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hnwork | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hretire | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hpresch | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hschpred | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hschdriv | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | htypdwel | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hownrent | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hadnwst | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hadwpst | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hadkids | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | bucketBin | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | originalPUMA | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hmultiunit | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | chunk_id | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | income_in_thousands | float64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | income_segment | int32 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | median_value_of_time | float64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hh_value_of_time | float64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_non_workers | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_drivers | int8 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_adults | int8 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_children | int8 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_young_children | int8 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_children_5_to_15 | int8 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_children_16_to_17 | int8 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_college_age | int8 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_young_adults | int8 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | non_family | bool | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | family | bool | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | home_is_urban | bool | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | home_is_rural | bool | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | auto_ownership | int64 | initialize_households | 65 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | hh_work_auto_savings_ratio | float32 | workplace_location | 66 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_under16_not_at_school | int8 | cdap_simulate | 73 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_travel_active | int8 | cdap_simulate | 73 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_travel_active_adults | int8 | cdap_simulate | 73 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_travel_active_preschoolers| int8 | cdap_simulate | 73 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_travel_active_children | int8 | cdap_simulate | 73 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households |num_travel_active_non_presch | int8 | cdap_simulate | 73 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | participates_in_jtf_model | int8 | cdap_simulate | 73 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | joint_tour_frequency | object | joint_tour_frequency | 75 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | households | num_hh_joint_tours | int8 | joint_tour_frequency | 75 | 100 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | joint_tour_participants | tour_id | int64 | joint_tour_participation | 4 | 13 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | joint_tour_participants | household_id | int64 | joint_tour_participation | 4 | 13 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | joint_tour_participants | person_id | int64 | joint_tour_participation | 4 | 13 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | joint_tour_participants | participant_num | int64 | joint_tour_participation | 4 | 13 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | DISTRICT | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | SD | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | county_id | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | TOTHH | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | HHPOP | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | TOTPOP | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | EMPRES | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | SFDU | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | MFDU | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | HHINCQ1 | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | HHINCQ2 | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | HHINCQ3 | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | HHINCQ4 | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | TOTACRE | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | RESACRE | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | CIACRE | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | SHPOP62P | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | TOTEMP | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | AGE0004 | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | AGE0519 | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | AGE2044 | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | AGE4564 | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | AGE65P | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | RETEMPN | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | FPSEMPN | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | HEREMPN | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | OTHEMPN | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | AGREMPN | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | MWTEMPN | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | PRKCST | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | OPRKCST | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | area_type | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | HSENROLL | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | COLLFTE | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | COLLPTE | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | TOPOLOGY | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | TERMINAL | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | ZERO | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | hhlds | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | sftaz | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | gqpop | int64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | household_density | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | employment_density | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | land_use | density_index | float64 | initialize_landuse | 44 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 4 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 5 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 6 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 7 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 8 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 9 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 10 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 11 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 12 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 13 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 14 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 15 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 16 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 17 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 18 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 19 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 20 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 21 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 22 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 23 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | person_windows | 24 | int8 | initialize_households | 21 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | household_id | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | age | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | RELATE | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | ESR | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | GRADE | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | PNUM | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | PAUG | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | DDP | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | sex | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | WEEKS | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | HOURS | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | MSP | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | POVERTY | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | EARNS | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | pagecat | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | pemploy | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | pstudent | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | ptype | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | padkid | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | age_16_to_19 | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | age_16_p | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | adult | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | male | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | female | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | has_non_worker | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | has_retiree | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | has_preschool_kid | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | has_driving_kid | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | has_school_kid | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | has_full_time | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | has_part_time | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | has_university | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | student_is_employed | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | nonstudent_to_school | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | is_student | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | is_gradeschool | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | is_highschool | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | is_university | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | school_segment | int8 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | is_worker | bool | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | home_taz | int64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | value_of_time | float64 | initialize_households | 42 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | school_taz | int32 | school_location | 45 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | distance_to_school | float32 | school_location | 45 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | roundtrip_auto_time_to_school | float32 | school_location | 45 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | workplace_taz | int32 | workplace_location | 52 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | distance_to_work | float32 | workplace_location | 52 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | workplace_in_cbd | bool | workplace_location | 52 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | work_zone_area_type | float64 | workplace_location | 52 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | roundtrip_auto_time_to_work | float32 | workplace_location | 52 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | work_auto_savings | float32 | workplace_location | 52 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | work_auto_savings_ratio | float32 | workplace_location | 52 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | free_parking_at_work | bool | free_parking | 53 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | cdap_activity | object | cdap_simulate | 59 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | cdap_rank | int64 | cdap_simulate | 59 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | travel_active | bool | cdap_simulate | 59 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | under16_not_at_school | bool | cdap_simulate | 59 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | has_preschool_kid_at_home | bool | cdap_simulate | 59 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | has_school_kid_at_home | bool | cdap_simulate | 59 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | mandatory_tour_frequency | object | mandatory_tour_frequency | 64 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | work_and_school_and_worker | bool | mandatory_tour_frequency | 64 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | work_and_school_and_student | bool | mandatory_tour_frequency | 64 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | num_mand | int8 | mandatory_tour_frequency | 64 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | num_work_tours | int8 | mandatory_tour_frequency | 64 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | num_joint_tours | int8 | joint_tour_participation | 65 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | non_mandatory_tour_frequency | int8 | non_mandatory_tour_frequency | 74 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | num_non_mand | int8 | non_mandatory_tour_frequency | 74 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | num_escort_tours | int8 | non_mandatory_tour_frequency | 74 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | num_eatout_tours | int8 | non_mandatory_tour_frequency | 74 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | num_shop_tours | int8 | non_mandatory_tour_frequency | 74 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | num_maint_tours | int8 | non_mandatory_tour_frequency | 74 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | num_discr_tours | int8 | non_mandatory_tour_frequency | 74 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | num_social_tours | int8 | non_mandatory_tour_frequency | 74 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | persons | num_non_escort_tours | int8 | non_mandatory_tour_frequency | 74 | 271 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | school_destination_size | gradeschool | float64 | initialize_households | 3 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | school_destination_size | highschool | float64 | initialize_households | 3 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | school_destination_size | university | float64 | initialize_households | 3 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | school_modeled_size | gradeschool | int32 | school_location | 3 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | school_modeled_size | highschool | int32 | school_location | 3 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | school_modeled_size | university | int32 | school_location | 3 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | person_id | int64 | mandatory_tour_frequency | 11 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | tour_type | object | mandatory_tour_frequency | 11 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | tour_type_count | int64 | mandatory_tour_frequency | 11 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | tour_type_num | int64 | mandatory_tour_frequency | 11 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | tour_num | int64 | mandatory_tour_frequency | 11 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | tour_count | int64 | mandatory_tour_frequency | 11 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | tour_category | object | mandatory_tour_frequency | 11 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | number_of_participants | int64 | mandatory_tour_frequency | 11 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | destination | int32 | mandatory_tour_frequency | 11 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | origin | int64 | mandatory_tour_frequency | 11 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | household_id | int64 | mandatory_tour_frequency | 11 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | start | int8 | mandatory_tour_scheduling | 15 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | end | int8 | mandatory_tour_scheduling | 15 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | duration | int8 | mandatory_tour_scheduling | 15 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | tdd | int64 | mandatory_tour_scheduling | 15 | 153 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | composition | object | joint_tour_composition | 16 | 159 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | tour_mode | object | tour_mode_choice_simulate | 17 | 319 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | atwork_subtour_frequency | object | atwork_subtour_frequency | 19 | 344 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | parent_tour_id | float64 | atwork_subtour_frequency | 19 | 344 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | stop_frequency | object | stop_frequency | 21 | 344 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | tours | primary_purpose | object | stop_frequency | 21 | 344 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | person_id | int64 | stop_frequency | 7 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | household_id | int64 | stop_frequency | 7 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | tour_id | int64 | stop_frequency | 7 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | primary_purpose | object | stop_frequency | 7 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | trip_num | int64 | stop_frequency | 7 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | outbound | bool | stop_frequency | 7 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | trip_count | int64 | stop_frequency | 7 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | purpose | object | trip_purpose | 8 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | destination | int32 | trip_destination | 11 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | origin | int32 | trip_destination | 11 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | failed | bool | trip_destination | 11 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | depart | float64 | trip_scheduling | 11 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | trips | trip_mode | object | trip_mode_choice | 12 | 859 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | workplace_destination_size | work_high | float64 | initialize_households | 4 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | workplace_destination_size | work_low | float64 | initialize_households | 4 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | workplace_destination_size | work_med | float64 | initialize_households | 4 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | workplace_destination_size | work_veryhigh | float64 | initialize_households | 4 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | workplace_modeled_size | work_high | int32 | workplace_location | 4 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | workplace_modeled_size | work_low | int32 | workplace_location | 4 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | workplace_modeled_size | work_med | int32 | workplace_location | 4 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ | workplace_modeled_size | work_veryhigh | int32 | workplace_location | 4 | 1454 | +----------------------------+-------------------------------+---------+------------------------------+------+------+ Households ++++++++++ The households table contains the following synthetic population columns: * household_id: numeric ID of this household, used in persons table to join with household characteristics * TAZ: zone where this household lives * income: Annual household income, in 2000 dollars * hhsize: Household size * HHT: Household type (see below) * auto_ownership: number of cars owned by this household (0-6) * num_workers: number of workers in the household * sample_rate Household types """"""""""""""" These are household types defined by the Census Bureau and used in `ACS table B11001 `_. +------+------------------------------------------+ | Code | Description | +======+==========================================+ | 0 | None | +------+------------------------------------------+ | 1 | Married-couple family | +------+------------------------------------------+ | 2 | Male householder, no spouse present | +------+------------------------------------------+ | 3 | Female householder, no spouse present | +------+------------------------------------------+ | 4 | Nonfamily household, male alone | +------+------------------------------------------+ | 5 | Nonfamily household, male not alone | +------+------------------------------------------+ | 6 | Nonfamily household, female alone | +------+------------------------------------------+ | 7 | Nonfamily household, female not alone | +------+------------------------------------------+ Persons +++++++ This table describes attributes of the persons that constitute each household. This file contains the following columns: * person_id: Unique integer identifier for each person. This value is globally unique, i.e. no two individuals have the same person ID, even if they are in different households. * household_id: Household identifier for this person, foreign key to households table * age: Age in years * PNUM: Person number in household, starting from 1. * sex: Sex, 1 = Male, 2 = Female * pemploy: Employment status (see below) * pstudent: Student status (see below) * ptype: Person type (see person type segmentation above) Employment status """"""""""""""""" +------+------------------------------------------+ | Code | Description | +======+==========================================+ | 1 | Full-time worker | +------+------------------------------------------+ | 2 | Part-time worker | +------+------------------------------------------+ | 3 | Not in labor force | +------+------------------------------------------+ | 4 | Student under 16 | +------+------------------------------------------+ Student status """""""""""""" +------+------------------------------------------+ | Code | Description | +======+==========================================+ | 1 | Preschool through Grade 12 student | +------+------------------------------------------+ | 2 | University/professional school student | +------+------------------------------------------+ | 3 | Not a student | +------+------------------------------------------+ Land use ++++++++ All values are raw numbers and not proportions of the total. * TAZ: Zone which this row describes * DISTRICT: Superdistrict where this TAZ is (34 superdistricts in the Bay Area) * SD: Duplicate of DISTRICT * COUNTY: County within the Bay Area (see below) * TOTHH: Total households in TAZ * TOTPOP: Total population in TAZ * TOTACRE: Area of TAZ, acres * RESACRE: Residential area of TAZ, acres * CIACRE: Commercial/industrial area of TAZ, acres * TOTEMP: Total employment * AGE0519: Persons age 5 to 19 (inclusive) * RETEMPN: NAICS-based total retail employment * FPSEMPN: NAICS-based financial and professional services employment * HEREMPN: NAICS-based health, education, and recreational service employment * AGREMPN: NAICS-based agricultural and natural resources employment * MWTEMPN: NAICS-based manufacturing and wholesale trade employment * OTHEMP: NAICS-based other employment * PRKCST: Hourly cost paid by long-term (8+ hours) parkers, year 2000 cents * OPRKCST: Hourly cost paid by short term parkers, year 2000 cents * area_type: Area type designation (see below) * HSENROLL: High school students enrolled at schools in this TAZ * COLLFTE: College students enrolled full-time at colleges in this TAZ * COLLPTE: College students enrolled part-time at colleges in this TAZ * TERMINAL: Average time to travel from automobile storage location to origin/destination (floating-point minutes) Counties """""""" +------+------------------------------------------+ | Code | Name | +======+==========================================+ | 1 | San Francisco | +------+------------------------------------------+ | 2 | San Mateo | +------+------------------------------------------+ | 3 | Santa Clara | +------+------------------------------------------+ | 4 | Alameda | +------+------------------------------------------+ | 5 | Contra Costa | +------+------------------------------------------+ | 6 | Solano | +------+------------------------------------------+ | 7 | Napa | +------+------------------------------------------+ | 8 | Sonoma | +------+------------------------------------------+ | 9 | Marin | +------+------------------------------------------+ Area types """""""""" +------+------------------------------------------+ | Code | Description | +======+==========================================+ | 0 | Regional core | +------+------------------------------------------+ | 1 | Central business district | +------+------------------------------------------+ | 2 | Urban business | +------+------------------------------------------+ | 3 | Urban | +------+------------------------------------------+ | 4 | Suburban | +------+------------------------------------------+ | 5 | Rural | +------+------------------------------------------+ .. note:: ActivitySim can optionally build an HDF5 file of the input CSV tables for use in subsequent runs since HDF5 is binary and therefore results in faster read times. see :ref:`configuration` OMX and HDF5 files can be viewed with the `OMX Viewer `__ or `HDFView `__. The ``other_resources\scripts\build_omx.py`` script will build one OMX file containing all the skims. The original MTC TM1 skims were converted for the prototype from Cube to OMX using the ``other_resources\scripts\mtc_tm1_omx_export.s`` script. The prototype_mtc_sf inputs were created by the ``other_resources\scripts\create_sf_example.py`` script, which creates the land use, synthetic population, and skim inputs for a subset of user-defined zones. .. index:: skims .. index:: omx_file .. index:: skim matrices .. _skims: Skims _____ The injectables and omx_file for the example are listed below. The skims are float64 matrix. Skims are named ___