Your model reminds me of this example:
Do you think this will help?
If you'd like to learn more about modeling refrigeration systems (since you mentioned R134a), check out this workflow example:
https://www.mathworks.com/help/releases/R2023b/hydro/ug/modeling-a-refrigeration-cycle.html