![running apsim simulation command line running apsim simulation command line](https://www.apsim.info/wp-content/uploads/2019/10/image002-1.jpg)
trying to save an lf2 file to a filename the same as whatever the next argument in the command line happens to be). However, depending on what term comes after the “-lf” term in the command line its inclusion like this will likely cause problems (e.g. If “0” is omitted or not positioned a single space after the “-lf” term, then no lf1 file is written (for 1D or 1D-TUFLOW simulations) an lf2 file will be written (for 2D or 1D-2D simulations). The “-sd” term means that at the end of the simulation the progress window will automatically shutdown. It won’t create an lf1 temporary file during the simulation, though live progress data will be shown (in the style of pre-v4.3 Flood Modeller). This example will run the simulation defined by “myModelRun01.ief” using the Flood Modeller 1D solver. If multiple command options are included in your command line then it should not matter where in the argument list this is, although the “-lf” term and the “0” must be kept together (separated by a single space).
![running apsim simulation command line running apsim simulation command line](https://www.mdpi.com/energies/energies-13-02173/article_deploy/html/images/energies-13-02173-g006b.png)
To prevent the solvers writing an lf1 or lf2 use the following commands:ĭescriptive syntax is:, ,, ,
![running apsim simulation command line running apsim simulation command line](https://docplayer.net/docs-images/54/33196322/images/23-0.png)
It is therefore recommended that you utilize the argument detailed here to prevent models taking up disk space unnecessarily. These files can contain a significant amount of data and consequently be quite large. If you are running simulations from a command line then you will bypass the Flood Modeller interface functionality that automatically deletes an lf1 or lf2 file at the end of a simulation. The file generated depends on the simulation type:įlood Modeller linked 1D-2D – lf2 only is outputįlood Modeller 1D linked to TUFLOW – lf1 only is output Linked models will also generate a single lf1 or lf2 file (not both). ief for 1D and xml for 2D, and the files take the same name as the simulation file. The default location for these temporary text files is the same folder as the corresponding simulation file, i.e. These files have an extension “.lf1” (for 1D simulations) or “.lf2” (for 2D simulations). The data underlying the new displays are written to text files that are temporarily created and then deleted when the corresponding simulation has completed (see additional notes as deletion does not always occur). In Flood Modeller v4.3 a new graphical display was introduced to show real time progress through running simulations (singular or batch runs). Running Flood Modeller Simulations without generating lf1/lf2 files The steps needed to implement these modes are described below. These modes are useful for batch runs of Flood Modeller run independently from the Flood Modeller user interface. Please note that it is possible to not only run 1D simulations in non-attended mode, but also convert the binary results files to non-binary format.
![running apsim simulation command line running apsim simulation command line](https://ww2.mathworks.cn/help/supportpkg/xilinxzynq7000ec/ug/xilinx_zynq_code_generation_report.png)
from within the user interface), although in the non-graphics modes no summary bitmap (showing simulation time plots) will be produced. When Flood Modeller is run in these modes the result files and the log files will be created as when Flood Modeller is run normally (i.e. a background mode when you do not see the Flood Modeller windows). It is possible to run 1D, 2D or 1D-2D linked simulations in non-attended mode (when you do not have to interact with the software, for example clicking the buttons "Yes" at the end of the simulation) and in non-graphics mode (i.e. Command Line Options for Running Simulations Overview