Unlike standalone optimization software, ProductMixer is tightly integrated with the
refinery digital twin. Whenever operating conditions change—such as variations in input stream flow rates, seasonal property changes, or a manual recalculation request—the simulation temporarily pauses and transfers the current state of the process to the ProductMixer optimization engine.
Each optimization cycle follows the same automated workflow. ProductMixer first collects the current state of all connected input streams, including instantaneous flow rates, stream properties, product specifications, and operating constraints. Based on this information, it automatically generates a new LP model by creating the required decision variables and assembling all active optimization constraints. The selected LP solver then computes the optimal blend composition and determines the accepted and rejected portions of every incoming stream. Finally, the calculated split ratios are returned to the refinery simulation, which immediately resumes execution using the optimized flow distribution. This automated workflow ensures that every optimization cycle reflects the current refinery state without requiring users to formulate or modify mathematical models.