Interpolated Volume
Last updated
Last updated
Generic interpolation parameter that returns a value based on a Reservoir or Storage nodes current (time step) volume. The
parameter uses an array (table) of Reservoir Volumes and corresponding values. In this case the associated values are the corresponding Reservoir Area for a given Volume.
Interpolation is used to calculate values betwen points given in the interpolation array. API Reference
type
interpolatedvolume
Yes
node
Storage node to provide input volume values to interpolation calculation
Yes
volumes
x coordinates of the data points for interpolation
Yes
values
y coordinates of the data points for interpolation
Yes
interp_kwargs
Dictionary of keyword arguments to pass to scipy.interpolate.interp1d class and used for interpolation
Optional
The following Json shows an example Area vs Volume rating cure for a reservoir. This could be used to define the Area attribute of a Storage or Reservoir node.
The Json represents the table below:
0
1
7
2
10
4
15
6
25
14
When plotted it looks like this:
Below is an example Area rating table
0
1
7
2
10
4
15
6
25
14
When plotted it looks like this