Hi @Aiden,
I took a close look at your block diagram screenshot and went through your comments, then dug into the Simscape Two-Phase Fluid documentation to figure out what's going on with your evaporator.
Your evaporator temperature behavior (T_B > T_A) is totally normal! Refrigerant enters at saturation temperature and leaves superheated, so temperature naturally rises as heat is absorbed. Heat is flowing in correctly and the temperature rise is what should happen when refrigerant evaporates and superheats.
The problem is the superheat decreasing when you close the valve. This is most likely because:
- You're calculating superheat wrong (using T_B - T_A instead of T_B - T_sat)
- Or you're seeing transient pressure effects
- Or there's thermal lag in your system
- Or maybe your thermal boundary connections are backwards
Next steps:
1. Add a Saturation Properties Sensor at the evaporator inlet 2. Calculate superheat properly: T_outlet - T_sat(P_inlet) 3. Monitor through valve transients and check steady-state behavior 4. Verify your thermal boundary conditions are hooked up right
Once you add those sensors and check the actual superheat calculation, let me know what you see. If it's still decreasing when the valve closes (after reaching steady state), then we can dig deeper into the dynamics.