hydroScalingAPI.modules.rainfallRunoffModel.objects
Class NetworkEquations_ChannelLosses

java.lang.Object
  extended by hydroScalingAPI.modules.rainfallRunoffModel.objects.NetworkEquations_ChannelLosses
All Implemented Interfaces:
BasicFunction

public class NetworkEquations_ChannelLosses
extends java.lang.Object
implements BasicFunction

This calss implements the set of non-linear ordinary differential equations used to simulate flows along the river network. The function is writen as a BasicFunction that is used by the RKF

Author:
Ricardo Mantilla

Constructor Summary
NetworkEquations_ChannelLosses(LinksAnalysis links, HillSlopesInfo hillinf, LinksInfo linkIn, int rt)
          Creates new NetworkEquations_Simple
 
Method Summary
 double[] eval(double[] input)
          An empty but required evaluate method
 double[] eval(double[] input, double time)
          The acual evaluate method for this function.
 float[] eval(float[] input)
          An empty but required evaluate method
 float[] eval(float[] input, float time)
          An empty but required evaluate method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkEquations_ChannelLosses

public NetworkEquations_ChannelLosses(LinksAnalysis links,
                                      HillSlopesInfo hillinf,
                                      LinksInfo linkIn,
                                      int rt)
Creates new NetworkEquations_Simple

Parameters:
links - The topologic structure of the river network
hillinf - The parameters manager for the system of hillsopes
linkIn - The parameters manager for links in the network
rt - The routing scheme. Available schemes are

0: Spatially variable Chezi coefficient

1: Spatially uniform Chezi coefficient

2: Constant Velocity

3: Spatially uniform Manning coefficient

4: Spatially variable Manning coefficient

5: Velocity based on parametrization v=Ck*q^lambda1*A^lambda2

Method Detail

eval

public float[] eval(float[] input,
                    float time)
An empty but required evaluate method

Specified by:
eval in interface BasicFunction
Parameters:
input - The values used to evaluate the function
time - The time at which the function is evaluated
Returns:
The value of the function

eval

public float[] eval(float[] input)
An empty but required evaluate method

Specified by:
eval in interface BasicFunction
Parameters:
input - The values used to evaluate the function
Returns:
The value of the function

eval

public double[] eval(double[] input)
An empty but required evaluate method

Specified by:
eval in interface BasicFunction
Parameters:
input - The values used to evaluate the function
Returns:
The value of the function

eval

public double[] eval(double[] input,
                     double time)
The acual evaluate method for this function. The equation implemented here is dq/dt=sum(q_trib)-q ds/dt=P-E-q_surf-q_sub Where q_trib is the flow for the incoming links, s is the storage in the hillslope, P is precipitation, E is evaporation, q_surf is the overland runoff and q_sub is the subsurface runoff

Specified by:
eval in interface BasicFunction
Parameters:
input - The values used to evaluate the function
time - The time at which the function is evaluated
Returns:
The value of the function


CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.