AnyLogic Simulation Practice: Tips, Tricks, and Modeling Techniques

This page contains practical techniques, tips, and solutions for AnyLogic simulation modeling, covering useful approaches for building, debugging, optimizing, and improving simulation models.

First published: August 15, 2026

Hunting Down a Memory Leak in a Long-Running AnyLogic Simulation

This practical case study explores how a memory leak was identified and resolved in a long-running AnyLogic simulation. Using VisualVM and heap snapshot analysis, the investigation revealed unnecessary object retention and led to an architectural fix that stabilized memory consumption and simulation performance.

→ Continue reading


First published: September 24, 2026

Java Interfaces for Flexible Refinery Simulation in AnyLogic (part 3)

This article presents a Java interface architecture for separating physical flow connections from flow information in AnyLogic refinery simulation models. The FlowProvider hierarchy enables flexible statistics collection and preserves detailed flow information even when streams are physically aggregated, supporting loosely coupled and extensible Petroleum Refining Library components.

→ Continue reading