Create a Pumped Storage Power plant (PSP)
createPSP(
areasAndCapacities = NULL,
namePumping = "Psp_In",
nameTurbining = "Psp_Out",
hurdleCost = 5e-04,
timeStepBindConstraint = "weekly",
efficiency = NULL,
overwrite = FALSE,
opts = antaresRead::simOptions()
)
getCapacityPSP(
area = NULL,
nameTurbining = "Psp_Out",
timeStepBindConstraint = "weekly",
opts = antaresRead::simOptions()
)
editPSP(
area = NULL,
capacity = NULL,
namePumping = "Psp_In",
nameTurbining = "Psp_Out",
timeStepBindConstraint = "weekly",
hurdleCost = 5e-04,
opts = antaresRead::simOptions()
)
A data.frame with 2 columns installedCapacity
and area
.
The name of the pumping area
The name of the turbining area
The cost of the PSP
Time step for the binding constraint : daily
or weekly
The efficiency of the PSP
Overwrite the Pumped Storage Power plant if already exist. This will overwrite the previous area and links.
List of simulation parameters returned by the function
antaresRead::setSimulationPath()
an area name
PSP capacity for the area
An updated list containing various information about the simulation.
getCapacityPSP()
returns PSP capacity of the area
if (FALSE) { # \dontrun{
library(antaresEditObject)
path<-pathToYourStudy
opts<-setSimulationPath(path, simulation = "input")
pspData<-data.frame(area=c("a", "b"), installedCapacity=c(800,900))
createPSP(pspData, efficiency = 0.8)
createPSP(pspData, efficiency = 0.66, overwrite = TRUE)
createPSP(pspData, efficiency = 0.98, timeStepBindConstraint = "daily")
getAreas()
} # }
if (FALSE) { # \dontrun{
getCapacityPSP("a")
editPSP("a", capacity = 8000, hurdleCost = 0.1)
getCapacityPSP("a")
areaName<-"suisse"
createArea(areaName, overwrite = TRUE)
pspData<-data.frame(area=c(areaName), installedCapacity=c(9856))
createPSP(pspData, efficiency = 0.5, overwrite = TRUE, timeStepBindConstraint = "daily")
getCapacityPSP(areaName, timeStepBindConstraint = "daily")
} # }