SourceLink Class |
When connected to an outlet, it works as a standard link
When connected to a manhole, water is exchanged through the top of the manhole, using a weir-type calculation.
Namespace: DHI.Mike1D.Engine.Couplings
The SourceLink type exposes the following members.
Name | Description | |
---|---|---|
SourceLink | Initializes a new instance of the SourceLink class |
Name | Description | |
---|---|---|
AllowBackflow |
Flag indicating if backflow is allowed, i.e. flow from source into outlet.
Flag is true by default, but historically disabled for urban-weir outlet and urban-pump outlet. | |
DischargeBoundaryType | Type of discharge transfer applied for standard links. Default is Coupled (Inherited from StandardLink.) | |
ExternalGroundLevel |
External (surface) ground level/bottom level
Unit: [m]
Default:
(Inherited from StandardLink.) | |
ExternalVolume | ||
ExternalWaterLevel |
External (surface) water level
Unit: [m]
Default:
(Inherited from StandardLink.) | |
IsAdLink | Bool indicating if this will transfer AD (Inherited from LinkBase.) | |
IsSideStructure | (Inherited from StandardLink.) | |
LinkLocation | Original location of link, or null if link is based on a node or structure id. Used for error reporting only (Inherited from StandardLink.) | |
SmoothingFactor |
Smoothing factor for exponential smoothing.
(Inherited from LinkBase.) | |
WaterLevelBoundaryType | Type of water level boundary applied for standard links. Default is Coupled (Inherited from StandardLink.) |
Name | Description | |
---|---|---|
AdjustWaterLevelBoundaryValue |
Adjust water level boundary value. When external water depth is small, a similar small depth is
applied to MIKE 1D, handling differences in external and 1D bottom levels.
(Inherited from StandardLink.) | |
ApplyCouplingForcing |
This function is called by the perform time step routine, and it implements the interaction (water flows) coming from M21
| |
ApplyExponentialSmoothing |
Apply smoothing on the water level value.
(Inherited from StandardLink.)Smoothing must be applied after calling AdjustWaterLevelBoundaryValue. | |
AssignExternalConcentrationsToOutletBoundary |
Assign external concentrations to outlet boundary.
(Inherited from StandardLink.) | |
AssignExternalWaterLevelToOutletBoundary |
Assign water level to outlet boundary.
(Inherited from StandardLink.) | |
CheckGroundLevels |
Check that ground levels match. This is valid for inlet links
| |
CheckLinkBottomLevels |
Check bottom levels of outlet and surface, and produce
a warning if there is a mismatch.
(Inherited from StandardLink.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
EvaluateRunoffDischarge |
Discharge from runoff out of link and into external model.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetComponentMassInReservoir | ||
GetDischarge |
Discharge out of link into external model, positive into external model.
(Overrides StandardLinkGetDischarge.) | |
GetExternalConcentration |
Set boundary concentration for component at index compj, i.e. concentration on the outside of the network.
(Inherited from StandardLink.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInternalConcentration |
Outflow concentration, concentration in MIKE 1D.
(Inherited from StandardLink.) | |
GetLinkNode |
Get outlet/link node
(Inherited from StandardLink.) | |
GetM1DGroundLevel |
Internal ground level
(Inherited from StandardLink.) | |
GetManholeConcentrations | ||
GetOutflowDirectionAngle |
Get compass heading in degrees of outlet outflow direction.
(Inherited from StandardLink.) | |
GetRunOffDischarge |
Discharge from runoff out of link and into external model.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWaterLevel |
Water level on the internal side of the link
(Inherited from StandardLink.) | |
GetWaterLevelBoundaryValue | Get value of the water level that was applied to the outlet boundary (Inherited from StandardLink.) | |
Initialize |
Initialize standard link
(Inherited from StandardLink.) | |
InitializeDischargeGetters | (Inherited from StandardLink.) | |
InitializeInlet |
Initialize inlet link
| |
InitializeOutletBoundary | (Inherited from StandardLink.) | |
InitializeStandardLink |
Initialize standard link
| |
InitializeWaterLevelGetter | (Inherited from StandardLink.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PrepareAD |
Prepare running with AD. Setting up AD boundaries on outlet.
(Inherited from StandardLink.) | |
PrepareADInlet |
Prepare running with AD. Setting up AD boundaries on inlet.
| |
PrepareForTimeStep |
Prepare for next time step. Calculates discharge through link
| |
PrepareHD |
Prepare link, reassing boundary to network
(Inherited from StandardLink.) | |
QInflowFromCoupling |
M21 to inlet calculates the exchange discharge and introduces it in the appropriate man hole.
Exponential smoothing is used for the water level transferred from MIKE 21. Further an upper
limit is placed on the discharge in the form of the Qmax which is a user parameter. These
parameters along with a number of others parameters are read by M1D but not passed back to
M21 e.g. crest width, discharge coefficient etc. Note that the discharge passed to Mouse
consists of two contributions namely RR and the overland flow. The sum of these two are
confined by the Qmax. If the sum of contributions is greater than Qmax then the limitation
is applied to overland flow first and then to the RR contribution. If the latter is also
restricted by Qmax then the excess is transferred into the MIKE 21 model i.e. the manhole is
surcharged and the flow may spill into MIKE 21 against a possible water level difference.
| |
Set1DBottomLevel | (Inherited from StandardLink.) | |
Set1DGroundLevel | (Inherited from StandardLink.) | |
SetDt | ||
SetExternalConcentration |
Set boundary concentration for component at index compj, i.e. concentration on the outside of the network.
(Inherited from StandardLink.) | |
SetExternalConcentrations |
Set external concentrations for all components
(Inherited from StandardLink.) | |
SetExternalCoupledArea | Set the external coupled area (Inherited from StandardLink.) | |
SetExternalGroundLevel | Set the external ground level (Inherited from StandardLink.) | |
SetExternalVolume | ||
SetExternalWaterLevel |
Set external water level
(Inherited from StandardLink.) | |
SetInternalComponentInfo |
Id of internal components.
(Inherited from StandardLink.)Required for setting up the internal boundary condition. | |
SetLinkNode |
Set outlet/link node.
(Inherited from StandardLink.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TransferState |
Prepare for time step, transferring current values to "old" values state
(Inherited from StandardLink.) |
Name | Description | |
---|---|---|
_constantWaterLevelBoundaryItem | Boundary item for _bnd water level boundary which the water leevl is applied on (Inherited from StandardLink.) | |
_constComponentBoundaryItems | (Inherited from StandardLink.) | |
_couplingQ | ||
_deltaH | ||
_dischargeGetter | Getter for discharge out of the link (Inherited from StandardLink.) | |
_dqdh | ||
_externalConcentrations | Inflow/outside concentration (Inherited from LinkBase.) | |
_externalGroundLevel | (Inherited from StandardLink.) | |
_externalWL | (Inherited from StandardLink.) | |
_externalWlOld | (Inherited from StandardLink.) | |
_hasExternalWlOld | (Inherited from StandardLink.) | |
_internalAdComponentSource | Concentration inside the MIKE 1D model (Inherited from StandardLink.) | |
_m1DBottomLevel | (Inherited from StandardLink.) | |
_smoothingFact | Smoothing factor for exponential smoothing. (Inherited from LinkBase.) | |
_waterLevelBoundaryValue | (Inherited from StandardLink.) | |
_waterLevelGetter | (Inherited from StandardLink.) | |
LinkNode | Node that link is connected to. (Inherited from StandardLink.) | |
ManHolesInflowSource |
Inflow source, when SourceLinkType is UrbanInlet.
| |
SourceLinkType |
Type of source link
| |
UrbanInletParameters |
Parameters for UrbanInlet.
|