liveBook · Manning

Simulation

Also called simulate

Simulation is the modeled enactment of a system, process, or scenario under specified conditions to examine its behavior or possible outcomes.

How 11 Manning books explain it

Outlier Detection in Python

A simulation is a computational representation of a process or environment that generates observations under specified rules and conditions.

How it is used
Generates state-dependent synthetic data to test outlier detectors, especially on unusual sequences or groups of records.
How deep it goes
Explains sequential agents and state through a company simulation, with Python listings; cautions that realistic simulations are difficult to set up.
Examples
Uses a year of purchase and sale transactions with inventory, plus a rogue purchaser whose purchases differ as a group.
What you can do after
Build it from scratch to generate plausible transaction histories with known anomalous behavior and test detector reliability across varied datasets.

Read how Outlier Detection in Python explains simulation →

Robotics for Programmers

Simulation is the execution of a computational model to reproduce or predict a system's behavior without operating the physical system.

How it is used
Supports robotics learning, prototyping, and concurrent hardware-software development without requiring a physical robot.
How deep it goes
Explains simulator components and simplified kinematic models, while deferring specific simulator software architecture.
Examples
Uses a virtual 3D-printing manipulator, a cylinder on an inclined plane, and a robot destabilized by position commands.
What you can do after
Apply it via Gazebo and ROS to run virtual robots and evaluate reachability, collisions, and basic physical behavior.

Read how Robotics for Programmers explains simulation →

Digital Twins in Action

The computational modeling of possible conditions or changes in order to predict their effects before acting on a real system.

How it is used
Supports what-if decisions in digital twins before changes are made to physical systems.
How deep it goes
Defines model execution and works through continuous tank drainage and discrete-event scheduling, including tool mechanics and model assumptions.
Examples
Uses tank drainage and household appliance power scheduling to illustrate continuous and discrete-event simulations.
What you can do after
Apply simulation via OpenModelica and SimPy to explore tank drainage and power-constrained appliance scheduling.

Read how Digital Twins in Action explains simulation →

Experimentation for Engineers

A computational representation of a system that estimates its business metrics offline by combining data, models, scientific models, or heuristics.

How it is used
Estimates offline business or operational metrics to compare system changes before committing to real experiments.
How deep it goes
Explains components, data flow, reruns, speed, and bias, then demonstrates parameterized Python and production-log simulations.
Examples
Uses trading-strategy replay, market-response modeling, JIT CPU-time measurement, production-request logs, and repeated parameter variants.
What you can do after
Evaluate offline metric estimates, compare many variants quickly, and choose candidates for production experiments while accounting for bias.

Read how Experimentation for Engineers explains simulation →

Fundamentals of Cybersecurity

A simulation is an exercise that models a disruptive scenario to evaluate organizational responses without causing an actual disruption.

How it is used
Tests business continuity, disaster recovery, and security responses through controlled scenarios that avoid affecting live operations.
How deep it goes
Explains full reenactments, system interaction, time-based decisions, plan validation, and immediate feedback without detailing implementation procedures.
Examples
Uses full-scale continuity reenactments, time-pressured scenarios, and simulated phishing, smishing, vishing, and quishing attempts.
What you can do after
Apply simulations to validate plans, clarify responsibilities, identify weaknesses, and improve decisions under pressure.

Read how Fundamentals of Cybersecurity explains simulation →

Grokking Statistics

A simulation is a computational procedure that generates artificial outcomes according to specified rules or probability models.

How it is used
Uses repeated random trials to judge whether an observed result could arise from expected variation.
How deep it goes
Explains the simulation loop, outcome counting, visualization, and run-to-run variation, then compares results with binomial probabilities.
Examples
Demonstrates 10,000 experiments of 10 device trials with a 90% success threshold and charts the resulting success counts.
What you can do after
Apply simulation in Python to estimate outcome frequencies and interpret whether an observed trial result is plausible.

Read how Grokking Statistics explains simulation →

Architecting Autonomous Agentic Systems

Simulation is a technique that models or rehearses system behavior across varied inputs, conditions, and scenarios to evaluate outcomes and risks.

How it is used
Explores autonomous-system behavior under uncertainty to set safer decision boundaries and escalation thresholds.
How deep it goes
Treats simulation architecturally through failure modes, boundary conditions, stress behavior, and model drift, stopping short of exhaustive correctness.
Examples
Uses clinical pathway model-drift scenarios with gradual, sudden, and simultaneous confidence-score degradation.
What you can do after
Evaluate uncertainty-driven behavior and adjust escalation thresholds before deploying autonomous systems.

Read how Architecting Autonomous Agentic Systems explains simulation →

Julia as a Second Language

A simulation is a computational representation that models the behavior of a system by advancing its state according to specified rules.

How it is used
Models rocket flight by advancing state in small time steps rather than solving the entire system with one equation.
How deep it goes
Implements propellant updates and a launch loop, but omits air resistance and staged-rocket launches.
Examples
Uses a rocket launch with a 300-unit payload and invites experiments with payload and tank sizes.
What you can do after
Build it from scratch: implement a simplified time-step rocket launch and explore how payload and tank size affect its result.

Read how Julia as a Second Language explains simulation →

Data for All

Simulation is the technique of representing a real or hypothetical system and running it under varying conditions to evaluate possible outcomes.

How it is used
Uses repeated scenarios to compare plans, test assumptions, and guide decisions before changing real markets or operations.
How deep it goes
Explains objectives, variable changes, repeated runs, and safe validation, but does not provide implementation or mathematical detail.
Examples
Uses store-network planning, pricing, promotions, products, customer counts, time boundaries, markets, and digital twins as examples.
What you can do after
Evaluate plans and assumptions, compare projected outcomes, and identify promising actions before committing resources.

Read how Data for All explains simulation →

Applied Reinforcement Learning

Simulation is the execution of a model that reproduces interactions or outcomes of an environment without operating directly in the real environment.

How it is used
Uses simulation as a safe sandbox for reinforcement-learning exploration and as a classical decision model compared with adaptive reinforcement learning.
How deep it goes
Demonstrates Markov-chain simulation and frequency-based estimates of next-state probabilities, alongside a high-level account of safe learning environments.
Examples
Uses software-service customer transitions for probability estimates and names warehouse robots, dynamic pricing, and trailer loading as environment scenarios.
What you can do after
Evaluate next-state probabilities by simulating customer transitions and normalizing observed state frequencies.

Read how Applied Reinforcement Learning explains simulation →

Machines that Think

Simulation is the computational or formal reproduction of the behavior or operation of a system.

How it is used
Frames whether reproducing a process’s behavior counts as performing it, especially in debates about machine intelligence.
How deep it goes
Defines simulation against instantiation and uses storms and arithmetic to illustrate the distinction, while leaving reasoning’s status unresolved.
Examples
Contrasts a simulated storm with arithmetic and compares a skilled copyist’s painting with an original.
What you can do after
Evaluate whether a system performs an activity or merely reproduces its structure.

Read how Machines that Think explains simulation →

Also covered in

What to know first

Related concepts

Questions about simulation

What is simulation?

Simulation is the modeled enactment of a system, process, or scenario under specified conditions to examine its behavior or possible outcomes.

Which Manning books explain simulation?

Outlier Detection in Python, Robotics for Programmers, Digital Twins in Action, Experimentation for Engineers, Fundamentals of Cybersecurity, Grokking Statistics, Architecting Autonomous Agentic Systems, Julia as a Second Language and 3 more.

What should I know before learning simulation?

Manning books that teach simulation usually introduce language model, generation, business continuity and incident response first.

What is the difference between simulation and experimentation?

Simulation is the modeled enactment of a system, process, or scenario under specified conditions to examine its behavior or possible outcomes. Experimentation is the planned investigation of a question or hypothesis by conducting trials or interventions and observing their outcomes.

What kinds of simulation are there?

Kinds of simulation include discrete event simulation.

What is simulation a kind of?

Simulation is a kind of dynamic analysis. Dynamic analysis is the examination of a program or system by executing it and observing its behavior during operation.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.