-
Recent Posts
Recent Comments
- R.P. Churchill on TWSL Series 07: Discovery and Data Collection
- R.P. Churchill on A Simulationist’s Framework for Business Analysis: Round Two
- LN on A Simulationist’s Framework for Business Analysis: Round Two
- R.P. Churchill on Starting to Learn About the Java Memory Model
- R.P. Churchill on Multidimensional Arrays in Javascript
Categories
Meta
October 2025 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Tag Archives: discrete-event sim project
A Simple Discrete-Event Simulation: Part 22
I found it necessary to go back and automate the definition and display of blocks of values associated with different elements in a simulation. I’ve based it on a global canvas and will rewrite everything else accordingly. This will make … Continue reading
A Simple Discrete-Event Simulation: Part 21
I’m trying to set up more of the initial code and continue to be overwhelmed with possibilities and things to consider. (This is a good thing and not a bad thing!) What this tells me is that I have to … Continue reading
A Simple Discrete-Event Simulation: Part 20
After defining things more clearly yesterday I offer this version of an arrivals component. Here’s how it’s supposed to work. The component is created using an external call. The graphic properties are initialized using a separate call to this.basicDefine. Most … Continue reading
A Simple Discrete-Event Simulation: Part 19
I needed to put some more thought into design before dashing off any more code, so here are more requirements and ideas. The drawing model will be based on performing complete scene redraws. This may happen after every event, after … Continue reading
A Simple Discrete-Event Simulation: Part 18
Last time I had hacked some graphics and basic user interactivity into the discrete-event simulation framework. Before proceeding, however, I wanted to back up and make a rational plan. Architecture details matter, so let’s make some decisions and build to … Continue reading
A Simple Discrete-Event Simulation: Part 17
Today I added an animation to the simulation. There are a lot of things that could be said about this, and I’ll go into just a few of them today. At this point I wanted to get some kind of … Continue reading
A Simple Discrete-Event Simulation: Part 16
So far I’ve been discussing ways of generating arrivals according to a specific schedule. There’s another way to do it, based on the Poisson distribution. From Wikipedia: The Poisson distribution is an appropriate model if the following assumptions are true. … Continue reading
Posted in Simulation
Tagged discrete-event sim project, JavaScript, math, Poisson distribution
Leave a comment
A Simple Discrete-Event Simulation: Part 15
Today I wanted to describe a few additional methods for generating arrivals over a given time span. Last week we divided the arrivals evenly over the span without placing any at the beginning or end. The next possibility is generating … Continue reading
A Simple Discrete-Event Simulation: Part 14
Today I modified the entry component so it creates new entities according to a supplied schedule. This can be made as complex as we’d like but let’s keep it simple for now: the input parameters are the duration of each … Continue reading
A Simple Discrete-Event Simulation: Part 13
Today I wanted to streamline the code in the activate method for the entities that apply the advance command. I started by breaking the code in the series of if statements out into separate methods, which at least makes things … Continue reading