Monthly Archives: November 2016

A Simple Discrete-Event Simulation: Part 50

Today I got the new permission logic working. It uses a simpler and more consistent mechanism for determining whether new entities can go into exclusive components and the Path components that feed them. When an entity is ready to be … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 49

Today I was trying to sort out some of the issues I had outstanding for yesterday and came across the idea of setting the open status of collections of components (Path components and the non-Path component at which they terminate) … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 48

I got an awful lot done over the weekend and today toward making the various behaviors for each type of component as similar as possible. This really helped me replicate the different controls and interlocks I had come up with … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 47

Today I spent quite a lot of time really trying to nail down every facet of the logic to be used to route entities between components. I drew diagrams in Visio and I went through several modifications of a logic … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 46

Today I got the properties and methods all named consistently and in the same order for every component type, and also included all of the necessary getters and setters (they are good practice to have–though perhaps less so for client-side … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 45

Today I spent quite a lot of time updating the components so they could handle connections to multiple incoming and outgoing paths where appropriate. I was making some headway when I realized I needed to back up and review what … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 44

Tackling the first item on yesterday’s to do list requires thinking about what we want to implement in an organized way. I found that writing out the requirements helped clarify things. Here’s what we need component by component: Arrivals component … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 43

Today I went through and cleaned up each of the component definitions in the process of implementing the ability to rerun the simulation without having to refresh the browser page. Beyond just neatening up the code for each component I … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 42

Today I replumbed the layout of components to include a single entry, a single queue, and two processes that each feed the single exit. This required the following modifications: The Queue component had to support multiple outgoing paths. The Queue … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 41

Today I took a step back to slightly simpler version of the simulation that uses the original version of the Path components (the ones that have the nodes built into them and act like standalone components). I took two steps … Continue reading

Posted in Simulation | Tagged , | Leave a comment