atlantis_runtime: Change simulation run time.

View source: R/atlantisfmsy_ini.R

atlantis_runtimeR Documentation

Change simulation run time.

Description

Change the run time in the run parameters file. It opens the run parameters file, select the tstop parameter and replaces his value by: runtime = burning_time + 10950 days.

Usage

atlantis_runtime(path, exe_name, run_time, batch_file = NULL)

Arguments

path

The directory of the batch or shell file.

exe_name

The name of the atlantis executable you used (ex: atlantismain, atlantisNew).

run_time

The total duration of the simulation in days (burnin_time + 10950).

batch_file

The name of the batch/shell file with extension you are using to run your model. If not provided, the function will search for the unique batch file in your folder_path. Default: NULL.

Value

Modify run parameters file.

See Also

atlantis_paraselect for parameters file selection, and atlantis_openfile to open parameter files and select parameters.

Examples

atlantis_runtime("C:/Atlantis/AtlantisEEC/AtlantisMSY/COD",
 "atlantismain", 18250, "runAtlantis.bat")
atlantis_runtime("/home/Atlantis/AtlantisEEC/AtlantisMSY/COD",
 "atlantisNew", 18250, "runAtlantis.sh")


rgirardi/atlantisfmsy documentation built on Aug. 30, 2022, 9:11 a.m.