Serie to write: "load", "hydroROR", "hydroSTOR",
"wind" or "solar".
data
A 8760N matrix of hourly time series, except when type is
"hydroSTOR". In this latter case, data must either be 365N
(Antares v7) or 12*N (v6 and earlier).
overwrite
Logical. Overwrite the values if a file already exists.
opts
List of simulation parameters returned by the function
antaresRead::setSimulationPath.