Create batch jobs

Create batch jobs

In order to perform an automatic sequence of work steps for the SPRING modules, all main processing modules can be started with a parameter that suppresses the pressing of the <return> key. This allows various calculations to be carried out automatically one after the other, which is especially useful if the user is absent for a longer period of time, e.g. overnight or over weekends.

The start of a SPRING main processing module must be started with the addition of -return. For example, the start of the SITRA calculation module has the following form:

sitra -return sitra.bsi

The execution of a two job sequence, which consists of a model check (DADIA), flow calculation (SITRA), data export (NACHLAUF), and lastly plot creation (PLOGEO), in the Microsoft Windows directories "D:\Projects\Paradise\Sim01" and "Sim02" will be designed as follows:

 

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 saved in a file in ASCII format with the extension *.bat. After opening the command prompt (DOS shell), the file name is entered and confirmed by pressing the return/enter key.

This procedure works in the same way in a terminal on UNIX-based operating systems.

 

File with elements to hide