All posts by J.J. Padilla

Conceptual Modeling in CLOUDES

The Conceptual Design Module (CDM) has been available for some time in CLOUDES. This entry briefly explains what it does and how it works.

Generally speaking, a conceptual model (CM) captures a modeler’s understanding of a system. As such, it is a simplification of the real system that facilitates its implementation into a simulation model (SM). To many, conceptual modeling is a crucial, but not an often practiced, step in creating simulations. In the context of discrete-event simulation, a conceptual model can capture events and/or the steps observed in progressing through the system.

CLOUDES’ CDM builds upon a simplified form of an activity diagram that modelers can use to identify the main steps that each entity goes through within the system of interest without having to concern themselves with how to specifically implement each step.

This is how it works:

  • Click on the “Conceptual Design” Tab. Click on “Show” if the conceptual design area is not currently visible (the conceptual design area contains a darker color than the main design area and is located at the bottom half of the screen). The CLOUDES design area will then split into two pieces: the simulation design area is white while the conceptual design area is gray.
  • Drag, drop, and connect “Step” blocks in the conceptual design area. Drag as many blocks into the conceptual design area until you feel that you have captured all of the main steps within the system of interest.
  • Make sure that the Step sequence represents your conceptualization of the system. At this point, the modeler considers how each of these blocks convert into a simulation model.
  • Define what each block represents: Arrival, Process, Exit, Decision, Batch, Separate, and Exit.
  • Click on the “Convert” button to transform the conceptual model into an initial simulation model.
  • Modify the simulation model as needed by adding/eliminating blocks and initializing the simulation with desired values.
  • Note: currently, when the simulation model is updated, the conceptual model does not update to reflect any of these changes.

Example:

If simulating a fast food restaurant, a modeler may identify (1) that a customer arrives, (2) a customer requests a meal, (3) a customer receives a meal, and (4) a customer leaves the restaurant as the primary steps that a customer takes while in the restaurant. Let’s assume that steps (2) and (3) take place in one step. As such, the observed system condenses into three steps: (1) customers arrivals, (2) customers request/receive meal, and (3) customers leave the restaurant. Using the conceptual design module, one potential conceptualization process looks like:

Screenshot 2016-05-09 15.49.02--

If the modeler is satisfied with the conceptual model, then we proceed with the specification of the type of simulation nodes that each Step node in the CM represents to facilitate its conversion into a SM.

Click on each of the steps and define the type (see figure). You can assign one of the following properties as the “Type” for the Step node: Arrival, Process, Exit, Decision, Batch, Separate, and Exit.

Screenshot 2016-05-09 16.08.52

In our example, we designate the first step as Arrival, the second as Process, and the third as Exit. After doing so, click Convert. CLOUDES will ask you if you want to continue with the Conversion. Click “Continue.” The conceptual model now has an equivalent simulation model (SM). At this point, the modeler proceeds to populate the properties of the SM. After doing so, the SM can be executed.

Screenshot 2016-05-09 16.13.21

As you can see, the conceptual model is simpler than the simulation model. If designing a large simulation, the conceptual model will help in capturing and simplifying the system of interest. Notice that the conversion of the CM’s Arrival node generated both the Arrival and Entity blocks while the converting of the Process node generated the Process, Queue, and Resource blocks.

Lastly, always use the Detailed Description when building the conceptual model. The Detailed Description would allow you to explicitly capture the information and/or assumptions that go into the model as well as other important details.

Screenshot 2016-05-09 16.40.47

New Tool: Simulation Collaboration

The CLOUDES Collaboration feature allows work in groups by letting users access the same simulation asynchronously. As such,  when the simulation is open, the rest of the team cannot access it. When closing the simulation, it takes a few seconds for another user to be able to access it.

This is how it works:

  • Click on the ellipsis button (three dots on menu button) within a simulation and select Collaboration as such:

Screenshot 2016-05-09 08.24.07

  • Enter the email of the collaborator (CLOUDES registered email) and click Add. Add as many collaborators as you need.
  • Give it a few seconds and the email will appear in the window. Close the window.
  • The collaborator will receive a notification via email. The simulation will appear for both users in the new Collaboration section as such:

Screenshot 2016-05-04 11.28.36

  • In this example, each user shared a simulation for collaboration.
  • It may take a few seconds for the simulation to appear in the Collaboration section.
  • The person that initiates the collaboration can terminate it by deleting emails in the Collaboration window. An invitee can also leave the collaboration by deleting its email from the Collaboration window.

You can use this feature with communication tools like Skype or Google Hangouts for synchronous coordination of activities. We suggest modelers to take advantage of CLOUDES’ documenting features to make assumptions and assertions explicit in order to further facilitate collaboration.

 

 

Toggl Button Chrome Extension for CLOUDES

Good news for CLOUDES’ modelers that need time management or just compete against the clock! Hamdi Kavak developed a Chrome Extension that integrates the popular Toggl button with CLOUDES.

Toggl (https://toggl.com/) is the leading software as a service time management/tracking tool.  Modelers need to open a Toggl account.

The extension can be found here: https://chrome.google.com/webstore/detail/toggl-button-timer-with-p/oejgccbfbmkkpaidnkphaiaecficdnfn?hl=en

After installing the extension, the Toggl button (Start timer link) can be found at the top left of the design area, below the name of the simulation, as shown below.

Screenshot 2016-03-24 08.48.02

The button would allow you to know how much time you spend working on a simulation. If you wander onto other simulations, the timer will keep running. You need to stop the timer when you finish your work. You can then go to your Toggl account and see how much time you spent on your simulation as shown below. There you can explore the functionalities provided by Toggl when it comes to time management.

Screenshot 2016-03-24 09.06.14

For more information about the Toggl button Chrome extension, including other Toggl compatible online tools, go to https://support.toggl.com/toggl-button-chrome-extension/

 

German and Portuguese Language Options

  • In addition to English, Turkish and Spanish, we added German and Portuguese language options for the Design and Load pages.
  • Language options are now accessible directly from the Load page.
  • Thanks to  Umut Durak, from the German Aerospace Center (DLR), Institute of Flight Systems and Roberto Carlos Cabrales, from the University of Bio Bio (Chile), Departamento de Ciencias Basicas, for their translations of the system.

Firewall Issues

CLOUDES relies on a protocol called WebSocket  to provide a better simulation running experience. Our implementation of the protocol requires port 8887 to be allowed. If this port is not allowed, you may not be able to run your simulations behind your organization’s firewall. To address this, you need to contact your organization’s network administrator to allow port 8887.