[Simscape] Create a new two-phase fluid as a combination of two existing fluid types

20 views (last 30 days)
Hi everyone,
I'm trying to run a test with R-513a, which doesn't currently exist on the 2P fluid properties block, however, the two fluids which it is a mixture of R-1234yf and R-134a do. Is there a way to leverage the twoPhaseFluidTables function to add this particular refrigerant to simscape for testing?

Answers (1)

Yifeng Tang
Yifeng Tang on 19 Nov 2025 at 19:01
I think it's possible. I just created a R-1234yf/R-134a 50/50 mixture in REFPROP, saved it as "newMixture", then the twoPhaseFluidTables was able to use it!!!
props = twoPhaseFluidTables([100,400],[0.01,2],25,25,60,'newMixture','C:\Program Files (x86)\REFPROP 10.0\')
Give it a try. Hope it works for you, too. I believe Coolprop allows new fluid definition, too. My first time trying this as well :)

Categories

Find more on Simscape Fluids in Help Center and File Exchange

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!