Click or drag to resize

CatchmentNam Methods

The CatchmentNam type exposes the following members.

Methods
  NameDescription
Public methodAccepts (Inherited from Catchment.)
Public methodAddToOffers (Inherited from Catchment.)
Public methodApplyBoundary(ICatchmentSourceBoundary)
Apply a boundary to this catchment
(Inherited from Catchment.)
Public methodApplyBoundary(CatchmentSourceBoundaryTypes, IBoundarySource)
Apply source boundary to the catchment. The boundary will be set depending on the type. It will throw an exception if type in not correct or if Discharge type is used.

If a boundoary source is already set, it will be overridden.

(Overrides CatchmentApplyBoundary(CatchmentSourceBoundaryTypes, IBoundarySource).)
Public methodApplyBoundary(GlobalSourceBoundaryTypes, GlobalGeoLocatedSource)
Apply boundary for Global source boundary type
(Overrides CatchmentApplyBoundary(GlobalSourceBoundaryTypes, GlobalGeoLocatedSource).)
Protected methodApplyBoundaryLIDs(GlobalGeoLocatedSource)
Apply boundary to LID's in catchment
(Inherited from Catchment.)
Protected methodApplyBoundaryLIDs(ICatchmentSourceBoundary)
Apply boundary to LID's in catchment
(Inherited from Catchment.)
Protected methodApplyBoundaryLIDs(CatchmentSourceBoundaryTypes, IBoundarySource)
Apply boundary to LID's in catchment
(Inherited from Catchment.)
Protected methodApplyBoundaryLIDs(GlobalSourceBoundaryTypes, GlobalGeoLocatedSource)
Apply boundary to LID's in catchment
(Inherited from Catchment.)
Public methodBoundaryTypeIsAdditive
Return true if boundaries of the specified type are additive; the contributions of two discharge boundaries add up, while two temperature boundaries do not.
(Inherited from Catchment.)
Public methodCalcInitialGWDepthFromBaseflow
Calculates an initial ground water depth from a base flow
Public methodCalcInitialOverlandFirstReservoirStorageFromFlow
Calculate initial OverLandFirstReservoirStorage from OverLandFirstReservoirFlow (and OverLandOutflow), i.e. these must be set first.
Public methodCalcInitialOverlandSecondReservoirStorageFromFlow
Calculate initial OverLandSecondReservoirStorage from OverLandOutflow (and OverLandFirstReservoirFlow), i.e. these must be set first.
Public methodCalcTimeConstantFirstReservoir
This functione returns the final time constant needed to route overland flow through the first linear reservoir. Unit: [hour]
Public methodCalcTimeConstantSecondReservoir
This functione returns the final time constant needed to route overland flow through the second linear reservoir. Unit: [hour]
Public methodCalculateGwDepthForZeroBaseFlow
This routine finds the ground water depth at which there is zero base flow. This depth can be either constant or vary through out the year.
Protected methodCalculateStatistics
Calculate statistics.

Called at end of each time step, by PerformTimeStep

(Overrides CatchmentStateCalculateStatistics.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from Catchment.)
Protected methodFinalizeTimeStep
Finalizes the time step for the catchment.
(Overrides CatchmentFinalizeTimeStep.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRequiredTypes
Returns a list of CatchmentSourceBoundaryTypes that need to be set. The list will always contains Rainfall and Evaporation if they have not been set yet. The list should be empty when this is called for M11, because the source boundaries have already been set.
(Overrides CatchmentGetRequiredTypes.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetYearlyStat
Get or create a NAMYearlyStat object for the specified year.
Public methodInitialize
Initialize Rainfall Runoff model. Sets up static data.
(Overrides CatchmentInitialize(IDiagnostics).)
Public methodInitializePlugins
Initializes the cathcment plugins.
(Inherited from Catchment.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOffers
List of data types that is offered and can be used in GetValue
(Inherited from Catchment.)
Public methodPerformTimeStep
This procedure forwards the calculation with one time step.
(Inherited from Catchment.)
Public methodPrepare
Prepare Rainfall Runoff model. Sets up dynamic data so that the model is ready for first time step.
(Overrides CatchmentPrepare(DateTime, DateTime, RRParameters, IDiagnostics).)
Protected methodPrepareForTimeStep
This procedure forwards the NAM calculation with one time step.
(Overrides CatchmentPrepareForTimeStep.)
Public methodPreparePlugins
Prepares the cathcment plugins.
(Inherited from Catchment.)
Protected methodPrepareSource
Prepare boundary source.
(Inherited from Catchment.)
Protected methodPrepareState
Prepare state for new simulation.
(Inherited from CatchmentState.)
Protected methodReadPluginStates
Write current state of plugins
(Inherited from Catchment.)
Public methodReadState
Read state and apply to module. Returns true if state was successfully read.
Public methodReset
Reset the catchment and set the current time.
(Inherited from Catchment.)
Public methodResetBoundaries
Remove boundaries applied in previous runs
(Inherited from Catchment.)
Public methodStateUpdated
When state has been updated, this method can be called to update derived/computational variables
(Overrides CatchmentStateStateUpdated.)
Protected methodTakeTimeStep
This procedure is the one actually calculating the new time step.
(Inherited from Catchment.)
Public methodTimeOffers
List of data types that is offered and can be used in GetValue
(Inherited from Catchment.)
Public methodTimeOfNextUpdate Obsolete.
Return the time of next update. Used for PostTimeStepEvent event in Catchments. If a catchment uses variable timesteps, then this function must be overridden!!
(Inherited from Catchment.)
Public methodTimeValueGetter
Get value getter for the specified data quantity
(Inherited from Catchment.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Catchment.)
Public methodTransferToStateVariableTable
This routine stores the calculated variables in variables ready for export. The values in these state variable corresponds to the values written to the result file. All discharge variables are subject to a unit conversion. During the calculation discharges are calculated using the unit mm/hour and must therefor be converted into m3/s.
(Overrides CatchmentStateTransferToStateVariableTable.)
Protected methodTriggerPostTimeStepEvent
Trigger the PostTimeStepEvent, called at end of a time step.
(Inherited from Catchment.)
Public methodType
The type of catchment: NAM, Urban A etc
(Overrides CatchmentType.)
Public methodUpdate
Update internal state of catchment to time Time()
(Overrides CatchmentUpdate(DateTime).)
Protected methodUpdateCheckPointTime
Updates check point time.
(Inherited from Catchment.)
Protected methodUpdateRouting
Updates the routing for the catchment.
(Overrides CatchmentUpdateRouting.)
Protected methodUpdateStorage
Updates the storage for the catchment.
(Overrides CatchmentUpdateStorage.)
Protected methodUpdateTime
Update time, setting _timeNew to _timeOld + _effectiveTimeStep. This method will assue that _timeNew does not go beyond _endTime, by modifying _effectiveTimeStep. Before calling UpdateTime, be sure that _effectiveTimeStep is set.
(Inherited from Catchment.)
Protected methodUpdateTimeStepUsingCheckPoint
Updates the present time if it is greater than the check point time.
(Inherited from Catchment.)
Public methodValidate
Validate that the catchment is set up correctly
(Overrides CatchmentValidate.)
Public methodValidate(IDiagnostics, Boolean)
Check that the NAM catchment has been properly initialised To be called at the end of Initialize() using isInitializing true. Validate() is called before Initialize()
Protected methodValidateLIDs
Validate all LIDs in catchment
(Inherited from Catchment.)
Public methodValueGetter
Get value setter for the specified data quantity
(Inherited from Catchment.)
Public methodValueSetter (Inherited from Catchment.)
Public methodVolumeInCatchment
Volume of water stored in catchment after previous time step.
(Overrides CatchmentVolumeInCatchment.)
Public methodVolumeInCatchmentAtStart
Volume of water stored in catchment after previous time step.
(Overrides CatchmentVolumeInCatchmentAtStart.)
Protected methodWritePluginStates
Write current state of plugins
(Inherited from Catchment.)
Public methodWriteState
Write current state of module
Top
See Also