Here is a look at the input files that go in to a DIRSIG simulation.
Each icon in the dirsig_edit tool corresponds to an XML file:
Behind the scenes, these files are given the following extensions:
So what goes in to the ".sim" manifest file? It's simply a list of the files assigned to each component. A typical sim file looks as follows:
<simulation>
<scene externalfile="../../warehouse.scene" />
<atmosphericconditions externalfile="./warehouse.atm" />
<platform externalfile="./warehouse.platform" />
<platformmotion externalfile="./warehouse.ppd" />
<tasklist externalfile="./warehouse.tasks" />
</simulation>
See? Nothing more than a list of files.
You can also see the relationship between files and components from within dirsig_edit. Just select Tools -> View summary.
When doing trade studies, understanding the relationship between files and components can make your life easier. You can run DIRSIG on a sim file from the command-line using:
prompt% dirsig -xml foo.sim
You can also skip the sim file and specify the individual component files directly:
prompt% dirsig -xml foo.options foo.scene foo.atm foo.platform foo.ppd foo.tasks
If you don't have an options file, just use a pair of empty quotes:
prompt% dirsig -xml "" foo.scene foo.atm foo.platform foo.ppd foo.tasks
For running a trade study with ten different atmospheric conditions, you can write a shell script which uses this component syntax, passing in a different ".atm" file each time.
Each icon in the dirsig_edit tool corresponds to an XML file:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyBhHv6sI5EQiJIQ8iHYWGjY8FJ8rZd-GL-vSkURC9onaVRyhboJS6N4fcsZHq0KvugImeketaQUuiu2w9KPyuhJrf_OJDTsiwav3hBZbb3DovRJws4EoZ6OGl2H9wu_JUQdfjYg/s320/de_buttons.png)
- .scene
- .atm
- .platform
- .ppd
- .tasks
- .options
So what goes in to the ".sim" manifest file? It's simply a list of the files assigned to each component. A typical sim file looks as follows:
<simulation>
<scene externalfile="../../warehouse.scene" />
<atmosphericconditions externalfile="./warehouse.atm" />
<platform externalfile="./warehouse.platform" />
<platformmotion externalfile="./warehouse.ppd" />
<tasklist externalfile="./warehouse.tasks" />
</simulation>
See? Nothing more than a list of files.
You can also see the relationship between files and components from within dirsig_edit. Just select Tools -> View summary.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOoBxZnqJS8O_nuGWqW5ZgpfolizH-aybAMfkV16oAP_dLjpbXRESVlHRzfUOe4CV37xrh9epttrYLTv6ZN6doadnoahRCCx1vJre3Q0853V27Xqx8YEJQ_R9eXEHGWUDYKrbahg/s320/de_summary.png)
prompt% dirsig -xml foo.sim
You can also skip the sim file and specify the individual component files directly:
prompt% dirsig -xml foo.options foo.scene foo.atm foo.platform foo.ppd foo.tasks
If you don't have an options file, just use a pair of empty quotes:
prompt% dirsig -xml "" foo.scene foo.atm foo.platform foo.ppd foo.tasks
For running a trade study with ten different atmospheric conditions, you can write a shell script which uses this component syntax, passing in a different ".atm" file each time.
Comments