Monthly Archives: October 2016

A Simple Discrete-Event Simulation: Part 33

My main motivation for trying to break the current functionality into M, V, and C layers isn’t about purity of design pattern so much as getting a lot of unnecessary overhead out of the simulation components themselves. They shouldn’t contain … Continue reading

Posted in Simulation | Tagged | Leave a comment

Future Trends and Efforts in Education

I’m tabling the discrete-event simulation framework effort for today to provide a list of materials concerning the ongoing changes in the field of education. I compiled this list in order to share it with a few individuals over the past … Continue reading

Posted in Economy and Society | Tagged , , , , | Leave a comment

A Simple Discrete-Event Simulation: Part 32

Before adding further complexity to the existing system (read: before adding the capabilities which will make it usable!) I wanted to back up and consider the internal architecture of what I’m building. The goal is something that conforms to the … Continue reading

Posted in Simulation | Tagged , , | Leave a comment

A Simple Discrete-Event Simulation: Part 31

Today I made a few basic changes. Instead of placing all elements (components and entities) that contain discrete-event simulation features into the setOfEntities array I created a setOfComponents array and placed the components in there, instead. This allows me to … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 30

The Exit component is always available to accept any entities sent to it. It doesn’t have to store any entities but only has to keep track of when they “arrive,” which means they are leaving the model. The Exit component … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 29

Today I added a Process component. This component is meant to represent a process that takes some amount of time to complete. The time could be zero and there can be other side effects, which usually involve changing properties of … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 28

Today I added a queue component, so the entities are generated by the Arrivals component, inserted at the Entry component, and forwarded to the Queue component. At this point the processes are all instantaneous, but they will get more interesting … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 27

Today I made a few tweaks, but the main thing was adding an Entry component and a means of moving entities through the model. Remembering that the entities are entirely passive, the components must be able to hand entities off … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 26

Having sorted out the internal reference issues in JavaScript I could go ahead and post the next update to the model framework. In this iteration the entities are completely passive, which means that the newly created entities are generated using … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 25

The solution is that there is no solution. The simplest thing to do is to ensure that the values are updated by hand whenever they need to be drawn. I’ve included a method called assignDisplayValues to the arrivals component. It … Continue reading

Posted in Simulation | Tagged , | Leave a comment