IHDNode Interface

HD node contains HD state for a node.

Definition

Namespace: DHI.Mike1D.Engine.ModuleHD
Assembly: DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public interface IHDNode : IFlowNode, 
	IModuleNode
Implements
IModuleNode, IFlowNode

Properties

CourantNumber The Courant Number reflects the fraction between the amount of volume flowing through the cell in one time step and the amount of volume of water in the cell.

If the value is larger than one, all the water in the cell is "replaced" during a single time step.


(Inherited from IFlowNode)
EngineNode EngineNode matching this module node
(Inherited from IModuleNode)
FlowReachConnections List of Reach connections, each specifying a connection between the node and a reach.
(Inherited from IFlowNode)
Reaches List of Reach connections, each specifying a connection between the node and a reach.
SourcesInflowAccumulated inflow sources (lateral inflow) at current time step. Always positive
SourcesOutflowAccumulated outflow sources (lateral outflow) at current time step. Always negative. It does not include SourcesOutflowSurface
(Inherited from IFlowNode)
SourcesOutflowAll Accumulated surface outflow sources at current time step. Always negative.
SourcesOutflowSurface Accumulated surface outflow sources at current time step. Always negative This is water removed without component mass, typically evapotranspiration
VolumeError Calculate the volume/mass error for node. In volume unit ([m3]).
(Inherited from IFlowNode)
VolumeN Volume at previous time step N.
(Inherited from IFlowNode)
VolumeNp1 Volume at current time step Np1.
(Inherited from IFlowNode)
WaterLevelN Water level at time n
WaterLevelNp1 Water level at time n+1

Methods

AddSourceContribution Lateral inflow, average value over time step or value at time N+½.

Be aware that you can not add lateral inflow to a node which is an active open boundary (has no effect).

GetVolumeN Retrieve volume at level N with a given offset from that level.
(Inherited from IFlowNode)
GetVolumeNp1 Retrieve volume at level Np1 with a given offset from that level.
(Inherited from IFlowNode)
InOutflowAnnul After a HD time step (and before AD time step), it is possible to add or withdraw discharge from both source input and output.

The amount must be smaller than both SourcesInflow and [!:SourcesOutflow], or, it will be limited to the largest of the two (because they cannot change sign)

Extension Methods

AddToOffers Add to "offers", i.e. quantities that can be outputted to result file and requested through the result proxy system
(Defined by ModuleHDExtensions)

See Also