skip to main content
Pipe Junction Water Quality
Water Quality
Pipe Junction Water Quality
The Pipe Junction has water quality methods that pass salt information upstream or downstream by combining the salt mass and performing a flow weighted average for salt concentration.
User Methods
This topic describes the user-selectable methods for water quality modeling on the Pipe Junction.
Pipe Junction Water Quality
* None
No water quality solution is performed. No slots are added.
* Propagate Salt
All the following salt slots are added and the Solve Salt... dispatch methods are made available.
Flow 1 Salt Concentration
Type: Series Slot
Units: Concentration
Description: holds the values of Flow 1 Salinity
Information:  
I/O: Input, output, propagated, or rules
Flow 1 Salt Mass
Type: Series Slot
Units: Mass
Description: holds the values of flow 1 salt mass
I/O: Output only
Flow 2 Salt Concentration
Type: Series Slot
Units: Concentration
Description: holds the values of Flow 2 salt Conc
I/O: Input, output, propagated, or rules
Flow 2 Salt Mass
Type: Series Slot
Units: Mass
Description: holds the values of Flow 2 salt mass
I/O: Output only
Flow 3 Salt Concentration
Type: Series Slot
Units: Concentration
Description: salinity of Flow 3
I/O: Input, output, propagated, or rules
Flow 3 Salt Mass
Type: Series Slot
Units: Mass
Description: salinity of Flow 3
I/O: Output only
Dispatch Methods
* Solve Salt Given 1 and 2
This dispatch method is available when Propagate Salt is selected.
Required Known slots
• Flow 1
• Flow 2 Salt Concentration
• Flow 1 Salt Concentration
• Flow 3
• Inflow2
Required Unknown slots
• Flow 3 Salt Concentration
Method Details
This method simply takes a weighted average of Flow 1 and Flow 2 salt concentrations, and sets the Flow 3 Salt Concentration accordingly.
(12.1)    
If Flow 3 is zero, Flow 3 Salt Concentration is set to 0.
Finally, Flow 1 Salt Mass, Flow 2 Salt Mass, and Flow 3 Salt Mass are set as the product of the concentration and the volume.
* Solve Salt Given 1 and 3
This dispatch method is available when Propagate Salt is selected.
Required Known Slots
• Flow 1
• Flow 3
• Flow 1 Salt Concentration
• Flow 3 Salt Concentration
• Flow 2
Required Unknown Slots
• Flow 2 Salt Concentration
Method Details
This method simply takes a weighted average of Flow 1 and Flow 3 salt concentrations, and sets the Flow 2 salt concentration accordingly.
(12.2)    
If Flow 2 is zero, Flow 2 Salt Concentration is set to 0.
Finally, Flow 1 Salt Mass, Flow 2 Salt Mass, and Flow 3 Salt Mass are set as the product of the concentration and the volume.
* Solve Salt Given 2 and 3
This dispatch method is available when Propagate Salt is selected.
Required Known slots
• Flow 1
• Flow 3
• Flow 2
• Flow 3 Salt Concentration
• Flow 2 Salt Concentration
Required Unknown Slots
• Flow 1 Salt Concentration
Method Details
This method simply takes a weighted average of the Flow 2 and Flow 3 salt concentrations, and sets the Flow 1 salt concentration accordingly.
(12.3)    
If Flow 1 is zero, Flow 1 Salt Concentration is set to 0.
Finally, Flow 1 Salt Mass, Flow 2 Salt Mass, and Flow 3 Salt Mass are set as the product of the concentration and the volume.
 
Revised: 06/03/2019