# NOT RUN {
# }
# NOT RUN {
# Write simulation one by one
setSimulationPath("C:/Users/MyUser/Mystudy", 1)
writeAntaresH5()
# Write all simulations
setSimulationPath("C:/Users/MyUser/Mystudy")
writeAntaresH5(writeAllSimulations = TRUE)
# Choose timestep to write
setSimulationPath("C:/Users/MyUser/Mystudy", 1)
writeAntaresH5(timeSteps = "hourly")
# Write with additionnal information
writeAntaresH5(timeSteps = "hourly",
misc = TRUE, thermalAvailabilities = TRUE,
hydroStorage = TRUE, hydroStorageMaxPower = TRUE, reserve = TRUE,
linkCapacity = TRUE, mustRun = TRUE, thermalModulation = TRUE)
# Write all data with a shorcut
writeAntaresH5(allData = TRUE)
# }
Run the code above in your browser using DataLab