to_Antares_Format_bis: Convert water values to Antares format

View source: R/functions.R

to_Antares_Format_bisR Documentation

Convert water values to Antares format

Description

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. Since Grid_Matrix output weekly values for an arbitrary number of reservoir levels, interpolation is performed on both scales in order to fit the desired format.

Usage

to_Antares_Format_bis(data)

Arguments

data

A data.table generated by Grid_Matrix

Value

A 365*101 numeric matrix


rte-antares-rpackage/antaresWaterValues documentation built on Feb. 20, 2025, 4:37 p.m.