Create a new area in an Antares study.
createArea(
name,
color = grDevices::rgb(230, 108, 44, max = 255),
localization = c(0, 0),
nodalOptimization = nodalOptimizationOptions(),
filtering = filteringOptions(),
adequacy = adequacyOptions(),
overwrite = FALSE,
opts = antaresRead::simOptions()
)
Name of the area as a character, without punctuation except - and _.
Color of the node
Localization on the map
Nodal optimization parameters, see nodalOptimizationOptions()
.
Filtering parameters, see filteringOptions()
.
Adequacy parameters, see adequacyOptions()
.
Overwrite the area if already exist.
List of simulation parameters returned by the function
antaresRead::setSimulationPath()
An updated list containing various information about the simulation.
if (FALSE) { # \dontrun{
library(antaresRead)
# Set simulation path
setSimulationPath(path = "PATH/TO/SIMULATION", simulation = "input")
# Create a new area
createArea("fictive_area")
} # }