Using OD matrices from previous versions

From version 9 and later, Vissim manages OD matrices in the Matrices list (Matrix attributes), (Modeling traffic demand with origin-destination matrices). You can view and edit the matrix content in the matrix editor (Editing OD matrices for vehicular traffic in the Matrix editor).

For the dynamic assignment, Vissim up to version 8 requires at least one OD matrix that is saved to an *.fma file. You can choose the *.fma file from the dynamic assignment parameters in Vissim up to version 8.

You cannot copy the OD matrix from the *.fma file and paste it immediately into the matrix editor in Vissim.

You can export an OD matrix from a previous version to Vissim version 9 and higher. The following applications and solutions are distinguished:

Reading from file in the matrix editor

1.  In the matrix editor, make sure that the origin-source matrix of the desired matrix in the Matrices list is displayed.

2.  Make sure that the dimensions of the OD matrix in the matrix editor correspond to the dimensions that result from the number of zones in the *.fma file.

3.  In the matrix editor, click the  Read from file icon.

The Read matrix from file window opens.

4.  Select the *.fma file of your choice.

5.  Click the Open button.

The data is inserted into the matrix editor. In the Matrices table, the values of the TimeFrom andTimeUntil attributes are adjusted on the basis of the values of the *.fma file.

Reading from file in the Matrices list

1.  Make sure that the dimensions of the OD matrix in the matrix editor correspond to the dimensions that result from the number of zones in the *.fma file.

2.  In the Matrices table, right-click the matrix of your choice.

3.  From the shortcut menu, choose Read from file.

The Read matrix from file window opens.

4.  Select the *.fma file of your choice.

5.  Click the Open button.

The data is inserted into the matrix editor. In the Matrices table, the values of the TimeFrom andTimeUntil attributes are adjusted on the basis of the values of the *.fma file.

Open the *.inpx file from Vissim 6,7 or 8, in Vissim 9 or higher.

If you have access to the following files, to the Vissim versions and meet the requirements, you can open an older network file in Vissim 9 or higher and create an OD matrix:

You have the following options:

Vissim creates the matrices in the Matrices list (Matrix attributes). They are saved to the *.inpx file. The *.fma files are thus no longer required. You can edit the content of any matrix in the matrix editor (Editing OD matrices for vehicular traffic in the Matrix editor).

1.  In the attributes of the parking lots of the Zone connector type that you need for the dynamic assignment, make sure that you have selected the desired zones.

2.  In the list Matrices, make sure that in the TimeFrom attribute the desired start time of the interval and in the TimeUntil attribute the desired end time of the interval are defined (Matrix attributes).

3.  Before starting the simulation, make sure that the dynamic assignment parameters are as follows:

Copy OD matrix and paste it into Vissim version 9 or higher.

If you have access to the following files and to Vissim version 9 or higher and meet the requirements, but do not have Vissim version 6, 7 or 8, you can copy the data from the *.fma file and paste it into a spreadsheet program or a similar program:

Copy the data from the spreadsheet program or similar program to the clipboard and paste it into Vissim version 9 or higher, in the open network file, into the fields of the matrix editor.

Making sure that the zones of your choice are defined

From Vissim version 9 and higher, the number of zones defines the dimensions of the OD matrix. Therefore, before copying the data, make sure that in Vissim the zones are defined which match the copied data:

1.  To open Vissim version 9 or higher.

2.  If you want to paste the copied data into an existing network file, open this *.inpx network file.

3.  From the Traffic menu, choose > Dynamic Assignment > Zones.

The number of necessary zones depends, for example, on your planning targets, the parking lots of the Zone connector type and/or the OD matrix that you want to insert.

4.  Make sure that the number of defined districts corresponds to the desired dimension of the OD matrix (Defining zones).

5.  From the Traffic menu, choose > Dynamic Assignment > Matrices.

The Matrices list and the matrix editor open.

6.  If no matrix is defined in the Matrices list, define a matrix (Defining an origin-destination matrix).

7.  If matrices are defined in the Matrices list, make sure that the matrix attributes, that you want to copy to the trips, meet your requirements (Matrix attributes).

8.  In the Matrices list, double-click the matrix whose dimension you want to check and which you want to use at a later point in time in order to insert data.

In the matrix editor, the associated OD matrix is displayed and selected. The dimension of the OD matrix is automatically based on the number of zones defined. The dimension is displayed in the top left box (Editing OD matrices for vehicular traffic in the Matrix editor).

9.  If you want to change the dimension of the OD matrix, change the number of zones (Defining zones).

10.  From the File menu, choose > Save.

11.  In Vissim, keep the network file and matrix editor open, so that you can insert the data after the next steps.

Copying an OD matrix

1.  Open the *.fma file in a spreadsheet program.

Some spreadsheet programs are supported by a wizard through which you can configure the distribution of the copied data across the individual cells.

2.  Make sure that each value, that indicates a number of trips, appears in a cell.

3.  If desired, save the file.

If you then select data in the spreadsheet program, you can select one or more cells. If you select multiple cells, these must cover a regular range of contiguous cells, for example 1 x 4, 5 x 3, or 6 x 6 cells.

If you select more than one cell, make sure that the range you selected corresponds to the dimension of the OD matrix in the matrix editor of Vissim that you want to copy the data to.

4.  In the spreadsheet program, select the desired range.

5.  Press Ctrl+C.

Inserting an OD matrix

1.  Switch to Vissim.

2.  Make sure that:

In the next step, make sure that you select a range in the matrix editor, which can include the range from the clipboard:

3.  In the matrix editor, select the desired number of cells.

4.  Press Ctrl+V.

The data is inserted into the matrix editor based on its volume and the number of selected cells. If the selected range is larger than the range you copied, the data will be inserted multiple times.

5.  In the attributes of the parking lots of the Zone connector type that you need for the dynamic assignment, make sure that you have selected the desired zones (Defining parking lots for dynamic assignment).

6.  In the Matrices list, make sure that in the TimeFrom attribute the desired start time of the interval and in the TimeUntil attribute the desired end time of the interval are defined (Matrix attributes).

7.  In the menu Traffic > Dynamic assignment > Parameters, go to the Files tab and select the  Matrices option (Attributes for the trip chain file, matrices, path file and cost file).

8.  In the list below, in the Matrix column, select the matrix of your choice.

Superordinate topic:

Modeling traffic demand with origin-destination matrices or trip chain files

Related topics:

Modeling traffic demand with origin-destination matrices

Matrix attributes

Structure of the trip chain file *.fkt