writeHydroValues {antaresEditObject} | R Documentation |
Write Hydro Values
Description
Write waterValues, reservoirLevels, maxpower, inflowPattern and creditModulations data for a given area.
Usage
writeHydroValues(
area,
type,
data,
overwrite = TRUE,
opts = antaresRead::simOptions()
)
Arguments
area |
The area where to add the values. |
type |
Type of hydro file, it can be "waterValues", "reservoir", "maxpower", "inflowPattern" or "creditmodulations". |
data |
The data must have specific dimension depending on the type of file :
|
overwrite |
Logical. Overwrite the values if a file already exists. |
opts |
List of simulation parameters returned by the function
|
Warning
For an Antares version >= 860, control of data consistency between mingen.txt
and maxpower_<area>.txt
can be executed.
This control depends on the values you find in hydro.ini
file.
Examples
## Not run:
writeHydroValues("fictive_area", type = "inflowPattern", data = matrix(rep(0, 365*1), nrow = 365))
## End(Not run)