Click or drag to resize

ICatchment Interface

Interface to Rainfall Runoff catchments. Specific catchments can inherit from the abstract Catchment class instead of implementing this interface directly.

Namespace:  DHI.Mike1D.RainfallRunoffModule
Assembly:  DHI.Mike1D.RainfallRunoffModule (in DHI.Mike1D.RainfallRunoffModule.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public interface ICatchment : IDoubleTimeProxy

The ICatchment type exposes the following members.

Properties
  NameDescription
Public propertyArea
Total area of catchment Unit: [m2]
Public propertyCatchmentGeometry
Get and set the list of coordinates of the catchment
Public propertyCatchmentName
Catchment name.

The name is not unique, there may be several catchment models for one catchment, however all catchments with the same name should/must share the same catchment geometry.

Public propertyCenterPoint
Get and set the central point of the catchment
Public propertyCurrentTime
Return the time of the current state.
Public propertyMinTime
Minimum time to which Time can be set. The catchment must caches values from MinTime to the max value of Time.
Public propertyModelId
Catchment model ID. Unique id.
Public propertyName Obsolete.
Same as ModelId - for backward compatibility.
Public propertyObservedData
Observed data. Used for creating calibration plots and for auto-calibration reference data.
Public propertyTimeStep
Time step op catchment
Public propertyTSBuffer
Set the TSBuffer to use in this catchment
Public propertyYearlyRunoff
Return dictionary of runoff as a function of year
Top
Methods
  NameDescription
Public methodInitialize
Initialize Rainfall Runoff model. Sets up static data.
Public methodPerformTimeStep
This procedure forwards the calculation with one time step.
Public methodPrepare
Prepare Rainfall Runoff model. Sets up dynamic data so that the model is ready for first time step.
Public methodResetBoundaries
Remove boundaries applied in previous runs
Public methodTimeAccepts
List of data types that is accepted and can be used in SetValue
(Inherited from IDoubleTimeProxy.)
Public methodTimeOffers
List of data types that is offered and can be used in GetValue
(Inherited from IDoubleTimeProxy.)
Public methodTimeOfNextUpdate
Return the time of next update. Used for PostTimeStepEvent event in Catchments.
Public methodTimeValueGetter(IQuantity)
Get value setter for the specified data quantity
(Inherited from IDoubleTimeProxy.)
Public methodTimeValueGetter(IQuantity, IQuantity)
Get value setter for the specified data quantity
(Inherited from IDoubleTimeProxy.)
Public methodTimeValueSetter
Get value setter for the specified data type
(Inherited from IDoubleTimeProxy.)
Public methodType
Type of model used in catchment
Public methodUpdate
This procedure forwards the calculation such that the state includes the specified time
Top
Events
  NameDescription
Public eventPostTimeStepEvent
An event that is called everytime a timestep was successfully performed.
Top
See Also