Click or drag to resize

IHDNode Interface

HD node contains HD state for a node.

Namespace:  DHI.Mike1D.Engine.ModuleHD
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public interface IHDNode : IModuleNode

The IHDNode type exposes the following members.

Properties
  NameDescription
Public propertyCourantNumber
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.

Public propertyEngineNode
EngineNode matching this module node
(Inherited from IModuleNode.)
Public propertyReaches
List of Reach connections, each specifying a connection between the node and a reach.
Public propertySourcesInflow
Accumulated inflow sources (lateral inflow) at current time step. Always positive
Public propertySourcesOutflow
Accumulated outflow sources (lateral outflow) at current time step. Always negative. It does not include SourcesOutflowSurface
Public propertySourcesOutflowAll
Accumulated surface outflow sources at current time step. Always negative.
Public propertySourcesOutflowSurface
Accumulated surface outflow sources at current time step. Always negative This is water removed without component mass, typically evapotranspiration
Public propertyVolumeError
Calculate the volume/mass error for node. In volume unit ([m3]).
Public propertyWaterLevelN
Water level at time n
Public propertyWaterLevelNp1
Water level at time n+1
Top
Methods
  NameDescription
Public methodAddSourceContribution
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).

Public methodInOutflowAnnul
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)

Top
Extension Methods
  NameDescription
Public Extension MethodAddToOffers
Add to "offers", i.e. quantities that can be outputted to result file and requested through the result proxy system
(Defined by ModuleHDExtensions.)
Top
See Also