Edit an existing area in an Antares study.
editArea(
name,
color = NULL,
localization = NULL,
nodalOptimization = NULL,
filtering = NULL,
adequacy = NULL,
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()
.
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")
# Edit an existing area
editArea("area", color = grDevices::rgb(230, 108, 44, max = 255),
localization = c(1, 1),
opts = antaresRead::simOptions())
editArea("de", nodalOptimization = list("spilledenergycost" = list(fr = 30)),
opts = antaresRead::simOptions())
editArea("de", nodalOptimization = nodalOptimizationOptions(),
opts = antaresRead::simOptions())
editArea(
"de",
filtering = list("filter_synthesis"=paste(c("hourly","daily"),collapse = ", "))
)
} # }