Category Archives: Simulation

A Simple Discrete-Event Simulation: Part 54

Today I updated the mechanism by which the components pull entities from previous components when there are multiple options. This involves pulling the entity that has been waiting the longest. Each entity is timestamped using a new member named forwardAttemptTime, … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 53

The framework is meant to work without including Path components, which would be the case when transfer between components is effectively instantaneous, as would be the case when simulating an information or logical system rather than a physical system of … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 52

Today I reworked the future events mechanism to streamline it in a big way. I knew it needed this and the essential insight about how to do it occurred to me in the shower about ten days ago. I decided … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 51

Today I tried a configuration that included instances of consecutively linked Path components, one exclusive and one non-exclusive. They both worked the way I intended them to once I cleaned up a couple of typos. Here’s the new code that … Continue reading

Posted in Simulation | Tagged | Leave a comment

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