Skip to content

How to Create Base Year Inputs πŸ“Š ΒΆ

The current base year is 2023.

Synthetic Population πŸ‘₯πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ ΒΆ

Overview ΒΆ

The 2023 population is synthesized using the code in this GitHub repository: populationsim/tm2/bay_area

Getting Started ΒΆ

To get started creating the 2023 population, read the README on this page: populationsim/tm2

Output Files ΒΆ

When you complete the synthetic population run, there will be 3 files that need to be moved and copied to your model input directory on Box.

Update Required

You will need to update this script with your Box location: copy_tm2_landuse_files.py

Files Generated: ΒΆ

MAZ Data Files: - maz_data.csv - maz_data_withDensity.csv

Population Files: - households_2023_tm2.csv β†’ renamed to households.csv - persons_2023_tm2.csv β†’ renamed to persons.csv

Land Use Data 🏘️ ¢

MAZ Data Files ΒΆ

The MAZ households and persons data comes from the new synthetic population process.

Network Compatibility

We have a new MAZ specification with some of the MAZs merged, so we could run into problems with network mismatch later (because the MAZs on the network haven’t been updated).

Data Processing ΒΆ

This processing happens in the create_baseyear_controls_23_tm2.py script. View on GitHub

Employment Data πŸ’Ό ΒΆ

The employment data comes from ESRI Business Analyst. We needed to figure out a way to quickly get to the needed 23 categories of data.

Data Quality

We aren’t 100% sure about its quality, but we’ve done some basic checks. We hope to move to an open source option in the future.

Other Data Sources πŸ“‹ ΒΆ

  • Parking data and other data has not been updated since 2015
  • We need to figure out an approach for updating this legacy data

Data Integration ΒΆ

To combine the updated employment data with other legacy data like enrollment, use this script: update_emp.py

Process Summary πŸ”„ ΒΆ

  1. Generate Synthetic Population πŸ‘₯
  2. Run populationsim for 2023 base year
  3. Produces households and persons files

  4. Process MAZ Data 🏘️

  5. Combine population data with employment data
  6. Integrate with legacy parking and enrollment data

  7. Copy to Model Directory πŸ“‚

  8. Move files to Box input directory
  9. Rename files according to model conventions

Detailed Guides πŸ“š ΒΆ

For more detailed information on specific aspects of base year input preparation: