INRO recognizes special contributions of the planning community,
and distributes tools and references related to our software.
Heinz Spiess ran the EMME/2 Support Center in Aegerten, Switzerland until March 2005.
His macros and articles are posted here with his permission.
Macros
- accumvol.mac (1K)
Accumulate boardings and alightings along the stops of a transit line to produce segment volumes.
- ang2tpf.mac (5K)
A macro which sets the turn penalty function index of all turns within a specified range of
turning angles to some given tpf value. If required, a subset of turns or
intersections can be selected on which the operation is to be performed.
- angleijk.mac (1K)
Network calculator formula to compute turning angle of turn I-J-K (returns angle
between -180 and + 180 degrees).
- balance.mac (5K)
Basic 2-dimensional balancing implemented with module 3.21 (can be used as
starting point to implement variants of the balancing procedure)
- balance3.mac (1K)
3-dimensional balancing based on group-to-group totals (no limitation on the number
of 3rd dimension constraints).
- balmprod.mac (8K)
2-dimensional balancing for the case of multiple production types (each with its
own friction matrix) and a single attraction type.
- balz3x3.mac (5K)
Simultaneous 2-dimensional balancing (aka "Fratar", "Furness", ...) of 3x3 matrices -
one for each selected zone.
- bellman.mac (2K)
Bellman's shortest path algorithm implemented in module 2.41 (can be used to compute
node-to-node shortest path trees).
- caligrav.mac (4K)
Calibration of simple exponential gravity distribution model to reproduce a specified
target average trip time.
- congtras.mac (12K)
Congested transit assignment (see the corresponding paper
for a mathematical description of the method).
- demadj.mac (13K)
Auto demand adjustment procedure based on the gradient method (version 2.2).This version supports count data on
links and/or turns. For a mathematical description of the auto demand adjustment procedure implemented in
this macro see the corresponding paper.
- demadjt.mac (13K)
Transit demand adjustment procedure based on the gradient method (version 1.8). This version supports
count data on either segments or links. Depending on the type of attribute containing the counts, the gradient
algorithm is either applied directly at the segment level or automatically projected to the link level.
For a mathematical description of the mathematical method used, see the corresponding
paper.
- errchk.mac (2K)
Wrapper macro to check for errors during execution of the macro given as argument.
- intersad.mac (5K)
Marco which automatically adds to or removes from the intersection table all nodes for
which a given network expression yields a non-zero result.
- legimped.mac (3K)
Extract 1st leg impedance matrix (Upk) or 2nd leg impedance matrix
(Ukq) from a given total impedance (Upq) and a
intermediate zone matrix (Kpq).
- listscal.mac (3K)
List one or several ranges of scalars either on the screen or into a specified file.
- matreg.mac (14K)
Multiple linear regression on arbitrary matrix data (up to four independent variables).
- mimoleg.mac (7K)
Logit type intermediate destination choice model for mixed mode trips (e.g. Park+Ride or Kiss+Ride)
which computes intermediate demand matrices for the first and the second trip leg. No explicit capacities
at intermediate destinations. See the corresponding paper
for the mathematical details.
- mlus92.mac (8K)
Implementation of German air pollution model MLuS-92.
- netdiff.mac (8K)
Macro which compares two scenarios and reports differences in network topology, that is, nodes, links, turns,
transit lines and transit lines segments which are in one scenario but not in the other (version 1.3). Optionally, the
macro can also compare the values of specified numerical attributes.
- nethist.mac (7K)
Macro for generating arbitrary network histograms. Supports numerical output on screen or into result
file, as well as plotting of the histogram using module 4.13.
- netreg.mac (14K)
Multiple linear regression on arbitrary network data (up to four independent variables).
- oppvol.mac (5K)
Macro to compute opposing volumes on turns based on turning angles (can easily be modified to include
other classification information, if needed).
- parkride.mac (8K)
Logit model for Park+Ride parking choice with explicit capacities at parking lots. This macro computes
intermediate demand matrices for the first and the second trip leg. See the corresponding
paper for the mathematical details.
- pltlines.mac (3K)
Plot transit line(s) in an optimally adjusted network window.
- rndabout.mac (10K)
Compute opposing volumes for round-about intersection.
- s2stimes.mac (4K)
Aggregates segments between consecutive stops of transit lines and generates report or punch file
with stop-to-stop times and distances.
- sel2lin.mac (8K)
Select lines transit assignment for two sets of transit lines. Performs a layered additional options
transit assignment which computes the transit volumes and partial demand matrix of all trips which use at
least one of each of two given sets of transit lines.
- selines.mac (6K)
Select lines transit assignment. Performs a layered additional options transit assignment which
computes the transit volumes and partial demand matrix of all trips which use at least one of a given
set of transit lines.
- splitime.mac (4K)
Split stop-to-stop transit times to segments between stops. (version 1.2)
- splitmat.mac (3K)
Split demand matrix into two intermediate matrices.
- stochas.mac (10K)
Stochastic auto assignment using random time perturbations.
- tchain3.mac (6K)
Activity chaining demand model for 3 legged trips (see the corresponding
paper for the mathematical details).
- tilewgen.mac (4K)
Generate the coordinates of a set of adjacent (tiled) windows and for each window call a specified
macro using the window coordinates as parameters.
- transfer.zip (3K)
Compute line-to-line transfers at transfer nodes (experimental implantation only! - see the corresponding
paper for more details).