Click or drag to resize

IHeadLossCalculator Interface

General interface for head loss calculations

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 IHeadLossCalculator

The IHeadLossCalculator type exposes the following members.

Methods
  NameDescription
Public methodCalculateHeadloss
Calculate head loss for the provided reach.

Head loss is the loss of "height" from the node to the reach inlet. Head loss is handled with sign, so a negative headloss will raise the water level boundary condition in the connected reach.

Public methodInitialize
Initialize calculator, providing the calculator with the computational HD node.

The IHDNode contains the state of the node, and especially the water level in the node, WaterLevelN and WaterLevelNp1.

Top
See Also