How to model a deaereator on Simscape 2phase domain
Show older comments
I'm trying to model a deaereator on Simscape thorugh a Receiver Accumulator 2p. Basically I have the saturated steam at 22 bar (modelled as a reservoir), make-up water (4 bar, 80°C) and condense (4 bar, 100°C) that enter the receiver accumulator (water and condense are mixed before in a node since the inlet ports are only 2). At the outlet, there are the vented steam towards the ambient and the water towards the boiler (modelled as a reservoir). The mass flow rate of the condense (2.1 t/h )and the water-to-the-boiler (10.1 t/h) are fixed and modelled with a mass flow rate source. The steam mass flow rate is determined through a PID control based on the pressure at the water outlet (p_set=2.4 bar) applied on a local restriction, while the make-up water mass flow rate is determined by a PID control on the liquid fraction on the receiver accumulator (set point at 0.5) applied on controlled mass flow rate source. After some attempts I set the following the gains value of the PID:
Pressure pid: proportional= 0.1 integral=0.001
Liquid fraction pid: proportional= 0.05 integral=0.001
The main porblem is that the amout of steam that enters the receiver is equal to the amount that exits as vented steam, so no condensation occurs. Even if I change the time constant of the receiver accumulator, nothing changes. There's an ineffective heat transfer in the receiver between the water+condense and steam
In fact, after the simulation, the water oscillates at 85°C and remains stable at 2.4 bar. The pressure reaches (immediately!) the target pressure set at 2.4 bar, while the liquid fraction oscillates at 0.5.
I don't know if this component is the most suitable one, but I did not find an other better tank. The idea was to use a heat exchange, but this would complicate things. 

Answers (2)
Satyam
on 12 Mar 2026
0 votes
Hi Edoardo,
To model a deaerator behavior in the Simscape Two-Phase domain, the issue you observe mainly comes from the lack of thermal interaction inside the Receiver Accumulator (2P). This block primarily enforces mass storage and phase equilibrium, but it does not inherently guarantee effective condensation unless proper energy exchange and inlet conditions are established. You can consider the following adjustments:
- Ensure the energy balance is properly defined in the tank. Condensation occurs only if the steam temperature is higher than the liquid mixture temperature, enabling heat transfer. If both phases rapidly reach saturation at the tank pressure (2.4 bar), the model will simply pass steam through without condensation. You can review how the Receiver Accumulator (2P) handles phase equilibrium here: https://www.mathworks.com/help/hydro/ref/receiveraccumulator2p.html
- Instead of mixing condensate and make-up water using a simple node, consider introducing a thermal mass or controlled volume upstream so that the entering liquid temperature is realistically represented before entering the accumulator. This prevents the system from immediately reaching equilibrium conditions.
- The Receiver Accumulator (2P) assumes instantaneous thermodynamic equilibrium, which is why the pressure reaches the setpoint almost immediately and the steam entering equals the vented steam. If condensation dynamics are important, you may need to explicitly model heat transfer using a Heat Exchanger (2P) or Controlled Thermal Path between steam and liquid regions. Example guidance is available in Simscape thermal-fluid modeling documentation:https://www.mathworks.com/help/simscape/ug/modeling-two-phase-fluid-systems.html
- Check the initial conditions (pressure, liquid fraction, temperature) of the accumulator. If they start near the operating pressure and saturation state, the controller will quickly stabilize without producing significant phase change.
- You may also want to tune the control loop more gradually (smaller proportional gains or adding derivative action) because the very fast pressure stabilization from the PID can prevent the transient heat exchange needed for condensation.
I hope it resolves your query.
Edoardo
on 12 Mar 2026
0 votes
Categories
Find more on Two-Phase Fluid Library in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!