Monthly Archives: October 2016

A Simple Discrete-Event Simulation: Part 24

While making the changes I described yesterday I ran into a problem where a long chain of (what I expected to be) references didn’t return the results I was expecting. Somewhere in the chain of references something appears to be … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 23

Deciding to treat the entities moving through the system as being entirely passive ended up requiring a fairly serious change to the design of the discrete-event processing mechanism. This was actually somewhat fortuitous because it pointed out a design feature … Continue reading

Posted in Simulation | Tagged | Leave a comment

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

Posted in Simulation | Tagged , | Leave a comment

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

Posted in Simulation | Tagged | Leave a comment

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

Posted in Simulation | Tagged , | Leave a comment

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

Posted in Simulation | Tagged | Leave a comment

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

Posted in Simulation | Tagged | Leave a comment