How to obtain the saturated vapor or liquid temperature from the simscape component: Condenser-Evaporator (TL-2P) during simulation?
조회 수: 5 (최근 30일)
이전 댓글 표시
In order to control the superheat at the exit of my evaporator (I have modeled this by means of the simscape component: Condenser-Evaporator (TL-2P)) as part of my chiller, I use a simple controller. However, to determine my current superheat I need the output temperature of the evaporator, for which I can use a sensor, and I need the saturated vapor temperature. I know I can obtain this value after simulation via simlog, however, I have no idea how to obtain its current value to feed into my controller during simulation. Can anyone help me with this?
댓글 수: 0
답변 (1개)
Yifeng Tang
2021년 4월 27일
In the latest release (R2021a), the 2P domain in the foundation library contains a Saturation Property Sesnsor that would allow you to do this: https://www.mathworks.com/help/releases/R2021a/physmod/simscape/ref/saturationpropertiessensor2p.html
If you can upgrade to R2021a, this would be the best solution. Otherwise, please submit a service request here and ask them to direct the request to me. I can send you a custom block for earlier releases.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!