First it’s necessary to load the package:
You need to set the path to an Antares study in “input” mode:
Or you can simply create a new study:
Before modifying your study, you can save it in an archive:
This will create a .tar.gz
file in your study folder.
You can create a new area with:
You can specify the localization of the area on the map, and also its color.
There are two helper functions for area parameters:
filteringOptions()
for filtering options, like filter-year-by-year
nodalOptimizationOptions()
for nodal optimizations options.You can initialize a cluster with some parameters:
createCluster(
area = "myarea",
cluster_name = "myareacluster",
group = "other",
unitcount = 1,
nominalcapacity = 8400,
`min-down-time` = 0,
`marginal-cost` = 0.010000,
`market-bid-cost` = 0.010000
)
You can also edit the settings of an existing cluster:
createLink(
from = "area1",
to = "area2",
propertiesLink = propertiesLinkOptions(
hurdles_cost = FALSE,
transmission_capacities = "enabled"
),
dataLink = NULL
)
You can edit the settings of an existing link:
For example, set the output of simulation year by year, and limit the number of Monte-Carlo years to 10:
You can remove areas, links, clusters and binding constraints from input folder with remove*
functions, e.g.:
First, update general settings to activate time series to generate:
Then run TS-generator:
Launch an Antares simulation from R: