Generic interpolation parameter that uses a node’s flow at the previous time-step for interpolation. API Reference
type
interpolatedflow
Yes
node
Node to provide input flow values to interpolation calculation
Optional
flows
x coordinates of the data points for interpolation
Optional
values
y coordinates of the data points for interpolation
Optional
interp_kwargs
Dictionary of keyword arguments to pass to scipy.interpolate.interp1d class and used for interpolation
Optional
coming soon...
Parameter value is equal to the interpolation of another parameter. API Reference
type
interpolatedflow
Yes
node
Node to provide input flow values to interpolation calculation
Optional
interp_kwargs
Dictionary of keyword arguments to pass to scipy.interpolate.interp1d class and used for interpolation
Optional
coming soon...
Parameter value is equal to the quadrature of the interpolation of another parameter. API Reference
upper_parameter
Upper value of the interpolated interval to integrate over
Yes
x
x coordinates of the data points for interpolation
Optional
y
y coordinates of the data points for interpolation
Optional
lower_parameter
Lower value of the interpolated interval to integrate over. Can be None in which case the lower value of interval is zero
Optional
interp_kwargs
Dictionary of keyword arguments to pass to scipy.interpolate.interp1d class and used for interpolation
Optional
coming soon...
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