Creating a batch job


To make an automatic sequence of calculation steps of the SPRING modules, all the main processing modules can be started with a parameter that suppresses pressing the <return>-button. Particularly in case of a prolonged absence of the user overnight or on weekends the calculation of various sequences can be started in this way.

The start of a SPRING main processing module has to be started with the addition of -return. The start of the calculation module SITRA has e.g. the form:

sitra -return sitra.bsi

The implementation of two job sequences model checking (DADIA) – flow computation (SITRA) - data export (NACHLAUF) – plot generation (PLOGEO) in the MS Windows directories D: \ Projects \ paradise \ Sim01 and Sim02 looks like this:

 

D:\

cd \Projects\paradise\Sim01

dadia -return dadia.bda

sitra -return sitra.bsi

nachlauf -return gang.bna

plogeo -return flur.bpl

cd \Projects\paradise\Sim02

dadia -return dadia.bda

sitra -return sitra.bsi

nachlauf -return gang.bna

plogeo -return flur.bpl

 

These command lines are stored in a file in ASCII format with the extension *.bat. After calling the command prompt (DOS shell), the filename is entered and confirmed with <return>. This approach also works in a similar fashion in a terminal on Unix-based operating systems.

 

Structure of the file sitr