-
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
April 2024 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
Tag Archives: discrete-event sim project
A Simple Discrete-Event Simulation: Part 82
Today I added the ability to use the mouse to drag the 2D display around within its canvas. I had to update the various pan functions to allow specification of an arbitrary distance increment, though there are a number of … Continue reading
Posted in Software
Tagged discrete-event sim project, JavaScript, keypress events, mouse events, panning and zooming
Leave a comment
A Simple Discrete-Event Simulation: Part 81
This week and possibly much of next I’m concentrating on updating the fixed content of my website, which means I’m only going to be doing small increments on this project. I’ve decided that the next item to work on is … Continue reading
A Simple Discrete-Event Simulation: Part 80
I was working on other things today so the only thing I added to this project was the grid. It’s at a y-elevation of zero. More interestingly, it’s generation is automated, with the relevant code being shown below. Because floating-point … Continue reading
A Simple Discrete-Event Simulation: Part 79
The direct link to the latest version is here. Open this in a new window and try resizing it. While preparing to give a presentation at the CharmCityJS Meetup this Wednesday I spent quite a bit of time investigating the … Continue reading
A Simple Discrete-Event Simulation: Part 78
Today I did a bunch of work behind the scenes, starting with automatically determining the exclusivity of components based on their defined capacities, where appropriate. Queue, Process, Bag, and Combined components are exclusive if their governing capacities are finite and … Continue reading
A Simple Discrete-Event Simulation: Part 77
Today I created a combined Queue-Process component I called a Combined component. You can see it in today’s version of the model as component 50, labeled C21, having replaced queue 21 and process 21. I suspect that this will become … Continue reading
A Simple Discrete-Event Simulation: Part 76
Today I added a series of Queue and Process components into the pathway traversed by the sub-entities leaving and returning to the Bag component. I found one change I had to make, which was adding the ability of the ReturnFromSubJourney … Continue reading
A Simple Discrete-Event Simulation: Part 75
Today I expanded the capability of the Bag component to allow entities to reside there, spawn new sub-entities that undergo an external process of their own, and return to the “parked” entity. Delay times can be specified that control how … Continue reading
A Simple Discrete-Event Simulation: Part 74
Following yesterday’s work I had three tasks to complete. The first task was to fix the reporting for cases where a Process or Bag component is not the last item in a component group. The fix was to only run … Continue reading
A Simple Discrete-Event Simulation: Part 73
Today I added the Bag component (number 36 in the frame above), which you can think of as a parking lot. It works largely the same way as a ProcessComponent but it doesn’t store its entities in a FIFO queue … Continue reading