public interface IBroadCrestedWeir : IValvedStructure,
IStructure, IDoubleProxy, IQuantityProxy, IBCWeir, IHeadLossStructure,
ILinearZeroVariation, ISolvesHeadLossEquation, ISolvesEnergyEquation, IPlotableStructure| ConvectionTermReductionCoefficient |
Reduction coefficient for convection terms (kinetic energy terms) in energy equation.
This coefficient is applied when the difference between inflow kinetic energy and outflow kinetic energy
(or more precisely, velocity head difference measured in meters) becomes larger than the total head loss.
0 corresponds to no reduction (default) whereas 1 corresponds to removing the upstream and
downstream convective terms.
(Inherited from ISolvesEnergyEquation) |
| CriticalFlow |
Flag indicating of flow is critical through the structure, and the head loss/energy loss equation is not active.
(Inherited from ISolvesHeadLossEquation) |
| dDischargedDownStreamWaterLevel |
Calculated Discharge derivative with UpStreamWaterLevel. Upstream is relative to the direction of chainage.
Unit: [m^2/s]
(Inherited from IStructure) |
| dDischargedUpStreamWaterLevel |
Calculated Discharge derivative with DownStreamWaterLevel. Downstream is relative to the direction of chainage.
Unit: [m^2/s]
(Inherited from IStructure) |
| Delhs |
Level from where the variation is forced to be linear.
(Inherited from ILinearZeroVariation) |
| dHeadLossDischarge |
Head loss derivative with respect to discharge
(Inherited from ISolvesHeadLossEquation) |
| Discharge |
Calculated Discharge
Unit: [m^3/s]
(Inherited from IStructure) |
| DownstreamExternalEnergyLevel |
Flag indicating to use downstream external energy level.
For false the downstream energy level is calculated as part of the internal solution. It is more stable to set DownstreamExternalEnergyLevel to true. (Inherited from ISolvesEnergyEquation) |
| DownstreamWaterLevel |
Downstream water level.Downstream refers to the direction of chainge. The water level is set by use of
SetWaterLevels
Unit: [m]
(Inherited from IStructure) |
| FlowFactor |
The discharge (and discharge derivatives) are scaled by the flow factor.
(Inherited from IStructure) |
| FreeOverFlowQHRelations | Table that specifies the relations betweem upstream water level, discharge, water level at the weir, and flow area. The relations holds for critical flow only, i.e. for flow that is not influenced by the downstream waterlevel. Data are specified for both positive and negtive flow (HPos and HNeg). |
| HeadLoss |
Calculated Head loss for the current flow conditions.
Unit: [m]
(Inherited from ISolvesHeadLossEquation) |
| HeadLossCoefficient |
Calculated Head loss coefficient for the current flow conditions.
Unit: [1/m^4]
(Inherited from ISolvesHeadLossEquation) |
| HeadLossFreeOverflowNegativeFlow |
Free overflow factor for negative flow.
Unit: []
Default: 1
(Inherited from IHeadLossStructure) |
| HeadLossFreeOverflowPositiveFlow |
Free overflow factor for positive flow.
Unit: []
Default: 1
(Inherited from IHeadLossStructure) |
| HeadLossInflowNegativeFlow |
Inflow head loss factor for negative flow.
Unit: []
Default: 0.5
(Inherited from IHeadLossStructure) |
| HeadLossInflowPositiveFlow |
Inflow head loss factor for positive flow.
Unit: []
Default: 0.5
(Inherited from IHeadLossStructure) |
| HeadLossMode |
Flag indicating whether to use head loss calculations.
(Inherited from ISolvesHeadLossEquation) |
| HeadLossOutflowNegativeFlow |
Outflow head loss factor for negative flow.
Unit: []
Default: 1
(Inherited from IHeadLossStructure) |
| HeadLossOutflowPositiveFlow |
Outflow head loss factor for positive flow.
Unit: []
Default: 1
(Inherited from IHeadLossStructure) |
| HorizontalOffSetFromMarker2 |
Horizontal offset of the structures compared to its limiting cross sections.
(Inherited from IPlotableStructure) |
| ID |
Name of the structure.
(Inherited from IStructure) |
| IDInUserUnit |
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 IStructure) |
| Implicit |
Flag to control if the structure is implicit or explicit. If the structure is explicit
(Implicit == false) then the derivatives of the discharge are always zero.
Default value: true
(Inherited from IStructure) |
| InvertLevelDownstream |
Invert level down stream
The invert level is the level where water starts
flowing in to the structure from the downstream side.
It does not necessarily flow through the structure.
(Inherited from IStructure) |
| InvertLevelUpstream |
Invert level up stream.
The invert level is the level where water starts
flowing in to the structure from the upstream side.
It does not necessarily flow through the structure.
(Inherited from IStructure) |
| Length |
Length of the structure.
Unit: [m]
(Inherited from IStructure) |
| Location |
Location of structure.
(Inherited from IStructure) |
| PartOfCompositeFlow |
Part of the flow in a parallel structure that passes through this structure.
(Inherited from ISolvesEnergyEquation) |
| RunTimeDiagnostics |
The getter is used to get a list of errors. OBSOLETE
(Inherited from IStructure) |
| SideStructureBank |
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 IStructure) |
| SideStructureReservoir |
Reservoir at end of side structure. Null if not side structure, or no reservoir is defined
(Inherited from IStructure) |
| SolverMethod |
Solution method for solving the energy equations.
(Inherited from ISolvesEnergyEquation) |
| SpecialWeir |
Flag specifying whether the special weir formulation is enabled.
For the special weir, the Q-h relations are defined by the user, and the WeirGeometry is not used and need not be defined. The CalculateFreeOverFlowQhRelation(Int32) will have no effect. |
| StructureIterationCentering |
Used when making relaxation when iterating to find the subcritical solution for structures solved using the energy equation.
When it equals 1 no relaxation is made.
(Inherited from IHeadLossStructure) |
| StructureType |
Type of structure
(Inherited from IStructure) |
| TopoID |
TopoID used when structure is searching for neighboring cross sections in the reach.
(Inherited from IStructure) |
| Type |
Structure type, unique for each type of structure.
(Inherited from IStructure) |
| UpstreamExternalEnergyLevel |
Flag indicating to use upstream external energy level.
For false the upstream energy level is calculated as part of the internal solution. It is more stable to set UpstreamExternalEnergyLevel to true. (Inherited from ISolvesEnergyEquation) |
| UpstreamWaterLevel |
Upstream water level. Upstream refers to the direction of chainage. The water level is set by use of
SetWaterLevels
Unit: [m]
(Inherited from IStructure) |
| UseFrictionFromHD |
Use friction in energy equation from HD module.
(Inherited from ISolvesEnergyEquation) |
| Valve |
Type of valve giving the direction of flow that is possible.
(Inherited from IValvedStructure) |
| WeirGeometry | Weir geometry |
| ZeroFlow |
Flag indicating no flow through structure (upstream water level below invert level).
(Inherited from ISolvesHeadLossEquation) |
| Accepts |
List of data types that is accepted, i.e., that you can get a ValueSetter for.
(Inherited from IQuantityProxy) |
| CalculateFreeOverFlowQhRelation | Calculate the free overflow (critical flow) discharge table with the specified number of entries. If this function is not called, then the default number of levels is 20. |
| Description |
Description of the structure.
(Inherited from IStructure) |
| DetermineCriticalPartOfCompositeFlow |
Determines part of composite flow for structure, which was marked as having critical flow
with initial estimate of part of composite flow.
(Inherited from ISolvesHeadLossEquation) |
| Evaluate(StructureParametersFromHD) |
Sets up- and down-stream water level and discharge and calculates the headloss and its derivatives.
(Inherited from ISolvesHeadLossEquation) |
| Evaluate(Double, Double, Double) |
Sets up- and down-stream water level and discharge and calculates the headloss and its derivatives.
(Inherited from ISolvesHeadLossEquation) |
| GetPartOfCompositeFlowEstimateFactor |
Provides an estimate factor for part of composite flow.
Presently it is upstream structure cross-section to upstream cross-section flow area ratio.
(Inherited from ISolvesHeadLossEquation) |
| Initialize |
Set up structure and set runtime diagnostics object
(Inherited from IStructure) |
| Offers |
List of data types that is offered, i.e., that you can get a ValueGetter for.
(Inherited from IQuantityProxy) |
| Prepare |
Set up structure and set runtime diagnostics object
(Inherited from IStructure) |
| SetWaterLevels(StructureParametersFromHD) |
Sets up- and down-stream water level and forces the calculation of the discharge and its derivatives.
(Inherited from ISolvesEnergyEquation) |
| SetWaterLevels(Double, Double) |
Sets up- and down- stream water level and forces the calculation of the discharge and its derivatives.
(Inherited from IStructure) |
| SetWaterLevels(Double, Double, Double, Double) |
Sets up- and down-stream water level and forces the calculation of the discharge and its derivatives.
(Inherited from ISolvesEnergyEquation) |
| UpdatedWaterLevels |
After a time step (or iteration) has finished, update the discharge to the actual value, based
on the final water levels and the discharge derivatives.
(Inherited from IStructure) |
| Validate |
Writes errors, warnings and hints into their respective member classes. The member objects are initially cleared.
(Inherited from IStructure) |
| ValueGetter |
Get value setter for the specified data quantity
(Inherited from IDoubleProxy) |
| ValueSetter |
Get value setter for the specified data type
(Inherited from IDoubleProxy) |
| Getter | From the proxy, return an FuncTResult for the specified quantity. It returns the first quantity of that type that is offered, and null if the quantity is not offered. (Defined by ProxyExtensions) |
| Getters |
Returns a set of FuncTResult for the quantity.
We can return several quantities with the same id (usually they will differ in their description).
If the quantity is not offerent, an empty list is returned.
(Defined by ProxyExtensions) |
| GettersFraction |
Returns a set of FuncT, TResult for the quantity.
We can return several quantities with the same id (usually they will differ in their description).
If the quantity is not offerent, an empty list is returned.
(Defined by ProxyExtensions) |
| GetterUnboxed | From the proxy, return an FuncTResult for the specified quantity. It returns the first quantity of that type that is offered, and null if the quantity is not offered. (Defined by ProxyExtensions) |
| Initialize |
Helper function for some unit tests. Do not use.
(Defined by StructureExtensions) |
| Initialize |
Helper function for some unit tests. Do not use.
(Defined by StructureExtensions) |
| IsSideStructure |
Returns true if the structure is a side structure
(Defined by StructureExtensions) |
| Setter | From the proxy, return an IDoubleGetSet for the specified quantity. It returns the first quantity of that type that is accepted, and null if the quantity is not accepted. (Defined by ProxyExtensions) |