VegetativeSwale Class

Vegetative Swales are waterways or depressed areas with sloping sides covered with grass and other vegetation. They slow down the conveyance of collected runoff and allow it more time to infiltrate to inherent soil beneath it.

Definition

Namespace: DHI.Mike1D.RainfallRunoffModule.LID
Assembly: DHI.Mike1D.RainfallRunoffModule (in DHI.Mike1D.RainfallRunoffModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class VegetativeSwale : LIDBase, 
	IStormwaterLIDSurface
Inheritance
Object    LIDBaseOffers    LIDBase    VegetativeSwale
Implements
IStormwaterLIDSurface

Constructors

VegetativeSwaleInitializes a new instance of the VegetativeSwale class

Properties

Area Area of LID.

This is the area used for rain and evaporation, i.e. if set to 0.5 times the catchment area, then half of the rain falls on the catchment and half of the rain on the LIDs directly.

The sum of all Area for all LIDs within a single catchment must be less than the area of the catchment they belong to.

For some LIDs (e.g. rain barrel), this area is zero.


(Inherited from LIDBase)
Areas A list specifying part of LID area on catchment surfaces.
(Inherited from LIDBase)
CollectingAreas A list specifying LID collecting areas on catchment surfaces.

When entry with the same SurfaceID is also present in Areas then the entry in this list correspond to additional collecting area, which will define collecting surface. This effectively gives that the sum of all collecting areas may be smaller than TotalCollectingArea.


(Inherited from LIDBase)
Connections A list specifying connection to other LIDs where the water needs to be transferred.
(Inherited from LIDBase)
Evaporation Evaporation in the LID at the current time step Unit: [m/s]
(Inherited from LIDBaseOffers)
FlowStat Flow statistics and mass balance
(Inherited from LIDBase)
FractionOfLIDFlowToRoute Fraction of runoff flow from the LIDs that are routed by the catchment. The remainder will be added directly to the catchment runoff (not routed).

The different catchment types may treat this differently.

Default value: 1. Unit: [fraction]


(Inherited from LIDBase)
Infiltration Infiltration in the LID at the current time step Unit: [m/s]
(Inherited from LIDBaseOffers)
InitialSaturation Initial saturation fraction.

For storage, this fraction is used to calculate the initial storage depth.

Default value: 0. Unit: [fraction].


(Inherited from LIDBase)
Name Name of the LID
(Inherited from LIDBase)
NumberOfUnits Number of LID units handled by this LID instance
(Inherited from LIDBase)
ReportPath Path and name for report file.

If null or empty, no report file is created.

Use only for testing and validating model - file can become quite big.


(Inherited from LIDBase)
Runoff Runoff from LID at the current time step Unit: [m3/s]
(Inherited from LIDBase)
SoilInfiltrationCapacity Infiltration capacity to surrounding soil
Surface Surface parameters
SurfaceDepressionStorageHeight Height of surface depressions. Below this height runoff (routing) does not take place.

This height must be less than StorageHeight

Default value: 0. Unit: [m].

SurfaceSideSlope Swale side slope (run over rise). A zero means vertical sides

Note that this is a run-over-rise, i.e. an "inverse slope". The rise is the surface storage height (StorageHeight) and is always non-zero. A zero SurfaceSideSlope will model vertical walls (zero run).

The slope must be small enough for the sides not to cover the entire width of the swale. There must be a least 25 cm of flat bottom, and the slope will be corrected accordingly.

TotalCollectingArea Total collecting area is the area from which water is routed through the LIDS, either because rain is falling directly on the LIDs (Area) or when catchment rain (after losses) is routed to the LIDs.

This area is used by the catchment to figure out how much water should be routed to the LIDs, effectively splitting the catchment area in 3 parts: catchment-No-LID-Area = ICatchment.Area - sum(IStormwaterLID.TotalCollectingArea) catchment-Route-To-LID-Area = sum(IStormwaterLID.TotalCollectingArea - IStormwaterLID.Area) LID-area = sum(IStormwaterLID.Area) The sum of all 3 contributions is the area of the catchment.

The TotalCollectingArea cannot be smaller than Area.

The sum of all TotalCollectingArea for all LIDs within a single catchment must be less than the area of the catchment they belong to.


(Inherited from LIDBase)
Width Width of a single unit

Used for routing calculations


(Inherited from LIDBase)

Methods

AddInflow Add inflow (run-on from catchment to LID)
(Inherited from LIDBase)
AddToOffers Add LID offers to provided lists of offers and offer delegates.
(Overrides LIDBaseOffersAddToOffers(IListIQuantity, IListFuncDouble))
ApplyBoundary(CatchmentSourceBoundaryTypes, IBoundarySource) Apply a boundary to this catchment
(Inherited from LIDBase)
ApplyBoundary(GlobalSourceBoundaryTypes, GlobalGeoLocatedSource) Apply a boundary to this catchment
(Inherited from LIDBase)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Finish Finish simulations
(Inherited from LIDBase)
GetEvapRates Computes evaporation rate from layer.
(Inherited from LIDBase)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Initialize Initialize LID
(Inherited from LIDBase)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PerformTimeStep(DateTime, DateTime) Take time step and calculate the rain rate and potential evaporation rate from boundaries
(Inherited from LIDBase)
PerformTimeStep(DateTime, DateTime, Double, Double) Take time step with provided rain rate and evaporation rate
(Overrides LIDBasePerformTimeStep(DateTime, DateTime, Double, Double))
Prepare Interface for a stormwater Low-Impact-Development structure.

A stormwater LID is a small scale hydrologic structure, that can store, detain, infiltrate (and/or similar) water close to where the water origin from.

The stormwater LID is attached to a catchment. It can overtake some of the catchment area (TotalCollectingArea and Area).


(Overrides LIDBasePrepare(RRParameters, DateTime, DateTime, IDiagnostics))
PrepareForNewReportFile(IDiagnostics) Check report file directory and delete existing file, if present.
(Inherited from LIDBase)
PrepareForTimeStep Take time step
(Overrides LIDBasePrepareForTimeStep)
ReadState Read state and apply to module. Returns true if state was successfully read.
(Overrides LIDBaseReadState(ModelStateReader))
SetInputParameters Set input parameters
(Inherited from LIDBase)
StateUpdated When state has been updated, this method can be called to update derived/computational variables
(Inherited from LIDBase)
SwaleDepth Get depth water in swale for a given volume
SwaleVolume Volume and surface area of swale for current water depth.
SwaleVolume(Double) Volume and surface area of swale for specified water depth.
SwaleVolume(Double) Volume and surface area of swale for current water depth.
SwaleVolume(Double, Double) Volume and surface area of swale for specified water depth.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Validate Interface for a stormwater Low-Impact-Development structure.

A stormwater LID is a small scale hydrologic structure, that can store, detain, infiltrate (and/or similar) water close to where the water origin from.

The stormwater LID is attached to a catchment. It can overtake some of the catchment area (TotalCollectingArea and Area).


(Overrides LIDBaseValidate(IDiagnostics))
WriteState Write current state of module
(Overrides LIDBaseWriteState(ModelStateWriter))

Fields

_boundarySourceEvaporation Boundary for evaporation
(Inherited from LIDBase)
_boundarySourceRainfall Boundary for rainfall
(Inherited from LIDBase)
_evapPot Potential evaporation rate [m/s], from boundary
(Inherited from LIDBase)
_flowStat Flow statistics and mass balance
(Inherited from LIDBase)
_inflow Inflow [m3/s]
(Inherited from LIDBase)
_initialSaturation Initial saturation fraction.

For storage, this fraction is used to calculate the initial storage depth.

Default value: 0. Unit: [fraction].


(Inherited from LIDBase)
_rainRate Rain rate [m/s], from boundary
(Inherited from LIDBase)
_reportPath Path and name for report file.

If null or empty, no report file is created.

Use only for testing and validating model - file can become quite big.


(Inherited from LIDBase)
_reportWriter Result file writer
(Inherited from LIDBase)
_runoff Runoff from LID at the current time step Unit: [m3/s]
(Inherited from LIDBase)

See Also