Thanks for your reply! I would like to briefly explain the need to apply these coefficients in an investigation that I am carrying out (INTRODUCTION). Or more directly, you can go to the section: VERIFY PLEASE where I attach and describe an example network file .INP in which you can verify this fact.
Crucero.inp (32.9 KB)
I am currently working on an investigation: “ Incomplete mixing at cross junctions ”. To control the concentration at the cross outlets, setpoint boosters are set at each cross pipe. In some cases, I need to “ reduce ” the chemical concentrate upstream because it could interfere with the concentrate dosage that I need to assign by the boosters.
I coded an algorithm in MATLAB that finds the crosses in the network trace and “modifies” them by adding bypasses at the four cross pipes. These bypasses have a very high kb reaction coefficient (it can also be kw ) and when the flow passes through them, it eliminates (reacts) all the concentrate they were carrying. With this, I manage to assign the incomplete mix that I calculate in my research to the boosters.
With the previous version of the EMT (2.00.12) and when it assigned a relatively large kb (kb = 2000) at some pipes, the concentration decreased easily to zero . However, I updated at EMT to the latest version (2.2) and now the concentrations in the same cross pipes with these high coefficients no longer react . This also occurs in the EPANET 2.2 desktop program.
I attach a simplified network with a single cross. You can zoom in the central part to verify the operation of the ByPasses and please test it in both versions (2.00.12 and 2.2).
Similarly, I tested this in the example network Net2.net and I applied a kb / kw coefficient about -500 at one pipe (‘22’). It works perfectly !! (all concentration reacted!!). Probably in my application, incorporating ByPasses connected with closed pipes could cause problems in the lagrangian transport processes in this new version, I guess . However, this did not occur in the previous version.
Thanks a lot and best regards!
Crucero.inp (32.9 KB)
Here another example about Net3.inp, each cross have bypasses a the center of them. You can manipulate the pipe junctions hold them to other map places.
Net3ScnCINCOMPLETA.inp (312.6 KB)