NodeMaxInflowReservoir Class |
The class handles two types of inflow, surface inflow and catchment runoff inflow. The procedure models that the catchment runoff inflow "runs through" the surface model before entering the node.
Excess catchment runoff (larger than the MaxInflowFromSurface) is retained in the WaterVolumeInReservoir ([m3]). When a surface model is present, the coupling procedure must transfer the reservoir volume to 2D model and empty this reservoir by calling EmptyReservoir.
The net inflow to the combined system is CatchmentQ. On top of that there may be an exchange of water between 1D and 2D. The CatchmentQ is split into three parts
CatchmentQ = <see cref="P:DHI.Mike1D.Engine.NodeMaxInflowReservoir.ActualCatchmentInflow" /> + <see cref="P:DHI.Mike1D.Engine.NodeMaxInflowReservoir.CatcmentQRoutedToSurface" /> + <see cref="P:DHI.Mike1D.Engine.NodeMaxInflowReservoir.WaterVolumeInReservoir" />/dt
Inflow to MIKE 1D:
q_in_1D = <see cref="P:DHI.Mike1D.Engine.NodeMaxInflowReservoir.ActualSurfaceInflow" /> + <see cref="P:DHI.Mike1D.Engine.NodeMaxInflowReservoir.ActualCatchmentInflow" />
q_in_2D = -<see cref="P:DHI.Mike1D.Engine.NodeMaxInflowReservoir.ActualSurfaceInflow" /> + <see cref="P:DHI.Mike1D.Engine.NodeMaxInflowReservoir.CatcmentQRoutedToSurface" /> + <see cref="P:DHI.Mike1D.Engine.NodeMaxInflowReservoir.WaterVolumeInReservoir" />/dt
Namespace: DHI.Mike1D.Engine
The NodeMaxInflowReservoir type exposes the following members.
Name | Description | |
---|---|---|
ActualCatchmentInflow | Actual catchment inflow to network for current time step. Limited by MaxInflowFromSurface and may also change due to CatcmentQRoutedToSurface | |
ActualInflow | Actual total inflow to node for current time step | |
ActualSurfaceInflow | Actual surface inflow to network for current time step, different from what was set in AddSurfaceContribution when max inflow limit is in effect | |
CatchmentInflow | Catchment inflow to network for current time step | |
CatcmentQRoutedToSurface | Catchment inflow routed to source (outflow). Is only positive when also Surface flow is negative (outflow from node),
then some (or all) of the catchment flow is routed directly to surface. | |
ComponentMassInReservoir | Amount of component (mass) retained in reservoir | |
Implicit | Flag specifying whether to do implicit source calculations | |
MaxInflowFromSurface | Max inflow limit, handled from MaxInflowFromSurface, modify there to update here | |
MaxOutflowToSurface | Max outflow limit, only applicable when coupled to a surface model. Default value is unlimited outflow (double.MaxValue) | |
WaterVolumeInReservoir | Amount of water retained in reservoir [m3] |
Name | Description | |
---|---|---|
AddCohSourceContribution(Int32, Double) |
Add a volume contribution to the cohesive sediment for the specified component.
| |
AddCohSourceContribution(Int32, Double, Double) |
Add a concentration contribution to the cohesive sediment for the specified component.
| |
AddNonCohSourceContribution(Int32, Double) |
Add a volume contribution to the non-cohesive sediment for the specified component.
| |
AddNonCohSourceContribution(Int32, Double, Double) |
Add a concentration contribution to the non-cohesive sediment for the specified component.
| |
AddSourceContribution(Double) |
Add a contribution to the source.
| |
AddSourceContribution(Int32, Double) |
Add a mass contribution to the AD source for the specified component.
| |
AddSourceContribution(Int32, Double, Double) |
Add a concentration contribution to the source for the specified component.
| |
AddSourcePerAreaContribution |
Add a contribution per area unit to the source.
| |
AddSourcePerLengthContribution |
Add a contribution per length to the source.
| |
AddSurfaceContribution(Double) |
Add a surface inflow contribution
Note that only one surface connection is supported, so this should not be called twice (the second call will override the first) | |
AddSurfaceContribution(Double, Double) |
Add a surface inflow contribution as an implicit source
Note that only one surface connection is supported, so this should not be called twice (the second call will override the first) | |
CohOutflowConcentration |
The outflow concentration, i.e. concentration of flow out of the node.
| |
EmptyReservoir | Empty reservoir | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NonCohOutflowConcentration |
The outflow concentration, i.e. concentration of flow out of the node.
| |
OutflowConcentration |
The outflow concentration, i.e. concentration of flow out of the node.
| |
SetSurfaceConcentration |
Set concentration of component for surface inflow.
Only used if surface inflow is positive. When negative, water flows out with concentration in node. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |