skip to main content
Confluence Water Quality
Water Quality
Confluence Water Quality
The confluence has water quality methods simply for the purpose of passing constituent information upstream or downstream.
Slots
The following slots are instantiated based on the selected constituents
Note:  All slots on the confluence are dispatch slots.
Salinity Slots
Inflow1 Salt Concentration
Type: Series Slot
Units: Concentration
Description: holds the values of inflow salinity for the first inflow to the confluence
I/O: Input, output, rules or solved for in the dispatch method.
Inflow2 Salt Concentration
Type: Series Slot
Units: Concentration
Description: holds the values of inflow salinity for the second inflow to the confluence
I/O: Input, output, rules or solved for in the dispatch method.
Outflow Salt Concentration
Type: Series Slot
Units: Concentration
Description: salinity of outflow from the confluence
I/O: Input, output, rules or solved for in the dispatch method.
Inflow1 Salt Mass
Type: Series Slot
Units: Mass
Description: holds the values of salt mass for the first inflow to the confluence
I/O: Output
Inflow2 Salt Mass
Type: Series Slot
Units: Mass
Description: holds the values salt mass for the second inflow to the confluence
I/O: Output
Outflow Salt Mass
Type: Series Slot
Units: Mass
Description: outflow salt mass from the confluence
I/O: Output
Temperature Slots
Inflow1 Heat
Type: Series Slot
Units: Heat
Description: holds the values of inflow heat for the first inflow to the confluence
I/O: Required Known via input, rules, or propagated
Inflow2 Heat
Type: Series Slot
Units: Heat
Description: holds the values of inflow heat for the second inflow to the confluence
I/O: Required Known via input, rules, or propagated
Outflow Heat
Type: Series Slot
Units: Heat
Description: outflow heat from the confluence
I/O: Output only
Dissolved Oxygen Slots
Inflow1 Detritus Mass
Type: Series Slot
Units: Mass
Description: holds the values of inflow detritus mass for the first inflow to the confluence
I/O: Required Known via input, rules, or propagated
Inflow1 Dissolved Organics Mass
Type: Series Slot
Units: Mass
Description: holds the values of inflow dissolved organics mass for the first inflow to the confluence
I/O: Required Known via input, rules, or propagated
Inflow1 Ammonia Mass
Type: Series Slot
Units: Mass
Description: holds the values of inflow ammonia for the first inflow to the confluence
I/O: Required Known via input, rules, or propagated
Inflow1 Dissolved Oxygen Mass
Type: Series Slot
Units: Mass
Description: holds the values of inflow dissolved oxygen for the first inflow to the confluence
I/O: Required Known via input, rules, or propagated
Inflow2 Detritus Mass
Type: Series Slot
Units: Mass
Description: holds the values of inflow detritus mass for the second inflow to the confluence
I/O: Required Known via input, rules, or propagated
Inflow2 Dissolved Organics Mass
Type: Series Slot
Units: Mass
Description: holds the values of inflow dissolved organics mass for the second inflow to the confluence
I/O: Required Known via input, rules, or propagated
Inflow2 Ammonia Mass
Type: Series Slot
Units: Mass
Description: holds the values of inflow ammonia for the second inflow to the confluence
I/O: Required Known via input, rules, or propagated
Inflow2 Dissolved Oxygen Mass
Type: Series Slot
Units: Mass
Description: holds the values of inflow dissolved oxygen for the second inflow to the confluence
I/O: Required Known via input, rules, or propagated
Outflow Detritus Mass
Type: Series Slot
Units: Mass
Description: outflow detritus mass from the confluence
I/O: Output only
Outflow Dissolved Organics Mass
Type: Series Slot
Units: Mass
Description: outflow dissolved organics mass from the confluence
I/O: Output only
Outflow Ammonia Mass
Type: Series Slot
Units: Mass
Description: outflow ammonia mass for the confluence
I/O: Output only
Outflow Dissolved Oxygen Mass
Type: Series Slot
Units: Mass
Description: outflow dissolved oxygen from the confluence
I/O: Output only
User Methods
The following section describes the user-selectable methods for water quality modeling on the Confluence.
Confluence Water Quality
Methods in this category are used to select the constituent and approach.
* None
No water quality solution is performed. No slots are added.
* Solve Outflow Salt
All of the salt slots are added and the Solve Salt Given In 1 and 2 dispatch method is made available.
* Solve Outflow Temperature
All of the temperature slots are added and the Solve Temperature dispatch method is made available.
* Solve Outflow Temp and Salt
All of the temperature and salt slots are added. This method makes the Solve Temp and Salt dispatch method available.
* Solve Outflow Temp and DO
All of the temperature and DO slots are added. This method makes the Solve Temp and DO dispatch method available.
* Solve Outflow Temp Salt and DO
All of the temperature, salt and DO slots are added. This method makes the Solve Temp Salt and DO dispatch method available.
* Solve Outflow of Inflow Salt
This (well-mixed) approach uses a simple weighted balance of concentration. This method adds all of the salinity slots. This method makes the Solve Salt Given In 1 and 2, Solve Salt Given In 1 and Out, and Solve Salt Given In 2 and Out dispatch methods available.
Dispatch Methods
Following are the dispatch methods.
* Solve Temperature
This dispatch method is available for the Solve Outflow Temperature method.
Required Known Slots
• Inflow1
• Inflow2 Heat
• Inflow2
• Outflow
• Inflow1 Heat
Required Unknown Slots
Outflow Heat
Method Details
This method simply adds heat associated with Inflow 1 and Inflow 2. It then sets the outflow heat equal to this sum. For example:
(7.1)    
* Solve Salt Given In 1 and 2
This dispatch method is available for the Solve Outflow Salt method.
Required Known slots
• Inflow1
• Inflow2 Salt Concentration
• Inflow1 Salt Concentration
• Outflow
• Inflow2
Required Unknown slots
• Outflow Salt Concentration
Method Details
This method computes the Salt Mass for each Inflow (based on concentration and flow). Then the method simply adds the salt mass associated with Inflow 1 and Inflow 2. It then sets the salt mass equal to this sum. For example:
(7.2)    
Outflow Salt Concentration is computed based on the Outflow Salt Mass and Outflow.
* Solve Temp and Salt
This dispatch method is available for the Solve Outflow Temp and Salt.
Required Known slots
• Inflow1
• Inflow2 Heat
• Inflow1 Heat
• Inflow2 Salt Concentration
• Inflow1 Salt Concentration
• Outflow
• Inflow2
Required Unknown slots
• Outflow Heat
• Outflow Salt Concentration
Method Details
This method computes the Salt Mass for each Inflow (based on concentration and flow). Then the method simply adds heat and salt mass associated with Inflow 1 and Inflow 2. It then sets the outflow heat and salt mass equal to this sum. For example:
(7.3)    
(7.4)    
Outflow Salt Concentration is computed based on the Outflow Salt Mass and Outflow.
* Solve Temp and DO
This dispatch method is available for the Solve Outflow Temp and DO.
Required Known slots
• Inflow1
• Inflow2
• Inflow1 Ammonia Mass
• Inflow2 Ammonia Mass
• Inflow1 Detritus Mass
• Inflow2 Detritus Mass
• Inflow1 Dissolved Organics Mass
• Inflow2 Dissolved Organics Mass
• Inflow1 Dissolved Oxygen Mass
• Inflow2 Dissolved Oxygen Mass
• Inflow1 Heat
• Inflow2 Heat
• Outflow
Required Unknown Slots
• Outflow Ammonia Mass
• Outflow Dissolved Oxygen Mass
• Outflow Detritus Mass
• Outflow Heat
• Outflow Dissolved Organics Mass
Method Details
This method simply adds heat and mass associated with Inflow 1 and Inflow 2. It then sets the outflow heat and mass equal to this sum. For example:
(7.5)    
(7.6)    
(7.7)    
(7.8)    
(7.9)    
* Solve Temp Salt and DO
This dispatch method is available for the Solve Outflow Temp Salt and DO.
Required Known slots
• Inflow1
• Inflow2 Ammonia Mass
• Inflow1 Ammonia Mass
• Inflow2 Detritus Mass
• Inflow1 Detritus Mass
• Inflow2 Dissolved Organics Mass
• Inflow1 Dissolved Organics Mass
• Inflow2 Dissolved Oxygen Mass
• Inflow1 Dissolved Oxygen Mass
• Inflow2 Heat
• Inflow1 Heat
• Inflow2 Salt Concentration
• Inflow1 Salt Concentration
• Outflow
• Inflow2
Required Unknown slots
• Outflow Ammonia Mass
• Outflow Dissolved Oxygen Mass
• Outflow Detritus Mass,
• Outflow Heat
• Outflow Dissolved Organics Mass
• Outflow Salt Concentration
Method Details
This method computes the Salt Mass for each Inflow (based on concentration and flow). Then, the method simply adds heat and mass associated with Inflow 1 and Inflow 2. It then sets the outflow heat and mass equal to the following sum:
(7.10)    
(7.11)    
(7.12)    
(7.13)    
(7.14)    
(7.15)    
Finally, Outflow Salt Concentration is computed based on the Outflow Salt Mass and Outflow.
* Solve Salt Given In 1 and 2
This dispatch method is available for the Solve Outflow or Inflow Salt method.
Required Known slots
• Inflow1
• Inflow2 Salt Concentration
• Inflow1 Salt Concentration
• Outflow
• Inflow2
Required Unknown slots
• Outflow Salt Concentration
Method Details
This method simply takes a weighted average of the inflows, and their respective salt concentrations, and sets the outflow salt concentration accordingly.
(7.16)    
If Outflow is zero, Outflow Salt Concentration is set to 0. Finally, Inflow1 Salt Mass, Inflow2 Salt Mass, and Outflow Salt Mass are set as the product of the concentration and the volume.
* Solve Salt Given In 1 and Out
This dispatch method is available for the Solve Outflow or Inflow Salt method.
Required Known slots
• Inflow1
• Outflow
• Inflow1 Salt Concentration
• Outflow Salt Concentration
• Inflow2
Required Unknown slots
• Inflow2 Salt Concentration
Method Details
This method simply takes a weighted average of inflow1 and outflow salt concentrations, and sets the Inflow2 salt concentration accordingly.
(7.17)    
If Inflow2 is zero, Inflow2 Salt Concentration is set to 0. Finally, Inflow1 Salt Mass, Inflow2 Salt Mass, and Outflow Salt Mass are set as the product of the concentration and the volume.
* Solve Salt Given In 2 and Out
This dispatch method is available for the Solve Outflow or Inflow Salt method.
Required Known Slots
• Inflow1
• Outflow
• Inflow2
• Outflow Salt Concentration
• Inflow2 Salt Concentration
Required Unknown Slots
Inflow1 Salt Concentration
Method Details
This method simply takes a weighted average of the Inflow2 and Outflow salt concentrations, and sets the Inflow1 salt concentration accordingly.
(7.18)    
If Inflow1 is zero, Inflow1 Salt Concentration is set to 0. Finally, Inflow1 Salt Mass, Inflow2 Salt Mass, and Outflow Salt Mass are set as the product of the concentration and the volume.
 
Revised: 06/03/2019