value_node_gen: Calculate water values from Bellman values

View source: R/math_functions.R

value_node_genR Documentation

Calculate water values from Bellman values

Description

Calculate water values from Bellman values

Usage

value_node_gen(watervalues, inaccessible_states = 1, statesdt, reservoir)

Arguments

watervalues

an intermediate result in Grid_Matrix contains the bellman values

inaccessible_states

Numeric in [0,1]. Tolerance of inaccessible states. For example if equal to 0.9 we delete the state if this states is inaccessible by 90% of scenarios.

statesdt

an intermediate result in Grid_Matrix contains the states dicretization

reservoir

an intermediate result in Grid_Matrix contains the reservoir levels


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