next up previous contents
Next: Link-to-Grid Conversion Up: GRTOOL A Link-to-Grid Previous: Contents

Introduction

EMME/2 provides a powerful environment for any kind of network computations. While the assignment modules are used to forecast the future use of the transportation infrastructure in terms of traffic volumes and speeds, the network calculator, module 2.41, can be used to postprocess the assignment results, computing whatever data that needs to be derived from the basic assignment results by simply entering the corresponding formulae. Typical examples of such postprocessing are the computation of level of service categories, emission of pollutants, noise levels or fuel and energy consumption. These computations are usually performed at the link level and the results are either summed or stored in link attributes for future use and graphic display on network plots.

In many situations, however, the aim of such models is not to obtain results at the network level, but the results are needed according to a different spatial aggregation. Two often used types of such aggregations are the summing up of values at the level of the traffic zones and the aggregation according to a grid subdivision, which cuts the area into rectangular cells of identical size. These kinds of aggregations cannot be implemented easily within the framework of the network calculator, in particular if one network link can cover more than one aggregation cell. Hence, more specialized tools are needed for this purpose.

GRTOOL is a general link-to-grid interface which can be used to convert any link based network data into a grid array with arbitrary cell dimensions. GRTOOL consists of the following components:

grmacro:
An EMME/2 macro which takes as parameters a set of link attributes or expressions that correspond to the variable to be converted to the grid level. Using module 2.41, it generates an output file containing, for each link, the coordinates of the I- and J-node, as well as the values of the specified variables.
grlink:
A program written in AWK which performs the actual link-to-grid conversion. Given the size of the grid cell, it reads a link based file (usually generated with grmacro) and outputs a grid based result file, which contains the same variables as the link file, but accumulated for each grid cell.
grannot:
A program written in AWK which reads a grid file generated by grlink, extracts one value for each grid cell from it and generates an annotation file which can be displayed in EMME/2, either alone or superimposed on a network plot. The type of display is controlled by a parameter file which is generated with the grparam utility.
grparam:
A utility program, written in AWK, used to define the layout and display parameters (such as intervals, colors and hatching for the cell categories, titles, position and texts for the legend, ...). To do this, the user is guided through an ``EMME/2-like'' dialog. The so defined set of parameters is saved in a file and used by grannot for producing displays of this particular kind.

The diagram below shows the interaction between the various components of GRTOOL and the data files accessed by each:

flow chart

A typical application of GRTOOL is in the area of environmental impact studies, where often the emissions of the various transportation related pollutants (such as CO, HC, NO, SO tex2html_wrap_inline495 ) have to be computed at the link level, and afterwards are converted to the grid level. These may then be combined with the pollutants generated by the stationary sources (industry, heating) in order to display them as emission maps. In this case, the network calculator is first used to compute extra link attributes containing the emissions for all four pollutants. Then grmacro is used to generate a link file with all four pollutant emissions. This file is converted into a grid cell file by grlink, which can be accessed by grannot to produce plots of the individual pollutants or combinations thereof. The graphic representations can be in the form of differently colored and hatched interval classes, as proportional squares, or as numeric values displayed in the grid cells. The example below shows the varying levels of carbon monoxide emissions, displayed as squares with different hatchings:

 

example carbon oxide emissions

GRTOOL has been developed at the EMME/2 Support Center by Lukas and Heinz Spiess. DOS and UNIX versions of GRTOOL are made available to EMME/2 users at no charge, as a ``copylefted'' user contribution. Thus, GRTOOL is not part of the commercial EMME/2 software distribution and therefore its availability implies no obligations, on the part of INRO Consultants. The GRTOOL software is distributed as is and there is no warranty for this free software. You are allowed to copy the unmodified complete version of GRTOOL and pass it along to other EMME/2 users for free, but you may not sell it for profit. You can make changes to GRTOOL provided that a) you do not remove the copyright notices, b) you clearly identify the changes with at least the date and your name, and c) you rename the modified files.


next up previous contents
Next: Link-to-Grid Conversion Up: GRTOOL A Link-to-Grid Previous: Contents

Heinz Spiess, EMME/2 Support Center
Sun Mar 3 22:21:06 MET 1996