Surge Analysis is a dynamic problem, involving the time rate of momentum change. Wait till DWSIM Version 6.0. DWSIM Versions<6 are steady state, snapshot, flow sheets.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The first v6 release will not include a dynamic model for pipe segment, as it is very complex and I'll need some time to learn how to do it the right way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Daniel: Thank You for the information about Ver 6. It loooked like no one was going to venture an answer to Sam M's question. So took a try. I just meant the surge analysis is beyond the capability of DWSIM at present.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you Frank and Dan! You confirmed my understanding of v5.
I was anyway looking for something coming up in v6, hoping it is a dynamic simulator. But thank you Daniel for clarifying that it is not coming up in the next release.
I would be glad in case any of you have some specific links to get the theory behind to read up!
Best regards,
Sam
Last edit: Sam M 2020-05-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In DWSim I developed a rather basic python script for water hammer transient analysis due to fast closing of a manual valve downstream a reservoir (simple model: tank, pipe and manual valve) using the following articles:
John Twyman Q. "Water hammer analysis using an implicit finite-difference method"
Ingeniare. Revista chilena de ingeniería, vol. 26 Nº 2, 2018, pp. 307-318
Sepheran, Badri "Water Hammer Simulation by Implicit Finite Difference Scheme Using
Non-Symmetrical Staggered Grid", Recent Advances in Fluid Mechanics, Heat & Mass Transfer and Biology
and of course basics equations excerpted from Chaudry "Applied Hydraulic Transients".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
KYPipe implements another method called the Wave Method that they've developed, and looking at some of their videos, it looks quite doable. They also have many demo videos that explain application of the different BCs they consider at nodes, ends (open and closed), etc.
I found a recent paper by a group in Denmark (Jensen et al) that releases the Octave/Matlab code, and uses the MoC. Their article is also open access.
The challenge for me as of now has only been to interface with DWG files, and it would be very nice to have everything within an environment like DWSIM.
I hope it helps in the future development.
Best regards,
Sam
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Can we do surge analysis using DWSIM? Any example in this regard?
Regards,
Sam
Surge Analysis is a dynamic problem, involving the time rate of momentum change. Wait till DWSIM Version 6.0. DWSIM Versions<6 are steady state, snapshot, flow sheets.
The first v6 release will not include a dynamic model for pipe segment, as it is very complex and I'll need some time to learn how to do it the right way.
Daniel: Thank You for the information about Ver 6. It loooked like no one was going to venture an answer to Sam M's question. So took a try. I just meant the surge analysis is beyond the capability of DWSIM at present.
Sure Frank, no worries, thanks for your help. I was just adding to your answer. Surge analysis will come up eventually.
Thank you Frank and Dan! You confirmed my understanding of v5.
I was anyway looking for something coming up in v6, hoping it is a dynamic simulator. But thank you Daniel for clarifying that it is not coming up in the next release.
I would be glad in case any of you have some specific links to get the theory behind to read up!
Best regards,
Sam
Last edit: Sam M 2020-05-14
Perhaps you have some literature to share on the subject? That would accelerate things.
In DWSim I developed a rather basic python script for water hammer transient analysis due to fast closing of a manual valve downstream a reservoir (simple model: tank, pipe and manual valve) using the following articles:
John Twyman Q. "Water hammer analysis using an implicit finite-difference method"
Ingeniare. Revista chilena de ingeniería, vol. 26 Nº 2, 2018, pp. 307-318
Sepheran, Badri "Water Hammer Simulation by Implicit Finite Difference Scheme Using
Non-Symmetrical Staggered Grid", Recent Advances in Fluid Mechanics, Heat & Mass Transfer and Biology
and of course basics equations excerpted from Chaudry "Applied Hydraulic Transients".
I am not sure how much this is helpful, but from my literature survey, I found the following:
Bentley software seems to implement the Method of Characteristics or MoC.
KYPipe implements another method called the Wave Method that they've developed, and looking at some of their videos, it looks quite doable. They also have many demo videos that explain application of the different BCs they consider at nodes, ends (open and closed), etc.
I found a recent paper by a group in Denmark (Jensen et al) that releases the Octave/Matlab code, and uses the MoC. Their article is also open access.
The challenge for me as of now has only been to interface with DWG files, and it would be very nice to have everything within an environment like DWSIM.
I hope it helps in the future development.
Best regards,
Sam