Skip to main content
QUICK REVIEW

[Paper Review] Synthesis of separation processes with reinforcement learning

Stephan C. P. A. van Kalmthout, Laurence I. Midgley|arXiv (Cornell University)|Nov 3, 2022
Process Optimization and IntegrationEngineering7 citations
TL;DR

This paper demonstrates the integration of deep reinforcement learning (specifically Soft Actor-Critic) with Aspen Plus V12 for automated synthesis and optimization of distillation sequences in hydrocarbon separation. The RL agent successfully learned to maximize profit through iterative policy improvement, achieving a maximum profit of 856 M€ after 9,405 episodes, though performance was limited by slow simulation speed and unstable API communication in Aspen Plus.

ABSTRACT

This paper shows the implementation of reinforcement learning (RL) in commercial flowsheet simulator software (Aspen Plus V12) for designing and optimising a distillation sequence. The aim of the SAC agent was to separate a hydrocarbon mixture in its individual components by utilising distillation. While doing so it tries to maximise the profit produced by the distillation sequence. All actions of the agent were set by the SAC agent in Python and communicated in Aspen Plus via an API. Here the distillation column was simulated by use of the build-in RADFRAC column. With this a connection was established for data transfer between Python and Aspen and the agent succeeded to show learning behaviour, while increasing profit. Although results were generated, the use of Aspen was slow (190 hours) and Aspen was found unsuitable for parallelisation. This makes that Aspen is incompatible for solving RL problems. Code and thesis are available at https://github.com/lollcat/Aspen-RL

Motivation & Objective

  • To explore the feasibility of using reinforcement learning for process synthesis in chemical engineering, particularly for distillation sequence design.
  • To implement a Soft Actor-Critic (SAC) agent that autonomously designs and optimizes distillation sequences within a commercial flowsheet simulator (Aspen Plus V12).
  • To evaluate the agent’s ability to maximize economic profit while learning optimal column configurations (reflux ratio, stages) through interaction with the simulation environment.
  • To identify limitations of using commercial process simulators like Aspen Plus as RL environments, particularly regarding speed and stability.

Proposed method

  • The RL agent was implemented in Python using the Soft Actor-Critic (SAC) algorithm, which combines policy optimization with entropy maximization to balance exploration and exploitation.
  • The agent interacted with Aspen Plus via a custom API, sending actions (e.g., reflux ratio, number of stages) to the RADFRAC column model and receiving state observations and rewards.
  • The state space included stream compositions, flow rates, and column parameters; the action space included discrete and continuous adjustments to column design variables.
  • The reward function was defined as the net profit of the distillation sequence, calculated from energy and product value, with penalties for infeasible configurations.
  • The critic network was trained using a target Q-network with Polyak averaging to improve training stability, and the entropy temperature hyperparameter was updated adaptively.
  • Hyperparameter tuning was performed to adjust learning rate and target smoothing coefficient to control exploration vs. exploitation.

Experimental results

Research questions

  • RQ1Can a Soft Actor-Critic agent effectively learn to design and optimize a distillation sequence for maximum profit within a commercial process simulator like Aspen Plus?
  • RQ2How does the agent’s learning behavior evolve over episodes in terms of policy convergence and reward improvement?
  • RQ3To what extent does the performance of the RL agent depend on hyperparameters such as the number of agent updates per episode and the entropy temperature?
  • RQ4What are the major technical limitations of using Aspen Plus as an environment for reinforcement learning in process synthesis?
  • RQ5Can initial designs from conventional methods (e.g., DSTWU) be used to improve sample efficiency and convergence speed of the RL agent?

Key findings

  • The RL agent successfully learned to improve the profit of the distillation sequence, achieving a maximum profit of 856 M€ after 9,405 episodes with 4 agent updates per episode.
  • The agent demonstrated fast convergence, with a sharp initial increase in return followed by stabilization around episode 6,500, after which exploration resumed, increasing variance.
  • The agent achieved a 98.9% success rate in separating streams, with only 1.1% of actions resulting in no separation, indicating strong policy stability.
  • Convergence errors in Aspen Plus were low (0.03% for the best configuration), showing that most actions led to feasible simulations.
  • The simulation took 160.9 hours for 9,405 episodes, indicating that Aspen Plus is too slow for efficient RL training.
  • The API connection was unstable, with 0.2% lost contact events, and the environment was found unsuitable for parallelization, limiting scalability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.