This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to include Mass Transfer Coefficient into MSX

Hi Everyone,

We're currently working on developing an MSX model for Chlorine Decay that can account for wall decay as a factor of Biofilm growth (thus removing the need to specify wall decay for specific pipes throughout the network).

Unfortunately the equation for this relies on the mass transfer coefficient, which is dependent on the type of flow, as explained here: https://docs.bentley.com/LiveContent/web/Bentley%20WaterGEMS%20SS6-v1/en/GUID-D7D70292-50F6-4066-A30E-3B98BBB2BF7B.html.

This is built into the WaterGEMS standard pipe wall reaction calculations, however I need to know whether we can reference this coefficient in MSX, does anyone know whether this is possible? My understanding is that EPANET is capable of this so I assume WaterGEMS is capable as well, I just don’t know how.

For anyone wondering, the equations for Bulk decay are very simple. Below is a copy of what we use currently (no wall decay):

The Wall Decay equations are derived as follows (A&B are constants to be determined by trial and error, kw is what we need from WaterGEMS)

Thank you,

 Ryan

Parents
  • Hello Ryan,

    You would need access to the WaterObjects.NET functionality to use the "Mass Transfer Coefficient" used in the first order wall reaction rate.

    Another approach would be to use Formula Based User Defined Extensions. From the formula provided develop an equation to calculate the mass transfer coefficient from the equations given. However, that would first require classification of flow based on Reynold's number.

    You can develop an formula based UDX for Reynold's number and classify the flow as laminar or turbulent; then develop separate equations (using formula based UDX) for both the type of flows for the Sherwood number. It is best in this case that you create two separate selection sets for both the type of flows and work on them individually.

    Once you have the Sherwood number values for both the flow use the equation to calculate mass transfer coefficient again using the formula based UDX.

    This procedure is a bit complicated, but can be achieved.

    Let me know if this helps.


    Regards,

    Yashodhan Joshi

    Bentley Technical Support

Reply
  • Hello Ryan,

    You would need access to the WaterObjects.NET functionality to use the "Mass Transfer Coefficient" used in the first order wall reaction rate.

    Another approach would be to use Formula Based User Defined Extensions. From the formula provided develop an equation to calculate the mass transfer coefficient from the equations given. However, that would first require classification of flow based on Reynold's number.

    You can develop an formula based UDX for Reynold's number and classify the flow as laminar or turbulent; then develop separate equations (using formula based UDX) for both the type of flows for the Sherwood number. It is best in this case that you create two separate selection sets for both the type of flows and work on them individually.

    Once you have the Sherwood number values for both the flow use the equation to calculate mass transfer coefficient again using the formula based UDX.

    This procedure is a bit complicated, but can be achieved.

    Let me know if this helps.


    Regards,

    Yashodhan Joshi

    Bentley Technical Support

Children