Source Simulation Articles and Tutorials

This page presents a collection of articles focused on simulation and hybrid modeling of oil and gas industry facilities. More detailed information is available in our Solutions section.

First published: August 10, 2026

Source in Refinery Simulation: Complete Guide to Feedstock Planning, Flow Control, and Statistics

This complete guide explains how the PRL Source component supports feedstock planning, continuous flow generation, flow smoothing, runtime flow control, and production performance monitoring in refinery simulation. It covers Source configuration, production plans, statistics, historical data, and integration with pipelines, tank farms, refinery logistics, and Digital Twin models.

Continue reading


First published: June 5, 2026

Crude Oil Supply Chain Simulation: How Can Feedstock Deliveries to Refineries Be Simulated?

Crude oil supply chain simulation enables engineers to analyze and optimize refinery logistics by integrating oil and gas fields, pipelines, tank farms, and processing units into a dynamic digital twin. It supports feedstock allocation, transportation planning, scenario analysis, and production planning, improving decision-making and supply chain optimization in modern oil and gas refining.

Continue reading


First published: July 11, 2026

Flow Smoothing in Digital Twin Simulation: Converting Source Plans into Continuous Flows

This document provides the complete mathematical formulation of the volume-preserving flow smoothing algorithm used in Digital Twin simulation. It derives the equations for hourly flow calculation, transition interpolation, and mass balance preservation while describing the numerical implementation of the algorithm. The formulation complements the engineering overview and reference implementation provided by the Petroleum Refining Library (PRL).

Continue reading


First published: August 12, 2026

Source Statistics in Refinery Simulation

Source Performance Metrics provide a structured API for monitoring Source output, production plan execution, and historical flow data in refinery simulation. The article describes output, plan, database, and source properties statistics available for production monitoring and performance analysis.

Continue reading


First published: August 12, 2026

Source Control in Refinery Simulation: Runtime Flow Management

This article presents Source Control in Refinery Simulation using the Petroleum Refining Library (PRL) for AnyLogic. It describes Source configuration, runtime flow-limit management, source flow connections, and event-driven control. The article explains how these capabilities support responsive refinery flow control and synchronization with downstream simulation logic, with applications in production planning and refinery digital twins.

Continue reading