Click or drag to resize

ICompositStructure Interface

Collection of structures at the same location. Interface used by the engines.

Namespace:  DHI.Mike1D.StructureModule
Assembly:  DHI.Mike1D.StructureModule (in DHI.Mike1D.StructureModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public interface ICompositStructure

The ICompositStructure type exposes the following members.

Properties
  NameDescription
Public propertydDischargedDownStreamWaterLevel
Calculated Discharge derivative with UpStreamWaterLevel. Upstream is relative to the direction of chainage. Unit: [m^2/s]
Public propertydDischargedUpStreamWaterLevel
Calculated Discharge derivative with DownStreamWaterLevel. Downstream is relative to the direction of chainage. Unit: [m^2/s]
Public propertyDiagnostics
The getter is used to get a list of errors.
Public propertyDischarge
Get discharge across structure. SetWaterLevels() calculates the discharge so it must be called first.
Public propertyID
Public propertyInvertLevelDownstream
Invert level downstream Unit: [m]
Public propertyInvertLevelUpstream
Invert level upstream Unit: [m]
Public propertyLocation
Location of the structure
Public propertyStructures
Getter to the list of structures
Public propertyTotalIterations
Total number of composit structure iterations.
Top
Methods
  NameDescription
Public methodPrepare
Prepare for simulation
Public methodPrepareTimeStep
Prepare structure for time step

This method need only be called in case structures are being controlled and i.e. a gate is closing with a specified speed and needs to know time.

Public methodSetWaterLevels(Double, Double)
Sets up- and down-stream water level and forces the calculation of the discharge and its derivatives.
Public methodSetWaterLevels(Double, Double, Double, Double)
Sets up- and down-stream water level and forces the calculation of the discharge and its derivatives.
Public methodValidate
Writes errors, warnings and hints into their respective member classes. The member objects are initially cleared.
Top
See Also