How can one determine the total mass or volume of fluid in a Simscape Thermal Liquid model?

18 views (last 30 days)
The model consists of three loops thermally associated by heat exchangers. One primary loop cools two secondary loops. I want to know total coolant mass to evaluate the model against expected characteristic behavior. For example, how long should it take for a thermal transient to travel each loop path?
  4 Comments
K_Anthony
K_Anthony on 10 Jul 2023
Any updates? I am working on a system where I need to specify the total volume of a refrigerant...
Yifeng Tang
Yifeng Tang on 15 Aug 2023
@K_Anthony the heat exchanger blocks for the two-phase domain (2P) typically log the "mass" variable in simlog. You can view that in the Simscape Result Explorer.

Sign in to comment.

Accepted Answer

Luke Halberstadt
Luke Halberstadt on 24 Jun 2024
The mass of liquid in a Simscape network may not closely match the mass of liquid in the real system even when the Simscape network behavior is very close to that of the real system, so be cautious if you try to calculate or set the fluid mass within the Simscape network.
Why is this? Some Simscape blocks have an internal volume and others do not. For example, the Flow Resistance (TL) and the Centrifugal Pump (TL) do not have internal volumes. Asking Simscape for the total fluid mass in the system would be likely to undershoot unless you added pipes/chambers to match the real system geometry. And these extra blocks might have undesireable effects on the overall system simulation goals.
For more information about fluid blocks internal volumes, see Modeling Isothermal Liquid Systems. The concepts here also apply to the Thermal Liquid domain.
If you really need to calculate or set the mass of liquid in your system, I would personally recommend using a MATLAB live script. The script could calculate system initial conditions based on the desired fluid mass or calculate fluid mass based on logged internal node variables as hinted at by Yifeng earlier. In the script, you could precisely control the fluid mass accounting and also include additional geometric information from data sheets or CAD models.

More Answers (0)

Categories

Find more on Thermal Liquid Library in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!