Click or drag to resize

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)

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.HDParameterDataAccessInitialConditions

Namespace:  DHI.Mike1D.HDParameterDataAccess
Assembly:  DHI.Mike1D.HDParameterDataAccess (in DHI.Mike1D.HDParameterDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class InitialConditions : IExtensibleDataObject

The InitialConditions type exposes the following members.

Constructors
  NameDescription
Public methodInitialConditions
Default constructor, setting default values
Top
Properties
  NameDescription
Public propertyDischarge
Initial discharges
Public propertyEnforceMinimumNodeWaterLevelFromReaches
Enforce that the water level on the node is not smaller than the water level in each of its surrounding reaches.

Default is false.

Public propertyEnforceNaturalFlow
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

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

Default is true.

Public propertyUseHotStartSolution
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.
Public propertyUseParameterSolution
Using the parameters specified here.

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

Public propertyUseSteadyStateSolution
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.
Public propertyWaterLevelDepth
Initial water levels/depths
Top
Methods
  NameDescription
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validate
Public methodStatic memberValidateHotstartTime
Validate hotstart time
Top
See Also