Where can I find the source code of 3-Zone Pipe (2P)?
조회 수: 7 (최근 30일)
이전 댓글 표시
I would like to know where the source code (.ssc file) of 3-Zone Pipe (2P) (Simscape/Fluids/Two-Phase Fluid/Pipes & Fittings) is available.
For example, about Pipe (2P), I confirmed that it is available below.
C:\Program Files\MATLAB\R2020a\toolbox\physmod\simscape\library\m\+foundation\+two_phase_fluid\+elements
댓글 수: 0
채택된 답변
Vasco Lenzi
2020년 8월 31일
Hi Takahiro
unfortunately most of the components in the Simscape Fluids library are not open. Only Simscape Foundation library is fully open, where you found the simple Pipe (2P).
Why are you looking for the source code? To understand better how it was implemented, or to modify it?
We try to provide all the equations/explanations in the documentation for the block. Pelase let us know if somethings were not clear enough.
댓글 수: 5
Tech Logg Ding
2020년 9월 1일
Hi Vasco and Takahiro,
I am also interested in the source code as I would like to understand how the zone lengths are implemented. I am also interested in changing the heat transfer coefficients to simulate a heat exchanger better. On a side note, in order to use the suggested method, different properties of the fluid is still required (fluid heat capacity etc.) to calculate the heat transfer coefficients. Therefore, that method will be quite difficult to implement correctly.
The 2P pipe model does not account for dynamic phase change and I think you need to connect multiple blocks together to mimic the effects of a Finite Volume (FV) model.
Besides that, for the 3 Zone pipe model, how can I tune the dynamic response? Can it only be achieved through the phase change time constant?
Thank you very much for your time.
Regards,
Ding
Vasco Lenzi
2020년 9월 2일
편집: Vasco Lenzi
2020년 9월 2일
Hi Ding
if you are looking for heat exchanger based on 2 phase domain, you could check out the prerelease for 20b if you can. We have a new heat exchanger Thermal Liquid - 2Phase coming up. Do remember that 20b is a beta release and is not supposed to be used for production work, but to check out new feature. Take a look at the block and see if it could fit your needs before modeling something new.
The 2P pipe model does not account for dynamic phase change and I think you need to connect multiple blocks together to mimic the effects of a Finite Volume (FV) model.
That's correct, see example:
Besides that, for the 3 Zone pipe model, how can I tune the dynamic response? Can it only be achieved through the phase change time constant?
If I understand your question correctly, yes only through that.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Two-Phase Fluid Library에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!