These macros are not part of any software licence agreement. There is no explicit or implied warranty nor any support from INRO. They can be used and distributed freely, but not sold.
If you have problems downloading files with your browser, try the FTP download.
| accumvol.mac | Accumulate boardings and alightings along the stops of a transit line to produce segment volumes. Authored by Heinz Spiess. |
| aggdest.mac | Emme macro to aggregate a matrix over destinations (version 1.4). |
| aggorig.mac | Emme macro to aggregate a matrix over origins (version 1.4). |
| ang2tpf.mac | 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. Authored by Heinz Spiess. |
| angleijk.mac | Network calculator formula to compute turning angle of turn I-J-K (returns angle between -180 and + 180 degrees). Authored by Heinz Spiess. |
| balance.mac | Basic 2-dimensional balancing implemented with module 3.21 (can be used as starting point to implement variants of the balancing procedure). Authored by Heinz Spiess. |
| balance3.mac | 3-dimensional balancing based on group-to-group totals (no limitation on the number of 3rd dimension constraints). Authored by Heinz Spiess. |
| balmprod.mac | 2-dimensional balancing for the case of multiple production types (each with its own friction matrix) and a single attraction type. Authored by Heinz Spiess. |
| balz3x3.mac | Simultaneous 2-dimensional balancing (aka "Fratar", "Furness", ...) of 3x3 matrices - one for each selected zone. Authored by Heinz Spiess. |
| bellman.mac | Bellman's shortest path algorithm implemented in module 2.41 (can be used to compute node-to-node shortest path trees). Authored by Heinz Spiess. |
| caligrav.mac | Calibration of simple exponential gravity distribution model to reproduce a specified target average trip time. Authored by Heinz Spiess. |
| captras.mac | This Emme macro performs a transit equilibrium assignment by considering congestion aboard the vehicles and increased headways due to limited capacity of the transit vehicles (version 1.4). For more details, see captras.pdf. |
| cntpost.mac | Emme macro to determine optimal location for counts (count posts) (version 2.4). |
| congtras.mac | Congested transit assignment (version 1.17). This version does not require the creation of a temporary scenario, and the Muller method replaces the secant method in the step length computation. For a mathematical description of the method, see the corresponding paper. Initial version authored by Heinz Spiess. |
| dbpunch.mac | STAN macro to punch either the entire data bank or selected parts of it (version 1.3). |
| demadj.mac | 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. Authored by Heinz Spiess. |
| demadjmc.mac | Multiclass demand matrix adjustment (version 1.15). This macro is a generalization of the demadj.mac macro (version 2.2) that uses the generalized cost multiclass assignment with path analysis, which was made available in Emme 3.0. |
| demadjt.mac | Transit demand adjustment procedure based on the gradient method (version 1.9). 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. Authored by Heinz Spiess. |
| errchk.mac | Wrapper macro to check for errors during execution of the macro given as argument. Authored by Heinz Spiess. |
| floyd.mac | Emme macro that implements a Floyd-Warshall type of algorithm (version 1.5). |
| ind2mat.mac | Emme macro to obtain a station-to-station matrix from a boarding/alighting pair index matrix and a corresponding demand matrix (version 1.6). |
| intersad.mac | Macro which automatically adds to or removes from the intersection table all nodes for which a given network expression yields a non-zero result. Authored by Heinz Spiess. |
| legimped.mac | Extract 1st leg impedance matrix (Upk) or 2nd leg impedance matrix (Ukq) from a given total impedance (Upq) and a intermediate zone matrix (Kpq). Authored by Heinz Spiess. |
| listscal.mac | List one or several ranges of scalars either on the screen or into a specified file. Authored by Heinz Spiess. |
| matreg.mac | Multiple linear regression on arbitrary matrix data (up to four independent variables). Authored by Heinz Spiess. |
| midway.mac | Emme macro to find an intermediate zone that is approximately midway on path between origin and destination (version 1.5). |
| mimoleg.mac | 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. For the mathematical details, see the corresponding paper. Authored by Heinz Spiess. |
| mlus92.mac | Implementation of German air pollution model MLuS-92. Authored by Heinz Spiess. |
| netdiff.mac | 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. Authored by Heinz Spiess. |
| nethist.mac | 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. Authored by Heinz Spiess. |
| netreg.mac | Multiple linear regression on arbitrary network data (up to four independent variables). Authored by Heinz Spiess. |
| oppvol.mac | Macro to compute opposing volumes on turns based on turning angles (can easily be modified to include other classification information, if needed). Authored by Heinz Spiess. |
| parkride.mac | 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. For the mathematical details, see the corresponding paper. Authored by Heinz Spiess. |
| permut.mac | Emme macro to permute rows or columns of a matrix (version 1.4). |
| plotstop.mac | Emme macro to generate a plot of a transit line with bus stops colored according to stopping restrictions (version 1.6). |
| pltlines.mac | Plot transit line(s) in an optimally adjusted network window. Authored by Heinz Spiess. |
| polygon.mac | Emme macro to calculate link-based statistics based on interactively defined polygons. Macro must be run in a graphic window. The latest version includes the possibility to "buffer" links within a specified radius of selected nodes (version 1.5). |
| punchext.mac | Emme macro to punch all extra attributes of the type specified (version 1.5). |
| region.mac | Emme macro to mark links within distance X of node Y (version 1.5). |
| rndabout.mac | Compute opposing volumes for round-about intersection. Authored by Heinz Spiess. |
| s2stimes.mac | Aggregates segments between consecutive stops of transit lines and generates report or punch file with stop-to-stop times and distances. Authored by Heinz Spiess. |
| sel2lin.mac | 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. Authored by Heinz Spiess. |
| selines.mac | 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. Authored by Heinz Spiess. |
| smooth.mac | Emme macro to smooth a demand matrix (version 1.4). |
| snetdiff.mac | Macro to compare the networks of two STAN scenarios (version 1.1). |
| spathatt.mac | Emme macro to generate a transcript file containing the shortest paths from/to a root node to all other nodes; the transcript file is then processed with GAWK to store the result in a network link attribute (needs the AWK scripts pathfrom.awk or pathto.awk) (version 1.5). |
| splitime.mac | Split stop-to-stop transit times to segments between stops. (version 1.2) Authored by Heinz Spiess. |
| splitmat.mac | Split demand matrix into two intermediate matrices. Authored by Heinz Spiess. |
| st2stind.mac | Emme macro to obtain a stop-to-stop index matrix for one or more transit lines (version 1.6). |
| sta2sta.mac | Emme macro to compute a station-to-station matrix for one transit line. (version 1.11). |
| stochas.mac | Stochastic auto assignment using random time perturbations. Authored by Heinz Spiess. |
| tchain3.mac | Activity chaining demand model for three-legged trips. For the mathematical details, see the corresponding paper. Authored by Heinz Spiess. |
| tilewgen.mac | Generate the coordinates of a set of adjacent ("tiled") windows and for each window call a specified macro using the window coordinates as parameters. Authored by Heinz Spiess. |
| transfer.mac | Compute line-to-line transfers at transfer nodes (version 1.2). Needs the AWK script transfer.awk. For more details, see the corresponding paper. Authored by Heinz Spiess. |
| transform.mac | Compute new X and Y coordinates to adjust the network position based on transformation parameters from the Emme 3 transform layer (version 1.3). |
| trineq.mac | Emme macro to check if a "distance" matrix satisfies the triangle inequality (version 1.4). |
| validnet.mac | Emme macro for base network validation (version 3.6). |