states_to_percent: Convert Reservoir levels from MWh to percent of reservoir.

View source: R/math_functions.R

states_to_percentR Documentation

Convert Reservoir levels from MWh to percent of reservoir.

Description

Convert Reservoir levels from MWh to percent of reservoir.

Usage

states_to_percent(data, states_step_ratio = 0.01)

Arguments

data

A data.table contains the statesid and states columns

states_step_ratio

percent step between two successive levels.


dhia-gharsallaoui/watervalues documentation built on Dec. 1, 2022, 5:18 a.m.