ProductMixer behavior is configured through a set of configuration properties that define the product blending algorithm, optimization objectives, product quality constraints, flow limits, additive management, and external integrations. Most settings can also be loaded from an external INI file, allowing operating conditions to be updated without rebuilding the simulation model.
ProductMixer supports both
Automatic and
Manual Product Blending modes. Both operating modes expose the same ProductMixer runtime API, allowing applications to switch calculation behavior without changing the surrounding refinery simulation logic. In automatic mode, the component builds and solves the
LP optimization model based on configured constraints. In manual mode, the optimization problem is fully defined by the user.
The component also allows engineers to configure input and output flows, residual streams, flow limits, product quality constraints, balance additives, and integration with external components such as
FlowQuota, providing flexible control over refinery blending operations.
The following sections describe the ProductMixer public API, including configuration properties, runtime methods, events, and advanced configuration options available to application developers.