Transcription of Simulation Programming with Python - Northwestern …
{{id}} {{{paragraph}}}
chapter 4 Simulation Programmingwith PythonThis chapter shows how simulations of some of the examples in Chap. 3 can beprogrammed using Python and the SimPy Simulation library[1]. The goals ofthe chapter are to introduce SimPy, and to hint at the experiment design andanalysis issues that will be covered in later chapters. While this chapter willgenerally follow the flow of Chap. 3, it will use the conventions and patternsenabled by the SimPy SimPy OverviewSimPy is an object-oriented, process-based discrete-event Simulation library forPython. It is open source and released under the M license. SimPy providesthe modeler with components of a Simulation model including processes, foractive components like customers, messages, and vehicles, and resources, forpassive components that form limited capacity congestion points like servers,checkout counters, and tunnels.
2 CHAPTER 4. SIMULATION PROGRAMMING WITH PYTHON ries as necessary software libraries are being ported and tested. SimPy itself supports the Python 3.x series as of version 2.3. In addition, SimPy is undergo-ing a major overhaul from SimPy 2.3 to version 3.0. This chapter and the code on the website will assume use of Python 2.7.x and SimPy 2.3.
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}