Manual
Manual
TABLE OF CONTENTSTABLE OF CONTENTS ................................................................................... I PREFACE .................................................................................................................................................... II GUIDE TO AVAILABLE DOCUMENTATION .................................................................................................... II USING THE SIMPHONY.NET USER GUIDE ................................................................................................... II TECHNICAL SUPPORT .................................................................................................................................. II SIMPHONY.NET OVERVIEW ................................................................................................................. 3 INTRODUCTION............................................................................................................................................ 3 BASIC FEATURES ......................................................................................................................................... 3 Modular and Hierarchical Modeling ..................................................................................................... 3 General Purpose vs. Special Purpose Simulation (SPS) ........................................................................ 3 Integration of SPS tools .......................................................................................................................... 3 Custom Output Results ........................................................................................................................... 3 GETTING STARTED.................................................................................................................................. 4 INSTALLATION ............................................................................................................................................ 4 System Requirements .............................................................................................................................. 4 Installation Procedures .......................................................................................................................... 4 Simphony.NET Files and Folders ........................................................................................................... 4 THE MAIN INTERFACE ................................................................................................................................. 5 Modeling Space ...................................................................................................................................... 5 Template Area ........................................................................................................................................ 5 Ribbon Bar ............................................................................................................................................. 6 Modeling Explorer Window.................................................................................................................... 7 Property Window .................................................................................................................................... 7 Trace Window......................................................................................................................................... 8 CREATING SIMULATION PROJECTS .................................................................................................. 8 DEFINE SCENARIO ....................................................................................................................................... 8 THE BUILDING BLOCKS OF A MODEL .......................................................................................................... 9 Modeling Elements ................................................................................................................................. 9 Relationships ........................................................................................................................................ 10 STEPS FOR CREATING A SIMULATION PROJECT ......................................................................................... 11 Create a Project ................................................................................................................................... 11 Create a Layout .................................................................................................................................... 11 Define Parameter Values...................................................................................................................... 12 Check Integrity of the Model ................................................................................................................ 12 Run Simulation ..................................................................................................................................... 12 Examine Results.................................................................................................................................... 12
Preface
Guide to Available Documentation
The Simphony.NET User Guide is a document that is useful for new users who are not familiar with Simphony.NETs environment, and those interested in using Simphony.NET for building and experimenting with construction simulation models, based on the existing modeling element library. SPS template specific documentation is also available for each template you wish to use.
Technical Support
For information or inquiries please contact: Simphony.NET Development Team 3-133 Markin/CNRL Natural Resources Engineering Facility University of Alberta Edmonton, Alberta Canada, T6G 2W2 [email protected]
ii
Simphony.NET Overview
Introduction
Simphony.NET represents an evolution in computer simulation and its integration into the construction industry. It is the result of over ten years of research in the application of simulation-based planning techniques in the industry. Simphony.NET consists of a foundation library as well as specialized computer programs that allow for the development of new construction simulation tools in an efficient manner. Simphony.NETs promise is that, as a user, you do not need to posses any simulation background in order to take advantage of the benefits of simulation. When you build models, you have access to a domainspecific set of building blocks called Modeling Elements. This means that you create a simulation model using a library of modeling elements with names that you can relate to. An earth-moving model, for example, is built with modeling elements such as source locations, road segments, intersections and excavators. Similarly, a model of an aggregate production plant is built by selecting from a list of modeling elements that includes jaw crushers, screens and product piles. There is a large library of modeling elements that are available with the base distribution of Simphony.NET. If any of the existing modeling elements are not flexible enough to meet your modeling needs, or if you need new modeling elements to be developed for different construction operations, then you will need to contact a developer to extend your library. For more information regarding the individual modeling elements that are available in the library and their function, consult the appropriate Special Purpose Simulation template manual supplied by the developer.
Getting Started
Installation System Requirements
Simphony.NET requires the following, at minimum, for installation: 600 MHz Pentium processor or higher (recommended). Microsoft Windows XP, Windows Vista, or Windows 7 128 MB of RAM; 256 MB recommended. 50 MB of available disk space SVGA monitor with minimum resolution of 800 X 600.
Installation Procedures
To install Simphony.NET, run the MSI file from the distribution set and follow the instructions.
Ribbon Bar
Model Explorer
Template Area
Modeling Space
Property Grid
Trace Window
Modeling Space
The Modeling Space is the main workspace for building simulation projects. Modeling elements are placed in the window by dragging and dropping from the Template area. The Modeling Space can accommodate multiple tabs, called Scenarios. Each Scenario contains an independent simulation model, which can represent either the entire project, or several instances of the same project with different starting settings, to be used for comparison purposes. Users can assign a meaningful name to each Scenario, and the hierarchical structure of the entire model is shown in the Model Explorer. The model created in the Modeling Space can be zoomed in or out (from 1% to 200 %) using the slide bar placed on the right bottom corner.
Template Area
The template area displays a list of all elements available in the modeling element library which can be used to construct new projects. These elements are categorized by the templates to which they belong and by folders within the templates. Users can add SPS templates by clicking Add Template and typing ..\Simphony.NET 3.5\Templates\ *.dll.
Ribbon Bar
The ribbon bar contains five menus, File, Edit, View, Run and Help
File menu:
New (Ctrl+N): Open (Ctrl+O): Save (Ctrl+S): Save As (F12): Add Template: Remove Template: Add Scenario: Remove Scenario: Print Preview Print
Create a new simulation project Open an existing simulation project Save the simulation project. Save under different file name. Display Open Template Dialog Box and load the selected template into Template Area. Remove the selected template from Template Area. Insert new scenario into simulation project. A new tap is added into Modeling Area and Model Explorer. Remove the selected scenario tap from Modeling area and Model explorer Display a print preview of Modeling Area Print the contents of the Modeling Area.
Edit menu:
Undo (Ctrl+Y): Redo (Ctrl+O): Cut (Ctrl+X): Copy (Ctrl+C): Paste (Ctrl+V): Delete (Del): Select (Ctrl+A)
Undo the last action Redo the undone action Cut the selected element. Copy the selected element. Display Open Template dialog box and load the selected template into Template Area. Delete the selected element. Select all elements displayed in Modeling Area
View menu:
Show/hide Template window. Show/hide Model Explorer window Show/hide Property window.
Show/hide Trace window. Restore default layout of the Simphony.NET interface by showing and positioning Template, Model Explorer, Property and Trace window Zoom in/out the views displayed Modeling Space by setting magnification factor Restore the zoomed view to the initial size Fit the selected figure in Modeling Space by arbitrary zoom in/out
Run menu:
Run integrity check routines associated with the modeling elements. Run/resume the simulation. Pause the running simulation. Halt the running simulation.
Help menu:
About:
Property Window
The Property Grid displays the property of each scenario or modeling elements. Users can specify the name and input parameters of scenarios or modeling elements. Some of the input parameters can be defined with user defined code written in Visual Basic or C#. The associated output for each scenario or modeling element is also displayed as well as the relevant statistics. The detailed property information of each element can be found in the associated template manual.
Trace Window
The Trace window consists of two tabs. The Trace tab displays trace messages defined in the Trace modeling element or in user code during a simulation. The messages can be copied or printed. The Error List tab shows feedback regarding any errors that occur during the modeling process.
Define Scenario
Simphony.NET provides an environment in which multiple scenarios are built within a certain project simulation in order to compare different simulation options or break down the project into smaller simulations. When multiple scenarios are generated, Simphony.NET will execute each scenario one at a time, sequentially, until all scenarios are simulated. The execution of a given scenario is not completed until all runs within it have been made. Scenarios can be added by clicking the Add Scenario button in the Ribbon Bar. Some SPS templates provide specific scenario types. For example, Earthmoving SPS modeling elements need to be built on the earthmoving scenario. Grid Grid: Scale Factor: ShowGrid: ShowRulers: SnapToGrid Grid size to be displayed Dictate rulers scale and default size of the modeling elements Show/hide Grid on the Modeling Space. Show/hide rulers on the Modeling Space. If set to True, the location of modeling element will snap to grid
Inputs (Miscellaneous category Misc) Name: The scenario name. Enabled: Control for whether that particular scenario should be simulated. Max Time: The time allowed for the scenario to be simulated. Run Count: The total number of runs to be simulated in that scenario Seed: Enables the replication of random numbers if set to any value other than zero. Reports Cost: Document of compiled costs from simulation the scenario. Visible only when data has been collected using the Cost element within the scenario. Document of compiled emission values. Useful when the Emissions Resource is used in the scenario. Compile intrinsic (time dependent) & non-intrinsic (time independent) statistics for the scenario. Used together with resource element, file
Emissions: Statistics
Layout Layout field displays the location and size of the element. Outputs Some modeling elements display outputs in the Property Grid after simulation is completed. They contain information such as the number of entities passing through the elements or waiting to be passed through, and the total simulation time. Statistics The Counter, Task, Resource, File and Statistic elements have the Statistics property category, which collects various statistics for the associated function of the element. For example, the Counter element shows statistics for inter-arrival time and productivity while the Resource element displays statistics of utilization. The basic statistics collected in Simphony.NET are the minimum, maximum, mean, standard deviation, variance, sum, skewness, and kurtosis. The statistics are collected during
each simulation run, and can be displayed for each run or across all runs. For the collected observation, four types of graphs (histogram, cumulative distribution function, time chart, and cumulative time chart) can be viewed by clicking the ellipsis () in the Statistics Name field. Once the graph dialog box is displayed, the graph view can be switched by clicking the relevant tab at the top.
The histogram categorizes the collected observations into equal intervals and shows the percentage of occurrence for each interval. The cumulative density function (CDF) graph shows the probability of occurrence for different values of the statistic in a cumulative form. A histogram and CDF can be displayed for one run or for all runs (i.e., aggregate data over all of the runs). To select which to display, choose the run number from the combo box at the top left corner of the graph, or choose All runs to display the graph for the total number of runs. The time chart shows the value of the observed statistics along the progress of simulation time. The cumulative time chart display the aggregated value of the observed statistics as the simulation time progresses. The time chart and cumulative time chart can only be generated for each run individually. Connection points Every modeling element may have a number of connection points through which it can be connected to other elements. Connection points are classified into two types: Input and Output. Connections between elements flow from output connection points to input connection points. By default, the input connection point is positioned at the left side of an element while the output connection point is located at the right side of the element. However, the user can change these locations by left-clicking on the element and selecting Adjust Ports; the user can then drag the connection point around the elements bounding rectangle with the right mouse button.
Relationships
By default, a relationship between two modeling elements is represented in Simphony.NET by a series of arrow segments with a few pivot points if required. To establish a relationship between two elements, click on the output connection point of
10
the first element and drag close enough to the input connection point of the second element, then drop when the relation is generated. To specify a multi-segment relation or edit the shape of a relation, right-click on a segment or a pivot point, and select a command from the pop-up menu. You can add/delete segments or pivot points at any time.
Scenario Properties
After creating the project, the properties of the scenario need to be defined. They can be viewed in the Property Grid Window by clicking on a clear area of the Modeling Space. The simulation of a certain scenario can be terminated by defining the maximum simulation time (MaxTime). A scenario can also be run a particular number of times by specifying a run count. If the Seed number is set to any value other than zero, the same simulation result from the scenario will be generated for each run.
Create a Layout
The next step is to create the initial layout of the simulation project. This is done by selecting appropriate modeling elements in the Template Area and adding them to the Modeling Space, then defining necessary relationships between these elements.
11
Dragging Elements
To change the graphical position of a given element, click and drag its graphical representation. Hold down the Shift key while dragging to generate another instance of the element.
Relationships
After creating the required elements in the model, they must be linked together with the appropriate relationships. Relationships between elements can be added by clicking the output connection point of the source element, then dragging a connector to the input connection point of the destination element. The relationship can be manipulated at any time by clicking the right mouse button on the required part of the connector (segment or pivot point) and selecting a command from the pop-up menu.
Run Simulation
Start the simulation process by pressing F5, or clicking the Run button in the Ribbon Bar Run category.
Examine Results
Examine the simulation results including element outputs and statistics. If results are not acceptable, change the model layout and/or element parameter values, and run the simulation again until you are satisfied with the results. Element outputs and statistics are shown in the associated Property Grid.
12