InitialConditions Class

Initial conditions describes the values the state variables should initially have. The posibilities does not exclude one another but may well be used in combination. The possibilities are: Steady state solution State start Hot start Parameter First the values are set using a state condition, a hot start condition or a parameter condition, values are searched in that order. When done, the solver will do a steady state initialisation if UseSteadyStateSolution is activated.

A global value for the water level/depth and the discharge must always be set (default set to zero)

Definition

Namespace: DHI.Mike1D.HDParameterDataAccess
Assembly: DHI.Mike1D.HDParameterDataAccess (in DHI.Mike1D.HDParameterDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class InitialConditions : IExtensibleDataObject
Inheritance
Object    InitialConditions
Implements
IExtensibleDataObject

Constructors

InitialConditions Default constructor, setting default values

Properties

Discharge Initial discharges
EnforceMinimumNodeWaterLevelFromReaches Enforce that the water level on the node is not smaller than the water level in each of its surrounding reaches.

Default is false.

EnforceNaturalFlow Sets the discharge initial condition to the natural flow condition

This parameter overrules the global discharge value set in Discharge, i.e, the global value will not be used

ExtensionData Holds data from an extended DataContract
FillUpDepressions If set, depression will be filled up
HotstartInfos List of hotstart files, prioritized, the first one being tried first.
InterpolateNodeValueInReach When parameter values are set for nodes, the node values will be used for interpolating values in connecting reaches.

Default is true.

NaturalFlow 
UseHotStartSolution The hotstart facility is used to have a solution read from a result file for a certain time and have the values of that file used as initial values.
UseParameterSolution Using the parameters specified here.

Parameters are currently alsways used, so this flag has currently no effect.

UseSteadyStateSolution Steady state solution will attempt to find a steady state solution. The steady state solution is calculated by running the solver with the initial boundary conditions until the solution is stabilized. Some setups may not have a steady state solution. These are typically setups with controle structures or pumps.
WaterLevelDepth Initial water levels/depths

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Validate Validate
ValidateHotstartTime Validate hotstart time

See Also