Run an ANTARES study
runSimulation(
name,
mode = "economy",
path_solver = getOption("antares.solver"),
wait = TRUE,
show_output_on_console = FALSE,
parallel = TRUE,
...,
opts = antaresRead::simOptions()
)
Name of the simulation. In API mode, name
will be used as output_suffix
argument.
Simulation mode, can take value "economy", "adequacy" or "draft".
Character containing the Antares Solver path
Logical, indicating whether the R interpreter should wait for the simulation to finish, or run it asynchronously.
Logical, indicating whether to capture the ANTARES log and show it on the R console.
Logical. If TRUE
the ANTARES simulation will be run in parallel mode (Work
only with ANTARES v6.0.0 or more). In that case, the number of cores used by the simulation
is the one set in advanced_settings/simulation_cores (see ANTARES interface).
Additional arguments (API only), such as nb_cpu
, time_limit
, ...
See API documentation for all available options.
List of simulation parameters returned by the function
antaresRead::setSimulationPath()
In API mode it return a list
with either the job id in case of success of
the command or details about the error produce.
In non-API mode the function does not return anything, it is used to launch an
ANTARES simulation.