필터 지우기
필터 지우기

Viewing water temperatures in SimScape

조회 수: 3 (최근 30일)
Barry Flannery
Barry Flannery 2014년 11월 18일
댓글: Barry Flannery 2016년 1월 28일
Hello,
I am new to Simscape and was trying to do something that I thought would be quite straightforward but I am not having much luck with it so far. I have a very simple system that I want to try and simulate and then build it into something more complex.
The system is shown in the attached file. I want to simulate a closed loop of water with a fixed volume that circulates around passing through a heat input device which will increase its temperature and then through a heat rejection device that will decrease its temperature.
I want to be able to measure the temperature of the water in the loop before and after each device. The flowrate will be constant and same volume of water keeps circulating around resulting in feedback and a constantly increasing water temperature. I'm either completely misunderstanding the operation of SimScape or missing something obvious but how do I implement this feedback and closed loop effect?
The systems in question are shown below:
Note: I had to add the constant volume chamber as the model would not simulate without it and gave me the following errors
Initial conditions solve failed to converge. ...Equations of one or more components may be dependent or inconsistent. This can cause problems in transient initialization. Here is the set of components involved: 'untitled/Mass Flow Rate Source (TL)' Equation locations are: 'D:/MATLAB/toolbox/physmod/simscape/library/m/+foundation/+thermal_liquid/+sources/mass_flow_source.ssc' (line 44) 'D:/MATLAB/toolbox/physmod/simscape/library/m/+foundation/+thermal_liquid/+sources/mass_flow_source.ssc' (line 45)
'untitled/Pipe (TL)' Equation location is: 'D:/MATLAB/toolbox/physmod/simscape/library/m/+foundation/+thermal_liquid/+elements/resistive_tube.ssc' (line 50)
'untitled/Pipe (TL)1' Equation location is: 'D:/MATLAB/toolbox/physmod/simscape/library/m/+foundation/+thermal_liquid/+elements/resistive_tube.ssc' (line 50)
Any help would be much appreciated,
Barry Flannery
  댓글 수: 1
Andreas
Andreas 2014년 12월 15일
Could you please add your original model here? I'll have a look on it.

댓글을 달려면 로그인하십시오.

채택된 답변

Andrew Schenk
Andrew Schenk 2016년 1월 28일
Barry,
You will want to use the Pressure and Temperature sensor:
Additionally you may be interested in the Simscape Results Explorer which lets you log and view results from a Simscape model without adding additional sensor blocks:
  댓글 수: 1
Barry Flannery
Barry Flannery 2016년 1월 28일
Thanks for this - I found it out in a related thread.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Barry Flannery
Barry Flannery 2016년 1월 13일
Hello,
I am resurrecting this thread as I am back trying to do something similar. I have attached an attempted model of what I have drawn figuratively above.
I am interested in seeing the water temperature before and after each of the pipes. I presume the temperature probes that I have shown are showing the temperature of the pipe itself.
Thanks,
Barry

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by