Click or drag to resize

UrbanRiverLink Class

An Urban-River links connects two 1D models, typically an urban and a river model, but it can also connect two river models or two urban models.

On the one side the link is connected to an outlet. On the other side the link is connected to a source point. The link provides the outlet with a water level boundary value from the "source" side. The outlet provides a discharge back to the source as inflow.

In river context, an outlet is an open water level boundary.

The "internal" side of the link is the outlet side. The "external" side is the source point.

On the urban side, the link is connected to an outlet, manhole or structure.

On the river side, the link is connected to any connection to the reach.

Inheritance Hierarchy

Namespace:  DHI.Mike1D.Engine.Couplings
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class UrbanRiverLink : StandardLink

The UrbanRiverLink type exposes the following members.

Constructors
  NameDescription
Public methodUrbanRiverLink
Initializes a new instance of the UrbanRiverLink class
Top
Properties
  NameDescription
Public propertyAllowBackflow
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.

Public propertyDischargeBoundaryType
Type of discharge transfer applied for standard links. Default is Coupled
(Inherited from StandardLink.)
Public propertyExternalGroundLevel
External (surface) ground level/bottom level Unit: [m] Default:
(Inherited from StandardLink.)
Public propertyExternalWaterLevel
External (surface) water level Unit: [m] Default:
(Inherited from StandardLink.)
Public propertyIsAdLink
Bool indicating if this will transfer AD
(Inherited from LinkBase.)
Public propertyIsSideStructure (Inherited from StandardLink.)
Public propertyLinkLocation
Original location of link, or null if link is based on a node or structure id. Used for error reporting only
(Inherited from StandardLink.)
Public propertySmoothingFactor
Smoothing factor for exponential smoothing.
(Inherited from LinkBase.)
Public propertySourceBottomLevel
Public propertySourceGridPoint
Public propertySourceNode
Public propertySourceReach
Public propertyWaterLevelBoundaryType
Type of water level boundary applied for standard links. Default is Coupled
(Inherited from StandardLink.)
Top
Methods
  NameDescription
Public methodAdjustWaterLevelBoundaryValue
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.)
Public methodApplyExponentialSmoothing
Apply smoothing on the water level value.

Smoothing must be applied after calling AdjustWaterLevelBoundaryValue.

(Inherited from StandardLink.)
Public methodApplyWaterLevelBoundary
Public methodAssignExternalConcentrationsToOutletBoundary
Assign external concentrations to outlet boundary.
(Inherited from StandardLink.)
Public methodAssignExternalWaterLevelToOutletBoundary
Assign water level to outlet boundary.
(Inherited from StandardLink.)
Public methodCheckLinkBottomLevels
Check bottom levels of outlet and surface, and produce a warning if there is a mismatch.
(Inherited from StandardLink.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDischarge
Discharge out of link into external model, positive into external model.
(Inherited from StandardLink.)
Public methodGetExternalConcentration
Set boundary concentration for component at index compj, i.e. concentration on the outside of the network.
(Inherited from StandardLink.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInternalConcentration
Outflow concentration, concentration in MIKE 1D.
(Inherited from StandardLink.)
Public methodGetLinkNode
Get outlet/link node
(Inherited from StandardLink.)
Public methodGetM1DGroundLevel
Internal ground level
(Inherited from StandardLink.)
Public methodGetOutflowDirectionAngle
Get compass heading in degrees of outlet outflow direction.
(Inherited from StandardLink.)
Public methodGetSourcePointConcentration
Public methodGetSourcePointWaterLevel
Get raw water level from source point
Public methodGetSourceWaterLevel
Get water level from source point, and adjust for bottom levels from each side of the link. Water level is stored for later use
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWaterLevel
Water level on the internal side of the link
(Inherited from StandardLink.)
Public methodGetWaterLevelBoundaryValue
Get value of the water level that was applied to the outlet boundary
(Inherited from StandardLink.)
Public methodInitialize
Initialize standard link
(Inherited from StandardLink.)
Public methodInitializeComponents
Protected methodInitializeDischargeGetters (Inherited from StandardLink.)
Protected methodInitializeOutletBoundary (Inherited from StandardLink.)
Public methodInitializeSourceWaterLevelGetter(EngineNet, EngineNode)
Public methodInitializeSourceWaterLevelGetter(EngineNet, EngineReach, HGridPoint)
Public methodInitializeWaterLevelGetter (Inherited from StandardLink.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepareAD
Prepare running with AD. Setting up AD boundaries on outlet.
(Inherited from StandardLink.)
Public methodPrepareHD
Prepare link, reassing boundary to network
(Inherited from StandardLink.)
Protected methodSet1DBottomLevel (Inherited from StandardLink.)
Protected methodSet1DGroundLevel (Inherited from StandardLink.)
Public methodSetExternalConcentration
Set boundary concentration for component at index compj, i.e. concentration on the outside of the network.
(Inherited from StandardLink.)
Public methodSetExternalConcentrations
Set external concentrations for all components
(Inherited from StandardLink.)
Public methodSetExternalCoupledArea
Set the external coupled area
(Inherited from StandardLink.)
Public methodSetExternalGroundLevel
Set the external ground level
(Inherited from StandardLink.)
Public methodSetExternalWaterLevel
Set external water level
(Inherited from StandardLink.)
Public methodSetInternalComponentInfo
Id of internal components.

Required for setting up the internal boundary condition.

(Inherited from StandardLink.)
Public methodSetLinkNode
Set outlet/link node.
(Inherited from StandardLink.)
Public methodSetSourcePointComponentSource(IComponentSourcePoint)
Public methodSetSourcePointComponentSource(EngineNet, EngineReach, Int32)
Public methodSetupSourceCoupling
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransferState
Prepare for time step, transferring current values to "old" values state
(Inherited from StandardLink.)
Top
Fields
  NameDescription
Protected field_constantWaterLevelBoundaryItem
Boundary item for _bnd water level boundary which the water leevl is applied on
(Inherited from StandardLink.)
Protected field_constComponentBoundaryItems (Inherited from StandardLink.)
Protected field_dischargeGetter
Getter for discharge out of the link
(Inherited from StandardLink.)
Protected field_externalConcentrations
Inflow/outside concentration
(Inherited from LinkBase.)
Protected field_externalGroundLevel (Inherited from StandardLink.)
Protected field_externalWL (Inherited from StandardLink.)
Protected field_externalWlOld (Inherited from StandardLink.)
Protected field_hasExternalWlOld (Inherited from StandardLink.)
Protected field_internalAdComponentSource
Concentration inside the MIKE 1D model
(Inherited from StandardLink.)
Protected field_internalComponentIndex
Index of AD component inside the link
Protected field_m1DBottomLevel (Inherited from StandardLink.)
Protected field_smoothingFact
Smoothing factor for exponential smoothing.
(Inherited from LinkBase.)
Protected field_sourcePointComponents
Component source point for source side
Protected field_sourceToInternalComponentConversion
Conversion factor from source to internal component concentrations
Protected field_waterLevelBoundaryValue (Inherited from StandardLink.)
Protected field_waterLevelGetter (Inherited from StandardLink.)
Protected fieldLinkNode
Node that link is connected to.
(Inherited from StandardLink.)
Public fieldSourcePoint
Source point for river connection, used when the river model is the point source
Public fieldSourcePointUrbanManhole
Source point for urban connection, used when the urban model is the point source
Top
See Also