View source: R/writeWaterValues.R
writeWaterValues | R Documentation |
Write water values for a given area.
writeWaterValues(
area,
data = NULL,
overwrite = TRUE,
opts = antaresRead::simOptions()
)
area |
The area where to add the water values. |
data |
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. |
overwrite |
Logical. Overwrite the values if a file already exists. |
opts |
List of simulation parameters returned by the function
|
## Not run:
writeWaterValues("fictive_area", data = matrix(rep(0, 365*101), nrow = 365))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.