CatchmentTimeArea Class |
Namespace: DHI.Mike1D.RainfallRunoffModule
public class CatchmentTimeArea : CatchmentAbstractUrban, ICatchmentTimeAreaData, ICatchmentUrbanData, ICatchmentData
The CatchmentTimeArea type exposes the following members.
Name | Description | |
---|---|---|
CatchmentTimeArea |
Constructor of CatchmentTimeArea
|
Name | Description | |
---|---|---|
AdditionalFlow |
Additional constant flow added to the total runoff
Unit: [m3/s]
Default: 0
(Inherited from Catchment.) | |
AllowTimeStepJump |
Parameter that allows or not to advance
the time during dry period.
| |
Area |
Total area of catchment
Type: Catchment area
Unit: [m2]
Default: 1e8 (100 km2)
(Inherited from Catchment.) | |
AreaInSquareKm |
Full area of catchment
Type: Catchment area
Unit: [km2]
Default: 100
(Inherited from Catchment.) | |
BoundarySourceEvaporation |
Evaporation boundary
(Inherited from CatchmentAbstractUrban.) | |
CatchmentGeometry |
Get and set the list of coordinates of the catchment
(Inherited from Catchment.) | |
CatchmentName |
Catchment name.
(Inherited from Catchment.)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. | |
Cells |
List of CatchmentTimeAreaCell sorted from downstream to upstream.
Created during prepare
| |
CenterPoint |
Get and set the central point of the catchment
(Inherited from Catchment.) | |
ComponentSources |
A Component Source provides info on concentration of various
components.
(Inherited from Catchment.) | |
ConcentrationTime |
Concentration time used to defined the number of cells of this catchment.
Unit: [s]
| |
CurrentTime |
Current time of catchment
(Inherited from Catchment.) | |
EffectiveArea |
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.) | |
EndTime |
End time of catchment data - the latest time for which the catchment can return data
(Inherited from Catchment.) | |
EvaporationFromTimeSeries |
True if evaporation is enabled, and an evaporation boundary has been defined.
(Inherited from CatchmentAbstractUrban.)If set to false the initial recover rate is used during dry periods. Default: False | |
GlobalDryDepthLimit |
Dry depth used for switching Horton's mode between dry and wet
in Kinematic Wave model when InfiltrationAfterRain == true.
In this case the switching to regeneration of infiltration capacity
is controlled by a low limit of the water depth on the surface.
Unit: [m]
Default: 1e-6
(Inherited from CatchmentAbstractUrban.) | |
ImperviousArea |
The impervious area is a factor which defines the part
of the catchment considered to contribute to the runoff.
Unit: [-]
| |
InfiltrationAfterRain |
True if infiltration shall occur also after rain
Default: True
(Inherited from CatchmentAbstractUrban.) | |
InitialLossMax |
Maximum value of InitialLossStorageDepth
Unit: [m]
(Inherited from CatchmentAbstractUrban.) | |
InitialLossRecoveryRate |
Recovery rate for initial loss capacity.
The initial loss capacity is regenerated in dry periods by a linear recovery rate.
(Inherited from CatchmentAbstractUrban.)Used as constant evaporation, when evaporation is not defined explicitly. If evaporation is defined explicitly (see EvaporationFromTimeSeries), this is neglected. Unit: [m/s] Default: 0.00005 [m/hour] = 1.2 [mm/day] | |
IntegratedHorton |
True if the Integrated Horton method is used in the calculation
for infiltration.
Default: False
(Inherited from CatchmentAbstractUrban.) | |
LoadPerInhabitant |
Load per inhabitant.
Unit: [-]
(Inherited from CatchmentAbstractUrban.) | |
MaximumFlow |
Maximum runoff flow
(Inherited from Catchment.) | |
Method |
The Time Area method to be used:
TimeAreaCurve corresponds to 1
TimeAreaFunction corresponds to 2
| |
MinimumFlow |
Minimum runoff flow
(Inherited from Catchment.) | |
MinTime |
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.) | |
ModelId |
Catchment model ID. Unique id.
(Inherited from Catchment.) | |
Name | Obsolete. (Inherited from Catchment.) | |
ObservedData |
Observed data. Used for creating calibration plots and for auto-calibration reference data.
(Inherited from Catchment.) | |
Persons |
Number of person equivalent in the catchment,
used with catchment discharge source boundary
(Inherited from Catchment.) | |
ReductionFactor |
Hydrological reduction coeeficient. The runoff reduction factor,
accounts for water losses caused by e.g evapo-transpiration,
imperfect imperviousness, etc. on the contributing area.
Unit: [-]
(Inherited from CatchmentAbstractUrban.) | |
Runoff |
Runoff.
(Inherited from CatchmentAbstractUrban.)Unit: [m3/s] This is a computational variable. Setting this has no effect (apart from when writing initial value to result file) | |
RuntimeDiagnostics |
Get the Diagnostics instance for a Catchment. Used during runtime.
(Inherited from Catchment.) | |
SnowMeltCoefficient |
Snow melt coefficient.
Note: the snow melt coefficient is not in SI unit,
because the temperature is assumed to be in degres Celcius.
Unit: [m/degCelcius/s]
(Inherited from CatchmentAbstractUrban.) | |
SnowStorage | (Inherited from CatchmentAbstractUrban.) | |
StartTime |
Start time of catchment data - the earliest time for which the catchment can return data
(Inherited from Catchment.) | |
StormWaterLIDs |
List of Lids
(Inherited from Catchment.) | |
TimeAreaCoefficient |
Time Area curve coefficient, used by TA function
| |
TimeAreaCurve |
Time area curve, user defined, must be specified in case TimeAreaCurveType
is UserDefined.
The curve is dimensionless, time (X) values between 0 and 1 and area (Y) values between 0 and 1. | |
TimeAreaCurveType |
Time area curve type.
If set to UserDefined, the actual curve must be specified in the TimeAreaCurve table. All other values indicate predefined curves. | |
TimeOfMaximumFlow |
Time of minimum runoff flow
(Inherited from Catchment.) | |
TimeOfMinimumFlow |
Time of maximum runoff flow
(Inherited from Catchment.) | |
TimeStep |
Time step used by the catchment model
(Inherited from Catchment.) | |
TotalAdditionalInflowVolume |
Total volume of additional inflow
(Inherited from Catchment.) | |
TotalLossVolume |
Total infiltration into this catchment (integrated over time)
(Inherited from Catchment.) | |
TotalRainfallVolume |
Total rainfall on this catchment (integrated over time)
(Inherited from Catchment.) | |
TotalRunoffVolume |
Total runoff from this catchment (integrated over time)
(Inherited from Catchment.) | |
TSBuffer |
Set the TSBuffer to use in this catchment
(Inherited from Catchment.) | |
UseHotStartFile |
Flag telling if initial conditions is taken from a hotstart file
Default: false
(Inherited from Catchment.) | |
UseSnowModule |
True if the snow module is activated.
If True, a temperature time series has to be provided for the catchment.
(Inherited from CatchmentAbstractUrban.) | |
YearlyRunoff |
Return dictionary of runoff as a function of year
(Inherited from Catchment.) |
Name | Description | |
---|---|---|
ApplyBoundary(ICatchmentSourceBoundary) |
Apply a boundary to this catchment
(Inherited from CatchmentAbstractUrban.) | |
ApplyBoundary(GlobalSourceBoundaryTypes, GlobalGeoLocatedSource) |
Apply a boundary to this catchment
(Inherited from CatchmentAbstractUrban.) | |
ApplyBoundaryLIDs(ICatchmentSourceBoundary) |
Apply boundary to LID's in catchment
(Inherited from Catchment.) | |
ApplyBoundaryLIDs(GlobalSourceBoundaryTypes, GlobalGeoLocatedSource) |
Apply boundary to LID's in catchment
(Inherited from Catchment.) | |
ApplySnowModule |
Apply snow module if activated, and update _actRainDepth.
(Inherited from CatchmentAbstractUrban.) | |
BoundaryTypeIsAdditive |
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.) | |
CalculateStatistics |
Calculate statistics on catchment.
TODO: Consider moving this to individual catchments to increase performance (avoid using _stateVariables).
TODO: Consider moving this out of Catchments class and into seperate class, for generic handling of all catchments
(Overrides CatchmentAbstractUrbanCalculateStatistics.) | |
CalculateYearlyStatistics |
Update the yearly statistics.
(Inherited from CatchmentAbstractUrban.)Called at end of every time step. | |
CreateOffersBase |
Create offers, populating _offers and _offerDelegates (Inherited from CatchmentAbstractUrban.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from Catchment.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetRequiredTypes |
Get the type of boundary required by this catchment
(Inherited from CatchmentAbstractUrban.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize |
Initialize Rainfall Runoff model. Sets up static data.
(Overrides CatchmentInitialize(IDiagnostics).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PerformTimeStep |
This procedure forwards the calculation with one time step.
(Inherited from Catchment.) | |
Prepare |
Prepare Rainfall Runoff model. Sets up dynamic data so that the model is ready for first time step.
(Overrides CatchmentAbstractUrbanPrepare(RRParameters, IDiagnostics).) | |
PrepareSource |
Prepare boundary source.
(Inherited from Catchment.) | |
PrepareState |
Prepare state, especially time
(Inherited from Catchment.) | |
ResetBoundaries |
Remove boundaries applied in previous runs
(Inherited from Catchment.) | |
StateUpdated |
When state has been updated, this method can be called to update derived/computational variables
| |
TakeTimeStep |
This procedure forwards the Time-Area calculation with one time step.
(Overrides CatchmentTakeTimeStep.) | |
TimeAccepts |
List of data types that is accepted and can be used in SetValue
(Inherited from Catchment.) | |
TimeOffers |
List of data types that is offered and can be used in GetValue
(Inherited from Catchment.) | |
TimeOfNextUpdate |
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.) | |
TimeValueGetter(IQuantity) |
Get value setter for the specified data quantity
(Inherited from Catchment.) | |
TimeValueGetter(IQuantity, IQuantity) |
Get value setter for the specified data quantity
(Inherited from Catchment.) | |
TimeValueGetterRR |
Get value setter for the specified data quantity
(Inherited from CatchmentAbstractUrban.) | |
TimeValueSetter |
Get value setter for the specified data type
(Inherited from Catchment.) | |
ToString | Returns a string that represents the current object. (Inherited from Catchment.) | |
TransferStateToOldBase |
Transfer current state to state N. First thing to do when starting a timestep.
(Inherited from CatchmentAbstractUrban.) | |
TriggerPostTimeStepEvent |
Trigger the PostTimeStepEvent, called at end of a time step.
(Inherited from Catchment.) | |
Type |
The type of catchment: NAM, Urban A etc
(Overrides CatchmentType.) | |
Update |
Update internal state of catchment to time Time()
(Inherited from Catchment.) | |
Validate |
Validate that the catchment is set up correctly
(Inherited from Catchment.) | |
ValidateLIDs |
Validate all LIDs in catchment
(Inherited from Catchment.) | |
VolumeInCatchment |
Volume of water stored in catchment after previous TakeTimeStep()
(Overrides CatchmentVolumeInCatchment.) | |
VolumeInCatchmentAtStart |
Volume of water stored in catchment after previous TakeTimeStep()
(Inherited from Catchment.) |
Name | Description | |
---|---|---|
PostTimeStepEvent |
Event that is triggered every time the catchment has finished
a new time step
(Inherited from Catchment.) |
Name | Description | |
---|---|---|
_actEvaporation |
Actual evaporation
Unit: [m/s]
(Inherited from CatchmentAbstractUrban.) | |
_actEvaporationOld | Actual evaporation at time N, Unit: [m/s]
(Inherited from CatchmentAbstractUrban.) | |
_actInfiltration |
Actual infiltration, loss.
Unit: [m/s]
(Inherited from CatchmentAbstractUrban.) | |
_actInfiltrationOld | Infiltration at time N. Unit: [m/s] (Inherited from CatchmentAbstractUrban.) | |
_actRainDepth |
Actual rain depth.
Unit: [m]
(Inherited from CatchmentAbstractUrban.) | |
_actRainIntensity |
Actual rain intensity.
Unit: [m/s]
(Inherited from CatchmentAbstractUrban.) | |
_additionalFlow |
Additional constant flow added to the total runoff
Unit: [m3/s]
Default: 0
(Inherited from Catchment.) | |
_additionalFlowOld |
Additional constant flow at start of time step
(Inherited from Catchment.) | |
_area |
Total area of catchment.
Type: Catchment area.
Unit: [m2].
Default: 1e8 (100 km2).
(Inherited from Catchment.) | |
_bInfiltrationAfterRain |
True if infiltration shall occur also after rain,
used in Horton infiltration depth calculation from INI file
Default: True
(Inherited from CatchmentAbstractUrban.) | |
_boundarySourceEvaporation |
Evaporation boundary source
(Inherited from Catchment.) | |
_boundarySourceRainfall |
Rainfall boundary source
(Inherited from Catchment.) | |
_boundarySourceTemperature |
Temperature boundary source
(Inherited from Catchment.) | |
_bSnowModule |
True if the snow module is activated.
(Inherited from CatchmentAbstractUrban.) | |
_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.) | |
_endTime |
Protected end time of catchment data - the latest time for which the catchment can return data
(Inherited from Catchment.) | |
_evaporationFromForcing |
Evaporation that must be applied during the calculation time step.
unit: [m/s]
(Inherited from CatchmentAbstractUrban.) | |
_evaporationFromTS |
True if evaporation is enabled, and an evaporation boundary has been defined.
(Inherited from CatchmentAbstractUrban.)If set to false the initial recover rate is used during dry periods. Default: False | |
_globalDepthDryLimit |
Global dry depth limit
from INI file
in Kinematic wave: used when InfiltrationAfterRain == true
Default: 1e-6
Unit: [m]
(Inherited from CatchmentAbstractUrban.) | |
_imperviousArea |
Impervious area is a factor which defines the part
of the catchment considered to contribute to the runoff.
Unit: [-]
| |
_initialLossMax |
Maximum value of InitialLossStorageDepth
Unit: [m]
Default:
(Inherited from CatchmentAbstractUrban.) | |
_initialLossRecoverRate |
Initial loss recover rate
Unit: [m/s]
Default: 5e-5 m/h = 1.2 mm/day
(Inherited from CatchmentAbstractUrban.) | |
_initialLossStorageDepth |
Initial loss storage depth.
Unit: [m]
(Inherited from CatchmentAbstractUrban.) | |
_initialLossStorageDepthOld | Initial loss storage depth at time N. Unit: [m] (Inherited from CatchmentAbstractUrban.) | |
_loss |
Loss, other than infiltration which goes into _actInfiltration (in another unit).
Unit [m3/s]
(Inherited from CatchmentAbstractUrban.) | |
_lossOld | Loss at time N. Unit: [m/s] (Inherited from CatchmentAbstractUrban.) | |
_maximumFlow | Maximum flow (Inherited from Catchment.) | |
_minimumFlow | Minimum flow (Inherited from Catchment.) | |
_minTime |
Proteced MinTime
(Inherited from Catchment.) | |
_offerDelegates |
List of delegates, matching list of _offers (Inherited from CatchmentAbstractUrban.) | |
_offers |
List of datatypes offered in GetValue
(Inherited from Catchment.) | |
_potentialEvaporation |
Potential evaporation
Unit: [m/s]
(Inherited from CatchmentAbstractUrban.) | |
_potentialEvaporationOld | Potential evaporation at time N. Unit: [m/s] (Inherited from CatchmentAbstractUrban.) | |
_rainfallFromForcing |
Rainfall that must be applied during the calculation time step measured in m/s.
unit: [m/s]
(Inherited from CatchmentAbstractUrban.) | |
_rainfallFromForcingOld | Rainfall that must be applied during the calculation time step measured in m/s, at time N. unit: [m/s] (Inherited from CatchmentAbstractUrban.) | |
_redCoeff |
Hydrological reduction is the runoff reduction factor,
accounts for water losses caused by e.g evapo-transpiration,
imperfect imperviousness, etc. on the contributing area.
Unit: [-]
Default: 0.90
(Inherited from CatchmentAbstractUrban.) | |
_runoff |
Runoff.
Unit: [m3/s]
(Inherited from CatchmentAbstractUrban.) | |
_runoffOld | Runoff at time N. Unit: [m3/s] (Inherited from CatchmentAbstractUrban.) | |
_runtimeDiagnostics |
Diagnostics instance for a Catchment. Used during runtime.
(Inherited from Catchment.) | |
_snowStorage |
Snow storage
Unit: [m]
(Inherited from CatchmentAbstractUrban.) | |
_snowStorageOld | Snow storage at time N. Unit: [m] (Inherited from CatchmentAbstractUrban.) | |
_startTime |
Protected start time of catchment data - the earliest time for which the catchment can return data
(Inherited from Catchment.) | |
_stormwaterLIDs |
List of Lids
(Inherited from Catchment.) | |
_temperatureFromForcing |
Temperature that must be applied during the calculation time step.
Note: the temperature is given in degres Celcius, which is not SI unit!
unit: [degCelcius]
(Inherited from CatchmentAbstractUrban.) | |
_timeNew |
Variable holding information on the latest calulated time
(Inherited from Catchment.) | |
_timeOfLastUpdate |
Last time the state of this catchment was updated (Update(DateTime) was called)
(Inherited from Catchment.) | |
_timeOfMaximumFlow | Time of maximum flow (Inherited from Catchment.) | |
_timeOfMinimumFlow | Time of minimum flow (Inherited from Catchment.) | |
_timeOld |
Variable holding information on the latest calulated time
(Inherited from Catchment.) | |
_timeStep |
Time step used in the simulation, or initial time step if the time step can change.
(Inherited from Catchment.) | |
_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.) | |
_totalAdditionalInflowVolume | Total volume of additional inflow (Inherited from Catchment.) | |
_totalLossVolume | Total volume of loss (Inherited from Catchment.) | |
_totalRainfallVolume | Total volume of rain (Inherited from Catchment.) | |
_totalRunoffVolume | Total volume of runoff (Inherited from Catchment.) | |
_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.) | |
_useHotStartFile |
Flag telling if initial conditions is taken from a hotstart file
Default: false
(Inherited from Catchment.) | |
_yearlyRunoff |
Dictionary of runoff as a function of year
(Inherited from Catchment.) |