Click or drag to resize

CatchmentNam Class

A lumped, conceptual rainfall-runoff model, simulating the overland-, inter-, and base-flow components as a function of the moisture contents in four storages; snow, surface, root-zone and ground water.
Inheritance Hierarchy

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 class CatchmentNam : CatchmentNamData

The CatchmentNam type exposes the following members.

Constructors
  NameDescription
Public methodCatchmentNam(String)
Construct NAM catchment
Public methodCatchmentNam(String, String)
Construct NAM catchment
Top
Properties
  NameDescription
Public propertyActualEvaporation
Variable holding the actual evaporation. Type: Evaporation Unit: [m/s]

Computational variable; setting has no effect on the computations, it affects only the value/output in the first time step.

Public propertyAdditional
Additional parameters for the NAM catchment. These parameters are not used for the calculation, but can be used to calculate parameters for the catchment
(Inherited from CatchmentNamData.)
Public propertyAdditionalFlow
Additional constant flow added to the total runoff Unit: [m3/s] Default: 0
(Inherited from Catchment.)
Public propertyArea
Total area of catchment Type: Catchment area Unit: [m2] Default: 1e8 (100 km2)
(Inherited from Catchment.)
Protected propertyAreaInSquareKm
Full area of catchment Type: Catchment area Unit: [km2] Default: 100
(Inherited from Catchment.)
Public propertyAutocal
Autocalibration
(Inherited from CatchmentNamData.)
Public propertyBaseFlowLower
State variable holding the base flow from the lower groundwater reservoir in the latest time step. Type: Discharge Unit: [mm/hour] Default: 0.
Public propertyBaseTemperature
Variable holding the base temperature defining if the precipitation is snow or rain (T0). Type: temperature Unit: [celcius] Default: 0.0
(Inherited from CatchmentNamData.)
Public propertyBoundaryAbstraction
Abstraction boundary. The boundary must cover the entire simulation period. Unit: [m/s], for accumulated types (abstraction-depth): [m]
Public propertyBoundaryDayCoeff
Day cofficient boundary
Public propertyBoundaryEvaporation
Evaporation boundary The boundary must cover the entire simulation period. Unit: [m/s], for accumulated types: [m]
Public propertyBoundaryRadiation
Radiation boundary
Public propertyBoundaryRainfall
Rainfall boundary The boundary must cover the entire simulation period. Unit: [m/s], for accumulated types: [m]
Public propertyBoundarySourceIrrigation
Irrigation boundary
Public propertyBoundaryTemperature
Temperature boundary The boundary must cover the entire simulation period. Unit: [C] celcius.
Public propertyCapilarFlux
Variable holding the total amount of water undergoing capillar movement. Unit: [m/s]

Computational variable; setting has no effect on the computations, it affects only the value/output in the first time step.

Public propertyCapilarFluxParameter
Variable expressing at which ground water depth the capilar flux is 1 mm/day when the lower zone is completely dry (GWLfl1). Type: Ground water depth Unit: [meter] Default: 0.0
(Inherited from CatchmentNamData.)
Public propertyCatchmentGeometry
Get and set the list of coordinates of the catchment
(Inherited from 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.

(Inherited from Catchment.)
Public propertyCenterPoint
Get and set the central point of the catchment
(Inherited from Catchment.)
Public propertyComponentSources
A Component Source provides info on concentration of various components.
(Inherited from Catchment.)
Public propertyConstDegreeDayCoef
Variable holding the constant degree day coefficient (Csnow). Type: Melting Coefficient Unit: [mm/Celcius/day] Default: 2.0
(Inherited from CatchmentNamData.)
Public propertyConstGwDepthForZeroBaseFlow
The ground water depth at which the base flow equals zero (GWLBF0). Constant value, used when UseSeasonalGwDepthForZeroBaseFlow is false

Type: Ground water depth. Unit: [meter]. Default: 10.

(Inherited from CatchmentNamData.)
Public propertyCropCoeffs
Variables holding the seasonal crop coefficientsas read from the file Type: Dimensionless factor Unit: [] Default: 1

Used only when UseCropCoeffsAndLosses is set.

(Inherited from CatchmentNamData.)
Public propertyCurrentTime
Current time of catchment
(Inherited from Catchment.)
Protected propertyEffectiveArea
Effective area. The effective area is the area that collects water. Can be smaller than total area, eg for Linear Reservoir or when LIDs are present.
(Inherited from Catchment.)
Public propertyEndTime
End time of catchment data - the latest time for which the catchment can return data
(Inherited from Catchment.)
Public propertyExternalChainage
Variable holding the chainage of the external river delivering irrigation water.
(Inherited from CatchmentNamData.)
Public propertyExternalRiverName
Variable holding the name of the external river delivering irrigation water Type: River Name Default: Blank
(Inherited from CatchmentNamData.)
Public propertyGroundWaterDepth
State variable holding the depth of the groundwater below surface. Type: Ground water depth. Unit: [meter] Default: 0
Public propertyGwCAreaRatio
This variable holds the ratio between ground water reservoir and the catchment area (Carea). It is multiplied with the baseflow after updating the groundwater depth with infiltration. Type: Dimensionless factor Unit: [] Default: 1
(Inherited from CatchmentNamData.)
Public propertyIncludeElevationZones
This flag tells if the catchment should be divided into elevation zones used when ice modelling is included. Default: false
(Inherited from CatchmentNamData.)
Public propertyIncludeRadiation
This flag determines if a radiation coefficient should be use in the calculation. Default: false
(Inherited from CatchmentNamData.)
Public propertyIncludeRainfallDegreeDay
This flag decides if a rainfall degree day coefficient should be used. Default: false.
(Inherited from CatchmentNamData.)
Public propertyIncludeSnow
This flag tells if snow is included in the calculation Default: false
(Inherited from CatchmentNamData.)
Public propertyInfiltrationRateAtFieldCapacity
Variable holding the infiltartion rate at field capacity (K0inf). Type: Infiltration Unit: [mm/h] Default: 1
(Inherited from CatchmentNamData.)
Public propertyInfiltrationToGroundWater
Variable holding the amount of water that infiltrates to the ground water. Unit: [m/s]

Computational variable; setting has no effect on the computations, it affects only the value/output in the first time step.

Public propertyInitial
Initial conditions for NAM state variables.
(Inherited from CatchmentNamData.)
Public propertyInterFlowFirstReservoir
State variable holding the interflow routed through the first linear reservoir. Unit: [mm/hour]
Public propertyInterFlowOutflow
State variable holding the interflow routed through the second linear reservoir. Unit: [mm/hour]
Public propertyLossesToEvaporation
Variables holding the seasonal losses in percent due to evaporation as read from the file Type: Dimensionless factor Unit: [%] Default: 0

Used only when UseCropCoeffsAndLosses is set.

(Inherited from CatchmentNamData.)
Public propertyLossesToGroundwater
Variables holding the seasonal losses in percent to groundwater Type: Dimensionless factor Unit: [%] Default: 0

Used only when UseCropCoeffsAndLosses is set.

(Inherited from CatchmentNamData.)
Public propertyLossesToOverlandFlow
Variables holding the seasonal losses in percent to over land flow as read from the file Type: Dimensionless factor Unit: [%] Default: 0

Used only when UseCropCoeffsAndLosses is set.

(Inherited from CatchmentNamData.)
Public propertyLowerGwRechargeCoef
Variable holding the fraction of the infiltration to the ground water that enters the lower ground water storage (CQlow). If set to zero, the lower ground water storage is not enabled. Type: Lower baseflow Unit: [percent] Default: 0.0
(Inherited from CatchmentNamData.)
Public propertyMaxGwDepthForZeroBaseFlow
Holds the maximum groundwater depth corresponding to a zero base flow. Used when UseSeasonalGwDepthForZeroBaseFlow. Type: Ground water depth Unit: [meter] Default: 10
(Inherited from CatchmentNamData.)
Public propertyMaximumFlow
Maximum runoff flow
(Inherited from Catchment.)
Public propertyMinGwDepthForTranferToUpperStorage
Holds the minimum groundwater depth at which the groundwater is transfered to the upper storage (GWLmin). Type: Ground water depth Unit: [meter] Default: 0
(Inherited from CatchmentNamData.)
Public propertyMinGwDepthForZeroBaseFlow
Holds the minimum groundwater depth corresponding to a zero base flow. Used when UseSeasonalGwDepthForZeroBaseFlow. Type: Ground water depth Unit: [meter] Default: 0
(Inherited from CatchmentNamData.)
Public propertyMinimumFlow
Minimum runoff flow
(Inherited from Catchment.)
Public propertyMinTime
Minimum time the catchment should be able to provide values. The catchment will cache or recalculate values from MinTime to EndTime. MinTime must be updated ("dragged behind" time of calculation) from the caller to allow the catchment to discard cached values.
(Inherited from Catchment.)
Public propertyModelId
Catchment model ID. Unique id.
(Inherited from Catchment.)
Public propertyName Obsolete. (Inherited from Catchment.)
Public propertyNumberOfSnowZones
Variable holding the number of inidividual snow zones. When set, all snow zone parameter arrays are recreated and reset to default values. Default: 1
(Inherited from CatchmentNamData.)
Public propertyObservedData
Observed data. Used for creating calibration plots and for auto-calibration reference data.
(Inherited from Catchment.)
Public propertyOverLandFirstReservoirFlow
State variable holding information on the overland flow routed through the first of two linear reservoirs. Unit: [mm/hour]
Public propertyOverLandFirstReservoirStorage
State variable holding the amount stored in the first reservoir routing the overland flow. Unit: [mm]
Public propertyOverLandflowRunoffCoeff
Coefficient for overland flow runoff (CQOF). It expresses the part of the net rainfall that run off as over land flow. Type: Dimensionless Unit: [] Default: 0.5
(Inherited from CatchmentNamData.)
Public propertyOverLandOutflow
State variable holding information on the overland flow routed through the second of two linear reservoirs. Unit: [mm/hour]
Public propertyOverLandSecondReservoirStorage
State variable holding the amount stored in the second reservoir routing the overland flow. Unit: [mm]
Public propertyPercentageFromExternalRiver
Variable telling the percentage of irrigation source that originates from external river. Type: Dimensionless Factor Unit: [] Default: 0
(Inherited from CatchmentNamData.)
Public propertyPercentageFromLocalGroundWater
Variable telling the percentage of irrigation source that originates from local ground water. Type: Dimensionless Factor Unit: [] Default: 50
(Inherited from CatchmentNamData.)
Public propertyPercentageFromLocalRiver
Variable telling the percentage of irrigation source that originates from local river. Type: Dimensionless Factor Unit: [] Default: 50
(Inherited from CatchmentNamData.)
Public propertyPersons
Number of person equivalent in the catchment, used with catchment discharge source boundary
(Inherited from Catchment.)
Public propertyRadiationCoeff
Variable holding the radiation coefficient (Crad); Type: Dimensionless factor Default: 0.0;
(Inherited from CatchmentNamData.)
Public propertyRainfallDegreeDayCoeff
Variable holding the rainfall degree day coefficient (Crain). Type: Rain Melting Coefficient per degree per time Unit: [/celcius/day] Default: 0.0
(Inherited from CatchmentNamData.)
Public propertyRootZoneStorage
State variable holding the amount stored in the root/lower zone. Type: Infiltration Unit: [mm] Default: 0.
Public propertyRootZoneStorageMax
Maximum storage in the root/lower zone (L_max) Type: Storage depth Unit: [mm] Default: 100.00
(Inherited from CatchmentNamData.)
Public propertyRuntimeDiagnostics
Get the Diagnostics instance for a Catchment. Used during runtime.
(Inherited from Catchment.)
Public propertySeasonalDegreeDayCoeff
This array holds the seasonal variation of the degree day coefficient (Csnow). Type: melting Coefficient Unit: [mm/celcius/day] Default: 1, 1.5, 2, 3, 4, 4.5, 4.5, 4, 3, 2, 1.5, 1
(Inherited from CatchmentNamData.)
Public propertySeasonalDegreeDayCoeffTimeSeries
This flag determines if the seasonal variation of the degree day coefficient is specified in a time series. Default: false
(Inherited from CatchmentNamData.)
Public propertySeasonalRelativeGwDepth
Holds the relative seasonal depth used to calculated the groundwater depth corresponding to a zero base flow. Used when UseSeasonalGwDepthForZeroBaseFlow. Type: Dimensionless factor Unit: [] Default: 1
(Inherited from CatchmentNamData.)
Public propertySnowQMelt
Discharge from each snow zone from melting
Public propertySnowStorage
State variable holding the amount of snow stored. Unit: [mm]
Public propertySnowWaterRetention
State variable holding the water retention Unit: [%]
Public propertySpecificYield
Holds the specific yield for the groundwater reservoir (Sy). Type: Dimensionless factor Unit: [] Default: 0.1
(Inherited from CatchmentNamData.)
Public propertyStartTime
Start time of catchment data - the earliest time for which the catchment can return data
(Inherited from Catchment.)
Public propertyStormWaterLIDs
List of Lids
(Inherited from Catchment.)
Public propertySurfaceStorage
State variable holding the amount stored in the surface/upper storage Type: Storage depth Unit: [mm] Default: 0
Public propertySurfaceStorageMax
Maximum surface/upper storage (Umax) Type: Storage Depth Unit: [mm] Default: 10.00
(Inherited from CatchmentNamData.)
Public propertyThresholdGroundWaterRecharge
Root zone treshold for recharging groundwater (TG) Type: Dimensionless factor Unit: [] Default: 0
(Inherited from CatchmentNamData.)
Public propertyThresholdInterFlow
Root zone treshold for inter flow (TIF) Type: Dimensionless factor Unit: [] Default: 0
(Inherited from CatchmentNamData.)
Public propertyThresholdOverlandFlow
Root zone treshold for overland flow (TOF) Type: Dimensionless factor Unit: [] Default: 0
(Inherited from CatchmentNamData.)
Public propertyTimeConstantBaseFlow
Time constant for the routing of base flow (CKBF) Type: Flow routing time constant Unit: [hour] Default: 2000
(Inherited from CatchmentNamData.)
Public propertyTimeConstantFirstReservoir
Time constant for the first linear reservoir routing (CK1), for overland and interflow. Type: Flow routing time constant Unit: [hour] Default: 10
(Inherited from CatchmentNamData.)
Public propertyTimeConstantInterFlow
Time constant for the first linear reservoir routing of inter flow (CKIF) Type: Flow routing time constant Unit: [hour] Default: 1000
(Inherited from CatchmentNamData.)
Public propertyTimeConstantLowerBaseFlow
Variable holding the time constant for routing ground water in the lower ground water reservoir (CKlow). Type: Flow routing time constant Unit: [hour] Default: 10000
(Inherited from CatchmentNamData.)
Public propertyTimeConstantSecondReservoir
Time constant for the second linear reservoir routing (CK2), for overland flow. Type: Flow routing time constant Unit: [hour] Default: 10
(Inherited from CatchmentNamData.)
Public propertyTimeOfMaximumFlow
Time of minimum runoff flow
(Inherited from Catchment.)
Public propertyTimeOfMinimumFlow
Time of maximum runoff flow
(Inherited from Catchment.)
Public propertyTimeStep
Time step used by the rainfall runoff model
(Inherited from CatchmentNamData.)
Public propertyTotalAdditionalInflowVolume
Total volume of additional inflow
(Inherited from Catchment.)
Public propertyTotalInfiltration
Variable holding the total amount of water that infiltrates. Unit: [m/s]

Computational variable; setting has no effect on the computations, it affects only the value/output in the first time step.

Public propertyTotalLossVolume
Total infiltration into this catchment (integrated over time)
(Inherited from Catchment.)
Public propertyTotalRainfallVolume
Total rainfall on this catchment (integrated over time)
(Inherited from Catchment.)
Public propertyTotalRunoffVolume
Total runoff from this catchment (integrated over time)
(Inherited from Catchment.)
Public propertyTSBuffer
Set the TSBuffer to use in this catchment
(Inherited from Catchment.)
Public propertyUseAbstraction
Flag telling if abstraction of ground water should be included. Default: false
(Inherited from CatchmentNamData.)
Public propertyUseCropCoeffsAndLosses
Flag telling if seasonal crop coefficients and losses should be specified. Default: false
(Inherited from CatchmentNamData.)
Public propertyUseFullEvaporationOnSnow
Flag telling if the evaporation has to be reduced by the snow cover. If False (default MIKE 11) the evaporation will be reduced by the snow cover, if True (default MIKE URBAN), full evaporation occurs even on the ground where there is snow Type: bool Default: False
(Inherited from CatchmentNamData.)
Public propertyUseHotStartFile
Flag telling if initial conditions is taken from a hotstart file Default: false
(Inherited from Catchment.)
Public propertyUseIrrigationModule
Flag telling if the irrigation module should be applied. Type: bool Default: False
(Inherited from CatchmentNamData.)
Public propertyUseSeasonalDegreeDayCoeff
This flag determines if a seasonal variation of the degree day coefficient should be used. Default: false
(Inherited from CatchmentNamData.)
Public propertyUseSeasonalGwDepthForZeroBaseFlow
Flag telling if a seasonal variation of the ground water depth corresponding to zero base flow should be used. Default: false
(Inherited from CatchmentNamData.)
Public propertyYearlyActualEvaporation
Yearly actual evaporation
Public propertyYearlyBaseFlow
Yearly base flow
Public propertyYearlyCapFlux
Yearly capilary flux
Public propertyYearlyGroundWaterAbstraction
Yearly ground water abstraction
Public propertyYearlyInfiltrationToGroundWater
Yearly infiltration to groundwater
Public propertyYearlyInterFlow
Yearly interflow
Public propertyYearlyIrrigation
Yearly irrigation
Public propertyYearlyOverlandFlow
Yearly overland flow
Public propertyYearlyPotentialEvaporation
Yearly potential evaporation
Public propertyYearlyRainfall
Yearly rainfall
Public propertyYearlyRunoff
Return dictionary of runoff as a function of year
(Inherited from Catchment.)
Public propertyZoneArea
Variables holding the areas of the different zones. Type: Catchment area Unit: [km2] Default: 0, not used in case of only one snow zone, the total catchment area is used instead.
(Inherited from CatchmentNamData.)
Public propertyZoneDryTemperatureCorrection
Variables holding the dry temperature correction for the different zones. Type: Temperature correction Unit: [celcius] Default: 0
(Inherited from CatchmentNamData.)
Public propertyZoneElevation
Variables holding the elevations for the different zones. These values are not used during the calculation, but used elsewhere to calculate parameters in different snow zones. Type: Elevation Unit: [meter] Default: 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000
(Inherited from CatchmentNamData.)
Public propertyZoneMaximumStorage
Variables holding the maximum storage at the different zones Type: Storage depth Unit: [mm] Default: 10000, if only one snow zone: 0.
(Inherited from CatchmentNamData.)
Public propertyZoneMaxWaterInSnow
Variables holding the maximum amount of water contained in the snow. Type: Max Water Unit: [%] Default: 0
(Inherited from CatchmentNamData.)
Public propertyZoneMinimumStorage
Variables holding the minimum storage for full coverage for each zone Type: Storage depth Unit: [mm] Default: 100, if only one snow zone: 0.
(Inherited from CatchmentNamData.)
Public propertyZonePrecipitationCorrection
Variables holding the precipitation correction for the different zones. Type: Precipitation correction Unit: [%] Default: 0
(Inherited from CatchmentNamData.)
Public propertyZoneWetTemperatureCorrection
Variables holding the wet temperature correction for the different zones. Type: Temperature correction Unit: [celcius] Default: 0
(Inherited from CatchmentNamData.)
Top
Methods
  NameDescription
Public methodApplyBoundary(ICatchmentSourceBoundary)
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(ICatchmentSourceBoundary).)
Public methodApplyBoundary(GlobalSourceBoundaryTypes, GlobalGeoLocatedSource)
Apply boundary for Global source boundary type
(Overrides CatchmentApplyBoundary(GlobalSourceBoundaryTypes, GlobalGeoLocatedSource).)
Protected methodApplyBoundaryLIDs(ICatchmentSourceBoundary)
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.)
Protected methodCalculateYearlyStatistics
Calculate and update yearly statistics, YearlyRunoff.

Called at end of each time step, in PerformTimeStep

(Overrides CatchmentStateCalculateYearlyStatistics.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from Catchment.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(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 methodInitialiseStateVariableTable
This procedure initializes all the state variables declared for the catchment.
(Overrides CatchmentStateInitialiseStateVariableTable.)
Public methodInitialize
Initialize Rainfall Runoff model. Sets up static data.
(Overrides CatchmentInitialize(IDiagnostics).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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(RRParameters, IDiagnostics).)
Protected methodPrepareSource
Prepare boundary source.
(Inherited from Catchment.)
Protected methodPrepareState
Prepare state for new simulation.
(Inherited from CatchmentState.)
Public methodResetBoundaries
Remove boundaries applied in previous runs
(Inherited from Catchment.)
Protected methodTakeTimeStep
This procedure forwards the NAM calculation with one time step.
(Overrides CatchmentTakeTimeStep.)
Public methodTimeAccepts
List of data types that is accepted and can be used in SetValue
(Inherited from Catchment.)
Public methodTimeOffers
List of data types that is offered and can be used in GetValue
(Inherited from Catchment.)
Public methodTimeOfNextUpdate
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(IQuantity)
Get value setter for the specified data quantity
(Inherited from Catchment.)
Public methodTimeValueGetter(IQuantity, IQuantity)
Get value setter for the specified data quantity
(Inherited from Catchment.)
Public methodTimeValueGetterRR
Get value setter for the specified data quantity
(Overrides CatchmentStateTimeValueGetterRR(IQuantity, IQuantity).)
Public methodTimeValueSetter
Get value setter for the specified data type
(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 CatchmentStateUpdate(DateTime).)
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 methodVolumeInCatchment
Volume of water stored in catchment after previous TakeTimeStep()
(Overrides CatchmentVolumeInCatchment.)
Public methodVolumeInCatchmentAtStart
Volume of water stored in catchment after previous TakeTimeStep()
(Overrides CatchmentVolumeInCatchmentAtStart.)
Top
Events
  NameDescription
Public eventPostTimeStepEvent
Event that is triggered every time the catchment has finished a new time step
(Inherited from Catchment.)
Top
Fields
  NameDescription
Protected field_additionalFlow
Additional constant flow added to the total runoff Unit: [m3/s] Default: 0
(Inherited from Catchment.)
Protected field_additionalFlowOld
Additional constant flow at start of time step
(Inherited from Catchment.)
Protected field_area
Total area of catchment. Type: Catchment area. Unit: [m2]. Default: 1e8 (100 km2).
(Inherited from Catchment.)
Protected field_boundarySourceEvaporation
Evaporation boundary source
(Inherited from Catchment.)
Protected field_boundarySourceRainfall
Rainfall boundary source
(Inherited from Catchment.)
Protected field_boundarySourceTemperature
Temperature boundary source
(Inherited from Catchment.)
Protected field_cropCoeffs
Variables holding the seasonal crop coefficients Type: Dimensionless factor Unit: [] Default: 1
(Inherited from CatchmentNamData.)
Protected field_effectiveTimeStep
Time step used in the simulation, it may change. It is set in Prepare to _timeStep, and can be updated by individual catchment models when required, i.e. it may differ from _timeStep.
(Inherited from Catchment.)
Protected field_endTime
Protected end time of catchment data - the latest time for which the catchment can return data
(Inherited from Catchment.)
Protected field_includeSnow
This flag tells if snow is included in the calculation Default: false
(Inherited from CatchmentNamData.)
Protected field_maximumFlow
Maximum flow
(Inherited from Catchment.)
Protected field_minimumFlow
Minimum flow
(Inherited from Catchment.)
Protected field_minTime
Proteced MinTime
(Inherited from Catchment.)
Protected field_offers
List of datatypes offered in GetValue
(Inherited from Catchment.)
Protected field_runtimeDiagnostics
Diagnostics instance for a Catchment. Used during runtime.
(Inherited from Catchment.)
Protected field_startTime
Protected start time of catchment data - the earliest time for which the catchment can return data
(Inherited from Catchment.)
Protected field_stateVariables
State variables in catchment
(Inherited from CatchmentState.)
Protected field_stormwaterLIDs
List of Lids
(Inherited from Catchment.)
Protected field_timeNew
Variable holding information on the latest calulated time
(Inherited from Catchment.)
Protected field_timeOfLastUpdate
Last time the state of this catchment was updated (Update(DateTime) was called)
(Inherited from Catchment.)
Protected field_timeOfMaximumFlow
Time of maximum flow
(Inherited from Catchment.)
Protected field_timeOfMinimumFlow
Time of minimum flow
(Inherited from Catchment.)
Protected field_timeOld
Variable holding information on the latest calulated time
(Inherited from Catchment.)
Protected field_timeStep
Time step used in the simulation, or initial time step if the time step can change.
(Inherited from Catchment.)
Protected field_timeStepInHours
Time step used in the NAM rainfall runoff model Unit: [hours]
(Inherited from CatchmentNamData.)
Protected field_timeUpdateFraction
Fraction of time between prev time and current time for the last call to Update(DateTime). This should be updated everytime _timeOfLastUpdate is updated.
(Inherited from Catchment.)
Protected field_totalAdditionalInflowVolume
Total volume of additional inflow
(Inherited from Catchment.)
Protected field_totalLossVolume
Total volume of loss
(Inherited from Catchment.)
Protected field_totalRainfallVolume
Total volume of rain
(Inherited from Catchment.)
Protected field_totalRunoffVolume
Total volume of runoff
(Inherited from Catchment.)
Protected field_tsBuffer
TSBuffer to use when accessing time series objects Set in Catchments.Add(). If not set, then the inheritors must create a TSBuffer before using it.
(Inherited from Catchment.)
Protected field_useHotStartFile
Flag telling if initial conditions is taken from a hotstart file Default: false
(Inherited from Catchment.)
Protected field_yearlyRunoff
Dictionary of runoff as a function of year
(Inherited from Catchment.)
Public fieldVolumeInCatchmentAtStartVar
Top
See Also