In Simscape, is there an equivalent to the Two-Phase Fluid System components that support Phase-Change-Materials (solid-liquid-transition)?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi everyone,
I am currently modelling a heat pump cycle in Simscape (Fluids) with the goal of simulating the behaviour of a phase-change material emulsion.
I started out by designing a heat pump cycle based on an ethylene glycol and water mixture, so I used a Thermal Liquid fluid system. I have access to experimental data on which I based the design, with the goal of thus validating my simulation. My plan was to eventually change up the system parameters in a way to 'insert' PCM, hoping to easily change the coolant at will. The PCM parameterization (cp, viscosity, density...) is also based on experimental data.
Unfortunately, I have run into issues in changing the system to accomodate PCM, as the Thermal Liquid system does not seem to offer an option to directly simulate phase changes.
Additionally, as far as I can tell, Two-Phase Liquid Systems do not accomodate solid-liquid-transitions as they are meant for liquid-vapor transitions.
My first question to you is: am I correct in the assessment that there is no pre-defined liquid system to simulate a solid-liquid phase change?
Second: do you have any suggestions as to how I could accomplish such a simulation? I have tried several approaches using the Thermal Liquid system as a base with an additional subsystem to approximate the effects of the phase change on the system parameters, but the model struggles with numeric instabilities, which I assume are caused by sudden changes in coolant parameters around the melting point of the PCM.
Hopefully you understand what my issue is and that you can help me out with your insight, thanks!
Philipp
4 commentaires
Yifeng Tang
le 18 Mar 2025
I think it's possible to manipulate the property table of the thermal liquid, such that it has a sharp jump of specific internal energy to represent the melting heat. Other properties, like viscosity and thermal conductivity can be treated in a similar fashion. I'll find a time to give it a try in the next few days.
Réponses (1)
Yifeng Tang
le 19 Mar 2025
I attached a simple proof-of-concept.
The mlx script add an offset to the u(T) property after T is greater than the melting temperature, to represent the latent heat.

The manipulated properties are brought into a simple test model using the Thermal Liquid Settings (TL) block. I chose to use the 1D vector based properties option here as it's easier to manipulate a 1D vector than a 2D table :p

The test model is just some flow through a pipe, and a heat source will remove an increasing amount of heat.

As the heat removal happens, the outlet temperature will drop. Near the phase change temperature, the temperature change becomes much more gradual, reflecting the the jump in the u(T) vector.

You may increase the resolution of the T vector near the melting temperature to make it more like a flat line. But for engineering purposes, I suspect +/- 0.5 deg is OK?
Do you think this will be a reasonable workaround?
Thanks,
Yifeng
0 commentaires
Voir également
Catégories
En savoir plus sur Thermal Liquid Library dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!