Goals
- Surrogate Model Creation: Introduce the fundamental principles of surrogate modeling and how they integrate with DWSIM, an open-source chemical process simulation tool, to enhance process analysis and optimization.
- Methods in Action: Provide step-by-step demonstrations of creating three different surrogate models using DWSIM
The article references MATLAB code and DWSIM models notebook found here.
Key Takeaways
DWSIM
Surrogate Creation
Example 1: A Simple Distillation Column
The table below lists the surrogate model inputs and their bounds. Note that only the molar fractions of two feed components were vaaried (five components in total), and the sum of these molar fractions was the same in all samples collected to ensure that molar fractions remained constant for the unvaried components. The sampling algorithm can be easily modified to include variations of all feed components.
The figure below gives the reader a visual assessment of the surrogate model’s accuracy. It plots the surrogate predictions for Bottom n-Heptane Molar Fraction against those computed with the DWSIM model for the training, validation, and testing sets. MLPs tend to be overfitted, resulting in smaller errors for the training set. Therefore, as discussed above, the metrics from the testing set provide a more accurate indication of errors when predicting configurations not present in the sampled set. A complete set of figures is provided here.
Surrogate model evaluations (inference) occur much quicker than executing a physics-based model. The table below presents a computational time comparison between DWSIM model executions and surrogate model evaluations. As shown in Surrogate Model-Based Optimization and Parameter Estimation via Profile Likelihoods, the increase in speed can be leveraged to enable and accelerate vital workflows.
Example 2: Extractive Distillation
Example 3: Natural Gas Processing Unit
