Chapter 14: Discrete Event Simulation with salabim¶
Part III — Discrete Spatial Modeling
Learning Objectives¶
By the end of this chapter you will be able to:
- Understand the salabim Component lifecycle and simulation clock
- Register models and run a simulation with env.run()
- Reimplement Game of Life using salabim Components
{note}
Show that salabim solves the coordination problem, not the performance problem.
In [ ]:
Copied!
# Standard imports — add chapter-specific imports below
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
# Standard imports — add chapter-specific imports below
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
What Is Discrete Event Simulation?¶
TODO: write content.
In [ ]:
Copied!
# Code for section: What Is Discrete Event Simulation?
# Code for section: What Is Discrete Event Simulation?
salabim: Environment, Component, Clock¶
TODO: write content.
In [ ]:
Copied!
# Code for section: salabim: Environment, Component, Clock
# Code for section: salabim: Environment, Component, Clock
Multiple Components, One Environment¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Multiple Components, One Environment
# Code for section: Multiple Components, One Environment
Game of Life with salabim (vector)¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Game of Life with salabim (vector)
# Code for section: Game of Life with salabim (vector)
Composing Models and Visualization¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Composing Models and Visualization
# Code for section: Composing Models and Visualization
What salabim Buys Us¶
TODO: write content.
In [ ]:
Copied!
# Code for section: What salabim Buys Us
# Code for section: What salabim Buys Us
Further Reading¶
- TODO: add references.