| writeAntaresH5 | R Documentation | 
Convert antares output to h5 file
writeAntaresH5(path = getwd(), timeSteps = c("hourly", "daily", "weekly",
  "monthly", "annual"), opts = simOptions(), writeMcAll = TRUE,
  compress = 1, misc = FALSE, thermalAvailabilities = FALSE,
  hydroStorage = FALSE, hydroStorageMaxPower = FALSE, reserve = FALSE,
  linkCapacity = FALSE, mustRun = FALSE, thermalModulation = FALSE,
  allData = FALSE, writeAllSimulations = FALSE, nbCores = 4,
  removeVirtualAreas = FALSE, storageFlexibility = NULL,
  production = NULL, reassignCosts = FALSE, newCols = TRUE,
  overwrite = FALSE, supressMessages = FALSE)
| path | 
 | 
| timeSteps | 
 | 
| opts | 
 | 
| writeMcAll | 
 | 
| compress | 
 | 
| misc | 
 | 
| thermalAvailabilities | 
 | 
| hydroStorage | 
 | 
| hydroStorageMaxPower | 
 | 
| reserve | 
 | 
| linkCapacity | 
 | 
| mustRun | 
 | 
| thermalModulation | 
 | 
| allData | 
 | 
| writeAllSimulations | 
 | 
| nbCores | 
 | 
| removeVirtualAreas | 
 | 
| storageFlexibility | 
 | 
| production | 
 | 
| reassignCosts | 
 | 
| newCols | 
 | 
| overwrite | 
 | 
| supressMessages | 
 | 
## 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)
## End(Not run)