(thermal clusters only)
Edit parameters, pre-process data and time series of an existing cluster, thermal or RES (renewable energy source).
editCluster(
area,
cluster_name,
...,
list_pollutants = NULL,
time_series = NULL,
prepro_data = NULL,
prepro_modulation = NULL,
add_prefix = TRUE,
opts = antaresRead::simOptions()
)
editClusterRES(
area,
cluster_name,
...,
time_series = NULL,
add_prefix = TRUE,
opts = antaresRead::simOptions()
)
The area where to create the cluster.
Name for the cluster, it will prefixed by area name, unless you set add_prefix = FALSE
.
Parameters to write in the Ini file. Careful!
Some parameters must be set as integers
to avoid warnings in Antares, for example,
to set unitcount
, you'll have to use unitcount = 1L
.
list
named with specific pollutants (only for Antares version >= 860)
the "ready-made" 8760-hour time-series available for simulation purposes.
Pre-process data, a data.frame
or matrix
,
default is a matrix with 365 rows and 6 columns.
Pre-process modulation, a data.frame
or matrix
,
if specified, must have 8760 rows and 1 or 4 columns.
If TRUE
(the default), cluster_name
will be prefixed by area name.
List of simulation parameters returned by the function
antaresRead::setSimulationPath()
An updated list containing various information about the simulation.
Parameter list_pollutants
is only available for Antares studies >= v8.6.0.
You must provide named list
(numerical values or NULL ) :
list( "nh3"= 0.25, "nox"= 0.45, "pm2_5"= 0.25, "pm5"= 0.25, "pm10"= 0.25, "nmvoc"= 0.25, "so2"= 0.25, "op1"= 0.25, "op2"= 0.25, "op3"= 0.25, "op4"= 0.25, "op5"= NULL, "co2"= NULL)
createCluster()
or createClusterRES()
to create new clusters, removeCluster()
or removeClusterRES()
to remove clusters.
if (FALSE) { # \dontrun{
# Update only nominalCapacity for an existing cluster
editCluster(
area = "myarea",
cluster_name = "mycluster",
nominalcapacity = 10600.000
)
} # }