How do I create a Look-up table and .map file?
Altair Forum User
Altair Employee
Answers
-
Submitted by Anders89 on Tue, 03/23/2010 - 22:39.
The file suffix does not matter. You can use .csv (Excel comma separated value), .txt, .dat, .map, or .foobar
- The numbers in the two columns may be separated by spaces(' '), tabs('\t'), or commas(',').
- The first column values must be all increasing or decreasing in consecutive values.
- You may have more than one output column.
- Values don't need to be evenly spaced.
- Here is a sample table:
; input column output column 1 2 1.5 10 5 12 9 7
0 -
Submitted by abida86 on Fri, 03/26/2010 - 23:35.
To use a map block in vissim we need map files. Can u please explain how to create a .map file?
0 -
Submitted by Richd on Sat, 03/27/2010 - 01:28.
Here, follow these steps:
- start VisSim
- place map block in VisSim Workspace
- right click on map block to bring up Map Properties dialog and click Browse...
- notepad will start with an empty file. Type in 2 columns of numbers that represent your table as described above.
- choose File > Save As... and save some place like 'c:\myVisSimFiles\myFunkyLookupTable.txt'
- Back in Map Properties dialog click Select File...
- In Files of type drop down, select ASCII Data(*.txt) and browse to your file 'c:\myVisSimFiles\myFunkyLookupTable.txt'
- Click Open
- Click OK
0 -
Submitted by a_a on Sat, 03/27/2010 - 01:01.
If you go to in the menu: Diagram > Examples > Blocks > Nonlinear, there are a few map examples. You can edit a .map file using Notepad and save the file as .txt and then rename it as .map in Windows
0 -
Submitted by erasco on Tue, 03/30/2010 - 20:53.
Thank you for the very useful info. Problem solved.
0