Click or drag to resize

Orifice Properties

The Orifice type exposes the following members.

Properties
  NameDescription
Public propertydDischargedDownStreamWaterLevel
Calculated Discharge derivative with DownStreamWaterLevel. Downstream is relative to the direction of chainage. The value is calculated by SetWaterLevels. Unit: [m^2/s]
(Inherited from Structure.)
Public propertydDischargedUpStreamWaterLevel
Calculated Discharge derivative with UpStreamWaterLevel. Upstream is relative to the direction of chainage. The value is calculated by SetWaterLevels. Unit: [m^2/s]
(Inherited from Structure.)
Public propertyDischarge
Calculated Discharge. The value is calculated by SetWaterLevels. Unit: [m^3/s]
(Inherited from Structure.)
Public propertyDischargeCoefficient
Set scale factor for total discharge through orifice
Public propertyDownstreamBottomLevel
Set downstream bottom level.

On a structure reach, if this is not set, (i.e. if having the default value of MinValue), the bottom level of the downstream node is used.

Also disable UseUpAndDownstreamCrossSection to enable this

Public propertyDownstreamCrossSection
Set downstream cross section
Public propertyDownstreamTopLevel
Set downstream top level.

On a structure reach, if this is not set, (i.e. if having the default value of MinValue), the ground level of the downstream node is used, and the downstream node must be a node with volume.

Also disable UseUpAndDownstreamCrossSection to enable this

Public propertyDownstreamWaterLevel
Downstream water level.Downstream refers to the direction of chainage. The water level is set by use of SetWaterLevels Unit: [m]
(Inherited from Structure.)
Public propertyDownstreamXsDisplacement
Set downstream cross section displacement A positive value displaces the cross section to the right when looking from the upstream direction
Public propertyExtensionData
Property used by (de)serializer, when it can not find proper target for a data field. Support of forward compatible data contracts.
(Inherited from Structure.)
Public propertyFlowArea
Flow area through structure. Used by most (but not all) structures.
(Inherited from Structure.)
Public propertyFlowFactor
The discharge (and discharge derivatives) are scaled by the flow factor.
(Inherited from Structure.)
Public propertyGateLevel
Actual gate level. Type: River Structure Geometry Unit: [m]

this is not a setup parameter, but a run parameter, which will change during the run (if the gate is controlled). If the gate is not explicitly controlled, this can be used to change the gate (manual/user defined control).

Public propertyGatePolygons
Shape of gates as polygons. Gate polygons can move in between MinGateLevel and MaxGateLevel.

Y coordinates of gate polygons are relative to MinGateLevel

If changing gate level properties during runtime, be sure to update internal state by calling PrepareForGate

Public propertyID
Structure ID
(Inherited from Structure.)
Public propertyIDInUserUnit
Used to get a consistent description of the structure. The ID comes in user units. Used e.g. when reporting errors, warnings and hints.
(Inherited from Structure.)
Public propertyImplicit
Flag to control if the structure is implicit or explicit. If the structure is explicit (Implicit == false) then the derivatives of the dicharge are always zero. Default value: true
(Inherited from Structure.)
Public propertyInitialGateLevel
Initial value of the gate level. Type: River Structure Geometry Unit: [m]
Public propertyInvertLevelDownstream
Invert level down stream
(Overrides StructureInvertLevelDownstream.)
Public propertyInvertLevelUpstream
Invert level up stream
(Overrides StructureInvertLevelUpstream.)
Public propertyLength
Length of the structure. Unit: [m] Default value: 0m
(Inherited from Structure.)
Public propertyLocation
Location property.
(Inherited from Structure.)
Public propertyMaxGateLevel
Maximum allowed gate level

If changing gate level properties during runtime, be sure to update internal state by calling PrepareForGate

Public propertyMaxGateLevelDecreaseSpeed
Maximum speed of lowering gate/weir
Public propertyMaxGateLevelIncreaseSpeed
Maximum speed of rising gate/weir
Public propertyMinGateLevel
Minimum allowed gate level.

If changing gate level properties during runtime, be sure to update internal state by calling PrepareForGate

Public propertyOrificePolygons
Shape of the opening
Public propertyRunTimeDiagnostics
The getter is used to get a list of errors.
(Inherited from Structure.)
Public propertySideStructureBank
Bank side that side-structure is located on

If side structure contains reservoir, and has the Coordinate set, this is not used (and should be set to Undefined).

(Inherited from Structure.)
Public propertySideStructureReservoir
Reservoir at end of side structure. Null if not side structure, or no reservoir is defined
(Inherited from Structure.)
Public propertyStructureType
Type of structure
(Inherited from Structure.)
Public propertyTopoID
String used to identified cross sections
(Inherited from Structure.)
Public propertyType
Structure type, unique for each type structure.
(Overrides StructureType.)
Public propertyUpstreamBottomLevel
Set upstream bottom level.

On a structure reach, if this is not set, (i.e. if having the default value of MinValue), the bottom level of the upstream node is used.

Also disable UseUpAndDownstreamCrossSection to enable this

Public propertyUpstreamCrossSection
Set upstream cross section
Public propertyUpstreamTopLevel
Set downstream top level. Not used if _useUpAndDownstreamCrossSection

On a structure reach, if this is not set, (i.e. if having the default value of MinValue), the ground level of the upstream node is used, and the upstream node must be a node with volume.

Also disable UseUpAndDownstreamCrossSection to enable this

Public propertyUpstreamWaterLevel
Upstream water level. Upstream refers to the direction of chainage. The water level is set by use of SetWaterLevels Unit: [m]
(Inherited from Structure.)
Public propertyUpstreamXsDisplacement
Set upstream cross section displacement A positive value displaces the cross section to the right when looking from the upstream direction
Public propertyUseUpAndDownstreamCrossSection
Flag specifying whether to use upstream and downstream cross section for geometry, or whether to use the 4 geometry parameters: UpstreamBottomLevel, DownstreamBottomLevel, UpstreamTopLevel, DownstreamTopLevel.

If setting this to false, all the 4 geometry parameters must be set manually

Public propertyValve
Type of the valve Default: None
(Inherited from ValvedStructure.)
Top
See Also