Write water values for a given area.
writeWaterValues(
area,
data = NULL,
overwrite = TRUE,
opts = antaresRead::simOptions()
)
The area where to add the water values.
A 365x101 numeric matrix: table of marginal values for the stored energy, which depends on the date (365 days) and on the reservoir level (101 round percentage values ranging from 0% to 100%). OR a 3-column matrix with 365x101 rows. In this latter case the 3 columns must be 'date', 'level' and 'value' (in this order), and the rows must be sorted by: ascending day, ascending level.
Logical. Overwrite the values if a file already exists.
List of simulation parameters returned by the function
antaresRead::setSimulationPath()
.