Skip to contents

This function converts water values generated by Grid_Matrix() to the format expected by Antares: a 365*101 matrix, where the rows are the 365 days of the year and the columns are round percentage values ranging from 0 to 100 assessing the reservoir level. Use antaresEditObject::writeWaterValues() to write water values.

Usage

to_Antares_Format(data, constant = TRUE)

Arguments

data

A dplyr::tibble() representing water values, output aggregated_results generated by Grid_Matrix().

constant

Binary. Generate daily constant values by week. FALSE to do interpolation.

Value

A 365*101 numeric matrix

Note

Please use to_Antares_Format_bis() if you are using hydro-pricing-mode=accurate in Antares.