Skip to content

Commit fa77a33

Browse files
committed
deploy: 3d4433f
1 parent 13f11ef commit fa77a33

265 files changed

Lines changed: 549 additions & 694 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

develop/_sources/core.rst.txt

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -354,50 +354,6 @@ API
354354
.. automodule:: activitysim.core.timetable
355355
:members:
356356

357-
.. _transit_virtual_path_builder:
358-
359-
Transit Virtual Path Builder
360-
----------------------------
361-
362-
Transit virtual path builder (TVPB) for three zone system (see :ref:`multiple_zone_systems`) transit path utility calculations.
363-
TAP to TAP skims and walk access and egress times between MAZs and TAPs are input to the
364-
demand model. ActivitySim then assembles the total transit path utility based on the user specified TVPB
365-
expression files for the respective components:
366-
367-
* from MAZ to first boarding TAP +
368-
* from first boarding to final alighting TAP +
369-
* from alighting TAP to destination MAZ
370-
371-
This assembling is done via the TVPB, which considers all the possible combinations of nearby boarding and alighting TAPs for each origin
372-
destination MAZ pair and selects the user defined N best paths to represent the transit mode. After selecting N best paths, the logsum across
373-
N best paths is calculated and exposed to the mode choice models and a random number is drawn and a path is chosen. The boarding TAP,
374-
alighting TAP, and TAP to TAP skim set for the chosen path is saved to the chooser table.
375-
376-
The initialize TVPB submodel (see :ref:`initialize_los`) pre-computes TAP to TAP total utilities for the user defined attribute_segments,
377-
which are typically demographic segment (for example household income bin), time-of-day, and access/egress mode. This submodel can be
378-
run in both single process and multiprocess mode, with single process excellent for development/debugging and multiprocess excellent
379-
for application. ActivitySim saves the pre-calculated TAP to TAP total utilities to a memory mapped cache file for reuse by downstream models
380-
such as tour mode choice. In tour mode choice, the pre-computed TAP to TAP total utilities for the attribute_segment, along with the
381-
access and egress impedances, are used to evaluate the best N TAP pairs for each origin MAZ destination MAZ pair being evaluated.
382-
Assembling the total transit path impedance and then picking the best N is quick since it is done in a de-duplicated manner within
383-
each chunk of multiprocessed choosers.
384-
385-
A model with TVPB can take considerably longer to run than a traditional TAZ based model since it does an order of magnitude more
386-
calculations. Thus, it is important to be mindful of your approach to your network model as well, especially the number of TAPs
387-
accessible to each MAZ, which is the key determinant of runtime.
388-
389-
API
390-
~~~
391-
392-
.. automodule:: activitysim.core.pathbuilder
393-
:members:
394-
395-
396-
Cache API
397-
~~~~~~~~~
398-
399-
.. automodule:: activitysim.core.pathbuilder_cache
400-
:members:
401357

402358
.. _visualization:
403359

develop/_sources/users-guide/model_anatomy.rst.txt

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ indicators (e.g. skims), the model uses different spatial resolutions for differ
5252
modeling burden and model runtimes. The typical multiple zone system setup is a TAZ zone system for auto travel, a MAZ zone
5353
system for non-motorized travel, and optionally a transit access points (TAPs) zone system for transit.
5454

55-
The three versions of multiple zone systems are one-zone, two-zone, and three-zone.
55+
The two versions of zone systems are one-zone and two-zone.
5656

5757
* **One-zone**: This version is based on TM1 and supports only TAZs. All origins and
5858
destinations are represented at the TAZ level, and all skims including auto, transit,
@@ -65,45 +65,17 @@ The three versions of multiple zone systems are one-zone, two-zone, and three-zo
6565
walk access and egress times with times specified in the MAZ file by transit mode.
6666
Careful pre-calculation of the assumed transit walk access and egress time by MAZ
6767
and transit mode is required depending on the network scenario.
68-
* **Three-zone**: This version is based on the SANDAG generation of CT-RAMP models.
69-
Origins and destinations are represented at the MAZ level. Impedance for walk or
70-
bike all-the-way from the origin to the destination can be specified at the MAZ
71-
level for close together origins and destinations, and at the TAZ level for further
72-
origins and destinations, just like the two-zone system. TAZs are used for auto
73-
times and costs. The difference between this system and the two-zone system is that
74-
transit times and costs are represented between Transit Access Points (TAPs), which
75-
are essentially dummy zones that represent transit stops or clusters of stops.
76-
Transit skims are built between TAPs, since there are typically too many MAZs to
77-
build skims between them. Often multiple sets of TAP to TAP skims (local bus only,
78-
all modes, etc.) are created and input to the demand model for consideration. Walk
79-
access and egress times are also calculated between the MAZ and the TAP, and total
80-
transit path utilities are assembled from their respective components - from MAZ to
81-
first boarding TAP, from first boarding to final alighting TAP, and from alighting
82-
TAP to destination MAZ.
8368

8469
.. caution::
85-
The ActivitySim consortium is moving away from the three-zone approach, in favor of
86-
to the one- or two-zone approaches. The three-zone system has been removed as of version 1.5.2.
70+
Historically, there was also a three-zone option. The three-zone system has been
71+
removed as of version 1.5.2.
8772

8873
Regions that have an interest in more precise transit and non-motorized forecasts
8974
may wish to adopt the two-zone approach, while other regions may adopt the one or two-zone approach. The
9075
microzone version requires coding households and land use at the microzone level.
9176
Typically an all-streets network is used for representation of non-motorized impedances.
9277
This requires a routable all-streets network, with centroids and connectors for
93-
microzones. If the three-zone system is adopted, procedures need to be developed to
94-
code TAPs from transit stops and populate the all-street network with TAP centroids
95-
and centroid connectors. A model with transit virtual path building takes longer to
96-
run than a traditional TAZ only model, but it provides a much richer framework for
97-
transit modeling.
98-
99-
.. note::
100-
The two and three zone system test examples are simple test examples developed from the TM1 example. To develop the two zone system
101-
example, TM1 TAZs were labeled MAZs, each MAZ was assigned a TAZ, and MAZ to MAZ impedance files were created from the
102-
TAZ to TAZ impedances. To develop the three zone example system example, the TM1 TAZ model was further transformed
103-
so select TAZs also became TAPs and TAP to TAP skims and MAZ to TAP impedances files were created. While sufficient for
104-
initial development, these examples were insufficient for validation and performance testing of the new software. As a result,
105-
the :ref:`prototype_marin` example was created.
106-
78+
microzones.
10779

10880
.. _omx_skims :
10981

develop/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var DOCUMENTATION_OPTIONS = {
22
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3-
VERSION: '1.5.2.dev15+g90c829045',
3+
VERSION: '1.5.2.dev16+g3d4433f3a',
44
LANGUAGE: 'en',
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',

develop/benchmarking.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<meta name="viewport" content="width=device-width, initial-scale=1"/>
6666
<meta name="docsearch:language" content="en"/>
6767
<meta name="docsearch:version" content="1.5.2" />
68-
<meta name="docbuild:last-update" content="Apr 16, 2026"/>
68+
<meta name="docbuild:last-update" content="Apr 29, 2026"/>
6969
</head>
7070

7171

@@ -784,7 +784,7 @@ <h3>This Page</h3>
784784

785785
<div class="footer-item"><!-- This will display the version of the docs -->
786786
<p class="last-updated">
787-
ActivitySim 1.5.2.dev15+g90c829045, documentation last updated Apr 16, 2026.<br/>
787+
ActivitySim 1.5.2.dev16+g3d4433f3a, documentation last updated Apr 29, 2026.<br/>
788788
</p></div>
789789

790790
<div class="footer-item">

develop/cli.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<meta name="viewport" content="width=device-width, initial-scale=1"/>
6464
<meta name="docsearch:language" content="en"/>
6565
<meta name="docsearch:version" content="1.5.2" />
66-
<meta name="docbuild:last-update" content="Apr 16, 2026"/>
66+
<meta name="docbuild:last-update" content="Apr 29, 2026"/>
6767
</head>
6868

6969

@@ -574,7 +574,7 @@ <h3>This Page</h3>
574574

575575
<div class="footer-item"><!-- This will display the version of the docs -->
576576
<p class="last-updated">
577-
ActivitySim 1.5.2.dev15+g90c829045, documentation last updated Apr 16, 2026.<br/>
577+
ActivitySim 1.5.2.dev16+g3d4433f3a, documentation last updated Apr 29, 2026.<br/>
578578
</p></div>
579579

580580
<div class="footer-item">

0 commit comments

Comments
 (0)