The optimal control problem can be described as follows: For a given pressure-swing batch distillation configuration (𝑁-total number of trays, 𝑃working pressure), batch composition, the distillation task, and overall time horizon (𝑡 𝑓 ), determine the optimal reflux ratio so as to maximize the distillate, subject to any constraints (model equations, bounds on the optimization variables).