Click or drag to resize

StandardLink Class

A standard link is connected to an outlet.

Before each time step, an ExternalWaterLevel is provided as input. This water level is adjusted to match bottom levels etc.

The discharge out of the model is GetDischarge.

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 StandardLink : LinkBase

The StandardLink type exposes the following members.

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

Smoothing must be applied after calling AdjustWaterLevelBoundaryValue.

Public methodAssignExternalConcentrationsToOutletBoundary
Assign external concentrations to outlet boundary.
Public methodAssignExternalWaterLevelToOutletBoundary
Assign water level to outlet boundary.
Public methodCheckLinkBottomLevels
Check bottom levels of outlet and surface, and produce a warning if there is a mismatch.
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.
Public methodGetExternalConcentration
Set boundary concentration for component at index compj, i.e. concentration on the outside of the network.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInternalConcentration
Outflow concentration, concentration in MIKE 1D.
Public methodGetLinkNode
Get outlet/link node
Public methodGetM1DGroundLevel
Internal ground level
Public methodGetOutflowDirectionAngle
Get compass heading in degrees of outlet outflow direction.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWaterLevel
Water level on the internal side of the link
Public methodGetWaterLevelBoundaryValue
Get value of the water level that was applied to the outlet boundary
Public methodInitialize
Initialize standard link
Protected methodInitializeDischargeGetters
Protected methodInitializeOutletBoundary
Public methodInitializeWaterLevelGetter
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.
Public methodPrepareHD
Prepare link, reassing boundary to network
Protected methodSet1DBottomLevel
Protected methodSet1DGroundLevel
Public methodSetExternalConcentration
Set boundary concentration for component at index compj, i.e. concentration on the outside of the network.
Public methodSetExternalConcentrations
Set external concentrations for all components
Public methodSetExternalCoupledArea
Set the external coupled area
Public methodSetExternalGroundLevel
Set the external ground level
Public methodSetExternalWaterLevel
Set external water level
Public methodSetInternalComponentInfo
Id of internal components.

Required for setting up the internal boundary condition.

Public methodSetLinkNode
Set outlet/link node.
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
Top
Fields
  NameDescription
Protected field_constantWaterLevelBoundaryItem
Boundary item for _bnd water level boundary which the water leevl is applied on
Protected field_constComponentBoundaryItems
Protected field_dischargeGetter
Getter for discharge out of the link
Protected field_externalConcentrations
Inflow/outside concentration
(Inherited from LinkBase.)
Protected field_externalGroundLevel
Protected field_externalWL
Protected field_externalWlOld
Protected field_hasExternalWlOld
Protected field_internalAdComponentSource
Concentration inside the MIKE 1D model
Protected field_m1DBottomLevel
Protected field_smoothingFact
Smoothing factor for exponential smoothing.
(Inherited from LinkBase.)
Protected field_waterLevelBoundaryValue
Protected field_waterLevelGetter
Protected fieldLinkNode
Node that link is connected to.
Top
See Also