Nota Técnica #28
Agosto 2017
Por Dimitris Triantafyllos e Paolo Rinelli
Did you know that you can use Groupings of Centroids to split zones? The following workflow shows how to split a centroid into multiple centroids and distribute the trips generated and attracted with user-defined proportions.
A. NETWORK PREPARATION
First, use the Table View to ensure that all Centroids have been given different External ID values so that you can paste the trip values from the original OD Matrix into the one with split zones.
B. SPLIT ONE ZONE INTO MULTIPLE ZONES
To split one centroid into multiple centroids, follow these steps:
- Create one new Centroid for each child zone
- Connect them from/to nodes and/or sections
- Set the same External ID as the parent Centroid for all of the child Centroids
- Delete the parent Centroid
C. CREATING GROUPING WITH NEW CENTROIDS
Create a new Grouping Category for Centroids. For each zone that you have split, create a Grouping and add to it all its child Centroids. Set the External ID of the grouping equal to the External ID of the parent Centroid so that you can paste trips later.
D. SPLIT PROPORTIONS
To set the split proportions between child Centroids of the trips generated and attracted by the parent Centroid, follow these steps:
- Open each OD Matrix in the split Centroid Configuration (AM Peak – split zones in Figure 5) and delete all trips (hint: use the Multiply operation to multiply all cells by 0).
- Order the cells by External ID (by setting Headers: External ID) so that the centroids that have been split are adjacent, and fill each set of rows and columns with numbers representing a split proportion (e.g. values from 1 to 100, adding up to 100 for each set of rows and columns). For example, to set that in 30% of the trips generated by the parent centroid should be generated by the first child, 20% by the second and 50% by the third (see Figure 5), put 30 in all cells of the line corresponding to the first child, 20 in those in the line corresponding to the second child and 50 in those in the line corresponding to the third child (hint: select the line and use the Add operation applied to a selection of cells, including empty cells); repeat for the columns to set the proportions of attracted trips.
- Leave the cells representing trips between the split centroids empty, as they correspond to intrazonal trips in the parent matrix (a cell on the diagonal); since they are generally null in the original matrix, you will have to fill in these trips at the end.
E. COPY TRIPS FROM OLD MATRIX
Open the original matrix (AM Peak – original matrix in Figure 6) and set Headers: External ID and Grouping: None. Select all the matrix cells (Ctrl+A) and copy (right-click) the values.
F. PASTE TRIPS TO NEW MATRIX
Open the split matrix (AM Peak – split zones in the figure below) and set Headers: External ID and Groupings: Centroids. Click on the first cell, right-click and select Paste.
Moreover, when pasting a value in a grouped cell, Aimsun splits it among the cells that belong to the group by calculating a proportion based on their current values, so the values you introduced in step D have the effect of split proportions.
To be sure that process was succesful, check that the total trips of the two OD Matrices match, and also that the total generated and attracted by the split Centroid is equal to the total generated and attracted by its corresponding Grouping of Centroids.