if (FALSE) {
# Set an antares study in "input" mode. This is useful when one want to
# inspect input time series before running a simulation.
# Note that readAntares do not function in input mode, but readInputTS
# works with any mode.
setSimulationPath("path_to_the_study", "input")
# Read load time series
readInputTS(load = "all")
# Read hydrolic storage and maximum power in the same call:
readInputTS(hydroStorage = "all", hydroStorageMaxPower = "all")
# Use a different time step
myArea <- readInputTS(load= "myArea", timeStep = "monthly")
# Quick plot to visualize the variability of the series
matplot(myArea[, - (1:2), with = FALSE], type = "l")
}
Run the code above in your browser using DataLab