hydroScalingAPI.modules.rainfallRunoffModel.objects
Class HillSlopesInfo

java.lang.Object
  extended by hydroScalingAPI.modules.rainfallRunoffModel.objects.HillSlopesInfo

public class HillSlopesInfo
extends java.lang.Object

The purpose of this class is to be a centralized database for all the inforamtion related to the system of hillslopes that compose the basin. In the current implementation this class produces aggregated outuput for the two hillslopes draining into a stream link. Future implementations will consider the variability of the two hillslopes. Information such as precipitaiton, evaporation, soil parameters can be requested to this class. Note: In order to implement new hillslope models this class must be updated to provide the information for the hillslopes

Author:
Ricardo Mantilla

Constructor Summary
HillSlopesInfo(LinksAnalysis linksCon)
          Creates new instnace of hillSlopesInfo
 
Method Summary
 double Area(int HillNumber)
          The total area of the hillslopes draining to the HillNumber-th link
 double DepthMnSat(int HillNumber)
          By Peter Furey: MEAN SATURATED DEPTH = the depth of s2 zone averaged from hillslope ridge to stream.
 double ETrate(int HillNumber)
          By Peter Furey: undocumented
 float[][] getAreasArray()
          The array of total area of the hillslopes draining corresponding link
 double infiltRate(int HillNumber, double timeInMinutes)
          Returns the value of infiltration rate in mm/h for a given moment of time
 double Ks(int HillNumber)
          By Peter Furey: Soil Hydraulic condictivity
 float maxPrecipitation(int HillNumber)
          The maximum precipitatation intesity recorded over the hillslope
 float meanPrecipitation(int HillNumber)
          The mean precipitatation intesity recorded over the hillslope
 double MstExp(int HillNumber)
          By Peter Furey: undocumented
 double precipitation(int HillNumber, double timeInMinutes)
          Returns the value of precipitation intensity in mm/h for a given moment of time
 double RecParam(int HillNumber)
          By Peter Furey: In NetworkEquations, qs = (RecParam(i)*s2) .
 double S2max(int HillNumber)
          By Peter Furey: undocumented
 double S2Param(int HillNumber)
          By Peter Furey: In NetworkEquations, satsurf = (S2Param(i)*s2).
 void setArea(int HillNumber, float newArea)
          The total area of the hillslopes draining to the HillNumber-th link
 void setInfManager(InfiltrationManager infiltation)
          Assigns a InfiltrationManager to handle infiltration rates for the group of hillslopes
 void setStormManager(StormManager storm)
          Assigns a StormManager to handle precipitation for the group of hillslopes
 double So(int HillNumber)
          The Storage capacity of the hillslope
 double Te(int HillNumber)
          The evaporation rate in the hillslope
 double Ts(int HillNumber)
          The recesion rate in the hillslope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HillSlopesInfo

public HillSlopesInfo(LinksAnalysis linksCon)
               throws java.io.IOException
Creates new instnace of hillSlopesInfo

Parameters:
linksCon - The object describing the topologic connectivity of the river network
Throws:
java.io.IOException - Captures errors while retreiving information
Method Detail

Area

public double Area(int HillNumber)
The total area of the hillslopes draining to the HillNumber-th link

Parameters:
HillNumber - The index of the desired hillslope
Returns:
The area in km^2

setArea

public void setArea(int HillNumber,
                    float newArea)
The total area of the hillslopes draining to the HillNumber-th link

Parameters:
HillNumber - The index of the desired hillslope

getAreasArray

public float[][] getAreasArray()
The array of total area of the hillslopes draining corresponding link

Returns:
An array with the hillslopes areas

precipitation

public double precipitation(int HillNumber,
                            double timeInMinutes)
Returns the value of precipitation intensity in mm/h for a given moment of time

Parameters:
HillNumber - The index of the desired hillslope
timeInMinutes - The time in minutes
Returns:
The value of rainfall intensity

maxPrecipitation

public float maxPrecipitation(int HillNumber)
The maximum precipitatation intesity recorded over the hillslope

Parameters:
HillNumber - The index of the desired hillslope
Returns:
The value of the maximum precipitation intensity

meanPrecipitation

public float meanPrecipitation(int HillNumber)
The mean precipitatation intesity recorded over the hillslope

Parameters:
HillNumber - The index of the desired hillslope
Returns:
The value of the mean precipitation intensity

infiltRate

public double infiltRate(int HillNumber,
                         double timeInMinutes)
Returns the value of infiltration rate in mm/h for a given moment of time

Parameters:
HillNumber - The index of the desired hillslope
timeInMinutes - The time in minutes
Returns:
The value of infiltration intensity

So

public double So(int HillNumber)
The Storage capacity of the hillslope

Parameters:
HillNumber - The index of the desired hillslope
Returns:
The value of the storage capacity in m^3

Ts

public double Ts(int HillNumber)
The recesion rate in the hillslope

Parameters:
HillNumber - The index of the desired hillslope
Returns:
The value of the recesion constant in 1/s

Te

public double Te(int HillNumber)
The evaporation rate in the hillslope

Parameters:
HillNumber - The index of the desired hillslope
Returns:
The value of the evaporation rate in 1/s

setStormManager

public void setStormManager(StormManager storm)
Assigns a StormManager to handle precipitation for the group of hillslopes

Parameters:
storm - The StormManager

setInfManager

public void setInfManager(InfiltrationManager infiltation)
Assigns a InfiltrationManager to handle infiltration rates for the group of hillslopes

Parameters:
infiltation - The InfiltrationManager

DepthMnSat

public double DepthMnSat(int HillNumber)
By Peter Furey: MEAN SATURATED DEPTH = the depth of s2 zone averaged from hillslope ridge to stream. It is assumed constant in time to make qs a linear function of s2. It could be time varying to make qs a function of s2^2.

Parameters:
HillNumber - The index of the desired hillslope
Returns:
NOTE: units undocumented

Ks

public double Ks(int HillNumber)
By Peter Furey: Soil Hydraulic condictivity

Parameters:
HillNumber - The index of the desired hillslope
Returns:
NOTE: units undocumented

MstExp

public double MstExp(int HillNumber)
By Peter Furey: undocumented

Parameters:
HillNumber - The index of the desired hillslope
Returns:
NOTE: units undocumented

RecParam

public double RecParam(int HillNumber)
By Peter Furey: In NetworkEquations, qs = (RecParam(i)*s2) . In this expression, we can divide s2 by area (in denom of RecParam(i)). Given that s2 = head * area, this shows that qs is proportional to head. d3 here comes from Beta in Book 5 Notes.

Parameters:
HillNumber - The index of the desired hillslope
Returns:
NOTE: units undocumented

S2Param

public double S2Param(int HillNumber)
By Peter Furey: In NetworkEquations, satsurf = (S2Param(i)*s2). d4 comes from Duffy, via paper 3

Parameters:
HillNumber - The index of the desired hillslope
Returns:
NOTE: units undocumented

S2max

public double S2max(int HillNumber)
By Peter Furey: undocumented

Parameters:
HillNumber - The index of the desired hillslope
Returns:
NOTE: units undocumented

ETrate

public double ETrate(int HillNumber)
By Peter Furey: undocumented

Parameters:
HillNumber - The index of the desired hillslope
Returns:
NOTE: units undocumented


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.