Beginner looking for guidance on Digital Twin simulation concepts and learning resources

I’m currently working on a Warehouse Digital Twin project using Unity, and I’m a beginner in simulation concepts. I’m trying to understand how simulation is actually designed and used in Digital Twin applications.
I’ve been exploring Discrete-Event Simulation (DES), Continuous Simulation, and Agent-Based Simulation, and I’ve also started looking into tools such as SimPy and SimSharp. However, I’m finding it difficult to find learning resources that explain the concepts clearly from a beginner level. Most of the content I find focuses more on specific software or product demos rather than explaining the fundamentals.
I would really appreciate guidance from people experienced in simulation/Digital Twins:

  1. What simulation concepts should a beginner learn first?
  2. What is the recommended learning path for DES, Continuous, and Agent-Based Simulation?
  3. Which books, courses, YouTube channels, or websites explain these concepts well?
  4. For a warehouse Digital Twin, which type of simulation should I focus on first?
  5. Is SimPy/SimSharp a good starting point for learning DES?
  6. How are simulation engines typically connected with a 3D platform such as Unity in a Digital Twin?
    My goal is not just to learn a particular tool, but to understand the fundamentals of simulation and how to apply them to a real-world warehouse Digital Twin.
    Any recommended learning path, resources, examples, or practical projects would be greatly appreciated.

Hi, this sounds like a really interesting project!

I’m also still learning a lot about simulation, but for a warehouse Digital Twin I would probably start with discrete-event simulation first. Things like orders arriving, pickers becoming available, AGVs moving, queues and loading/unloading all happen as events, so DES seems like a good foundation.

SimPy could be a good starting point if you are comfortable with Python. Maybe begin by modelling one small part of the warehouse first. For example, orders arriving, a limited number of pickers, and the queue that builds up before trying to connect the full system to Unity. Personally, I find remembering how to create specifications during each system of the model quite complicating at the start. Step by step and modular designing surely makes it less overwhelming.

What are you mainly hoping the Digital Twin will help you study: throughput, AGV/robot routing, worker allocation, congestion, or something else?

It would be really interesting to hear what your first use case is.
You could also have a look through the OPAL-RT Community Models section for examples of how people structure and share simulation models. Most models here are focused on energy and real-time simulation rather than warehouses, but they may still be useful for seeing how others document assumptions, inputs and test scenarios.

Once you have a small beginner version working, you could also share it here. It could be a nice way to get feedback on your design decisions, ask questions as you develop it, and let others follow along with your learning process.

@jakub Thank you for the detailed explanation! This is really helpful. My current use case is to study congestion and throughput in the warehouse cargo intake flow. I’ve started building a basic simulation prototype in Unity, and I’m exploring how to model shipment arrivals, forklift availability, queues, and waiting times. I will look into DES and SimPy/SimSharp to understand how I can improve the simulation step by step. Thanks for sharing the OPAL-RT Community Models resource as well.

jjHello this will come wiht a longer mail

Hi, and thanks @jakub for the great starting points.

Cargo intake congestion is a good first scope for discrete-event simulation (DES). Shipment arrivals, forklift availability, dock occupancy and staging capacity are classic queueing problems. SimSharp is a good fit for learning, and since it’s C#, it plugs naturally into a Unity prototype. For fundamentals, Discrete-Event System Simulation (Banks et al.) and The Big Book of Simulation Modeling (Borshchev) are solid references that don’t push any particular tool.

Three levels of abstraction

On your question about DES vs. agent-based vs. continuous: it helps to see them less as competing methods and more as different levels of abstraction. Each level answers a different question.

Flow level (DES): a forklift is just a resource that’s either busy or free, and moving a pallet is a delay of “3 minutes”. Time jumps from event to event, so you can simulate weeks of operation in seconds. That’s the level for throughput, waiting times and how many docks or forklifts you need, which is exactly your current use case.

Agent level: each forklift becomes an individual with its own position, rules and decisions: which task to take, which aisle to use, what to do when another vehicle is in the way. This is where spatial congestion starts to appear on its own, rather than being baked into a fixed delay.

Physical level (continuous): you stop abstracting the movement itself. You model vehicle dynamics, acceleration and braking, load on the forks, battery, and what the sensors actually see, with time steps in milliseconds. The questions change from “how many” to “does this vehicle behave correctly and safely in this environment”.

The deeper you go, the more realistic it gets, but the slower and more expensive the model becomes. So most Digital Twins use DES as the backbone and only go down a level where a question actually requires it.

Where we fit in

That last level is the space we work in at OPAL-RT with 4DV-SIM, our real-time simulation platform for autonomous vehicles and robotics. It combines vehicle dynamics, sensor simulation (camera, LiDAR, etc.) and integration through ROS 2, among other communication standards, protocols and media. Coupled with RT-LAB, it also allows hardware-in-the-loop testing, where real controllers or drives run against the simulated environment. The idea is to validate autonomous forklifts, AGVs or AMRs in realistic scenarios before they ever touch the warehouse floor.


Out of curiosity, are the forklifts in your intake flow driven by operators, or is automation part of the longer-term plan? And do you intend to feed the twin with real data from the warehouse (WMS, arrival logs, forklift telematics), or keep it scenario-based for now? Those two answers tend to shape a lot of the architecture choices.

Looking forward to seeing how the prototype evolves!

The first post is a bit sparse, so I’ll focus on the concepts. Start by separating a digital model, a digital shadow, and a digital twin: the first has no automated data flow, the second flows one way from the physical asset, and the third exchanges data both ways. Then pick one simple system you can describe in plain terms and map it out: what you sense, what you simulate, and what feedback you’d send. For learning, look for introductory material on system modeling and state estimation before diving into platform-specific tutorials.

Starting with the title and the fragment visible, it’s hard to tell which parts of the thread actually made it through intact. If you’re after guidance on digital twin concepts, I’d suggest framing questions around what you want to model and at what fidelity, since that choice drives the simulation approach. Concrete examples help more than abstract definitions when you’re beginning. It would also help to know your background, whether you’re coming from controls, data, or mechanical design, so replies can point you toward resources at the right level rather than generic overviews.

The thread got truncated before much detail, so I can only speak generally. For a beginner, focus first on what a digital twin is meant to answer: synchronizing a physical asset’s state with a model and using that model for prediction or monitoring. Learn basic system modeling and sensor data handling before diving into tooling. Reading comparison pieces on simulation versus digital twins helped me sort out the concepts, alongside some introductory online courses. Ask specific questions about your intended use case; the answers differ a lot by domain.