Last chance! 50% off unlimited learning
Sale ends in
Create a Demand Side Response (DSR)
createDSR(
areasAndDSRParam = NULL,
spinning = 2,
overwrite = FALSE,
opts = antaresRead::simOptions()
)getCapacityDSR(area = NULL, opts = antaresRead::simOptions())
editDSR(
area = NULL,
unit = NULL,
nominalCapacity = NULL,
marginalCost = NULL,
spinning = NULL,
opts = antaresRead::simOptions()
)
An updated list containing various information about the simulation.
getCapacityDSR()
returns DSR capacity (unit * nominalCapacity of virtual cluster) of the area
A data.frame
with 4 columns area
, unit
,
nominalCapacity
, marginalCost
and hour
.
Hour represent the number of activation hours for the DSR per day.
DSR spinning
Overwrite the DSR plant if already exist. This will overwrite the previous area and links.
List of simulation parameters returned by the function
antaresRead::setSimulationPath()
an area where to edit the DSR
DSR unit number
DSR nominalCapacity
DSR marginalCost
if (FALSE) {
library(antaresEditObject)
path <- pathToYourStudy
opts <- setSimulationPath(path, simulation = "input")
# area, unit, nominalCapacity and marginalCost
dsrData <- data.frame(area = c("a", "b"), unit = c(10,20),
nominalCapacity = c(100, 120), marginalCost = c(52, 65), hour = c(3, 7))
createDSR(dsrData)
createDSR(dsrData, spinning = 3, overwrite = TRUE)
getAreas()
}
if (FALSE) {
getCapacityDSR("a")
editDSR("a", unit = 50, nominalCapacity = 8000)
getCapacityDSR("a")
}
if (FALSE) {
getCapacityDSR("a")
editDSR("a", unit = 50, nominalCapacity = 8000, marginalCost = 45, hour = 9)
getCapacityDSR("a")
}
Run the code above in your browser using DataLab