ACRUSalinity.Processes.ReservoirSaltBudget
Class PReservoirComponSalinity

java.lang.Object
  extended byACRU.Components.CNode
      extended byACRU.Processes.PProcess
          extended byACRUSalinity.Processes.ReservoirSaltBudget.PReservoirSaltBudget
              extended byACRUSalinity.Processes.ReservoirSaltBudget.PReservoirComponSalinity
All Implemented Interfaces:
ACRU.Interfaces.ISaltFlow

public class PReservoirComponSalinity
extends PReservoirSaltBudget

This class generally determines the reservoir salt budget including reservoir storage and outflow salinity and salt loading

Author:
Aynom Teweldebrhan

Field Summary
protected  ACRU.Components.CAdjunctImperviousArea adjunctImperviousArea
           
protected  ACRU.Components.External.CDamDraftSink damDraftSink
           
protected  ACRU.Components.External.CReachInflow damReachInflowSource
           
protected  ACRU.Components.CIrrigatedArea m_CIrrigatedArea
           
protected  ACRU.Components.CLandSegment m_CLandSegment
           
protected  PSaltStacking m_PSaltStacking
           
protected  ACRU.Components.CDam reservoir
           
protected  ACRU.Components.CLandSegment saltInflowLandSegment
           
 
Fields inherited from class ACRUSalinity.Processes.ReservoirSaltBudget.PReservoirSaltBudget
currentStorage
 
Fields inherited from class ACRU.Processes.PProcess
CURRENT_DATE, END_SIMULATION_DATE, initialised, START_SIMULATION_DATE
 
Fields inherited from class ACRU.Components.CNode
 
Constructor Summary
PReservoirComponSalinity(ACRU.Components.CComponent component)
          Constructor that requires a CDam type of CComponent as an argument.
PReservoirComponSalinity(ACRU.Components.CDam dam)
          Constructor that takes a CDam object as an argument.
 
Method Summary
 void determineResCptsSalinity()
           
 void flowSalt()
          The method in which the salt flow behaviour is implemented .
private  void setRequiredData()
           
 
Methods inherited from class ACRUSalinity.Processes.ReservoirSaltBudget.PReservoirSaltBudget
runProcess, subtractFromCurrentStorage, transportSalt
 
Methods inherited from class ACRU.Processes.PProcess
initialise, isInitialised, setCurrentDate, setEndDate, setStartDate, toString
 
Methods inherited from class ACRU.Components.CNode
getNext, getNext, getNext, getNext, getNextCount, getNextCount, getNexts, getNexts, getTypeOfNexts, getTypeOfNexts, setNext, setNext, setNext, setNext, setNext, setNexts, setNexts, setNexts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

reservoir

protected ACRU.Components.CDam reservoir

damReachInflowSource

protected ACRU.Components.External.CReachInflow damReachInflowSource

m_CLandSegment

protected ACRU.Components.CLandSegment m_CLandSegment

saltInflowLandSegment

protected ACRU.Components.CLandSegment saltInflowLandSegment

m_PSaltStacking

protected PSaltStacking m_PSaltStacking

m_CIrrigatedArea

protected ACRU.Components.CIrrigatedArea m_CIrrigatedArea

adjunctImperviousArea

protected ACRU.Components.CAdjunctImperviousArea adjunctImperviousArea

damDraftSink

protected ACRU.Components.External.CDamDraftSink damDraftSink
Constructor Detail

PReservoirComponSalinity

public PReservoirComponSalinity(ACRU.Components.CDam dam)
                         throws java.lang.Exception
Constructor that takes a CDam object as an argument.

Throws:
ACRU.Exceptions.EException - EExceptions not dealt with internally.
java.lang.Exception

PReservoirComponSalinity

public PReservoirComponSalinity(ACRU.Components.CComponent component)
                         throws java.lang.Exception,
                                ACRU.Exceptions.EIllegalComponentTypeException
Constructor that requires a CDam type of CComponent as an argument.

Parameters:
component - The dam for which its salt balance is to be determined.
Throws:
java.lang.Exception - Exceptions not dealt with internally.
ACRU.Exceptions.EIllegalComponentTypeException - If the argument CComponent is not an instance of Cdam.
Method Detail

setRequiredData

private void setRequiredData()

flowSalt

public void flowSalt()
              throws java.lang.Exception,
                     ACRU.Exceptions.EException
Description copied from interface: ACRU.Interfaces.ISaltFlow
The method in which the salt flow behaviour is implemented .

Specified by:
flowSalt in interface ACRU.Interfaces.ISaltFlow
Specified by:
flowSalt in class PReservoirSaltBudget
Throws:
java.lang.Exception
ACRU.Exceptions.EException

determineResCptsSalinity

public void determineResCptsSalinity()
                              throws java.lang.Exception
Throws:
java.lang.Exception


Hosted by www.Geocities.ws

1