Last modified on 2 August 2009, at 15:57

Simulation with AnyLogic/Discrete Event Simulation/Ophthalmology Department Model/Step 1. Creating a new model

Step 1. Creating a New ModelEdit

First, we will create a new model.

Step 1. Creating a new model1.gif Create a new model

  1. Click the New New model.gif toolbar button. The New Model dialog box is displayed.
  2. Specify the name of the model. In the Model name edit box, type Ophthalmology Department.
    Step 1. Creating a new model 1.png
  3. Specify the location where you want to store your model file. Browse for the existing folder using the Browse buton, or type the name of the folder you want to create in the Location edit box.
  4. Click Next. This will open the next page of the New Model wizard. Here you can choose, whether you want to start creating a new model from scratch, or to use a model template as a starting point in model development. Since we want to explain you the whole process of creating a model in details, we will not use a template, but will create our model from scratch.
  5. Click Finish to complete the process.

New model is created. It already has one active object class called Main and experiment called Simulation. Active objects are the main building blocks of AnyLogic model. They can be used to model very diverse objects of the real world.

In the center of the workspace you will see the graphical editor. It shows the diagram of the Main class. By default it does not contain any elements.

Step 1. Creating a new model 2.png

To the left of the graphical editor you can see the Project view. The Project view provides access to AnyLogic models currently opened in the workspace. The workspace tree provides easy navigation throughout the models.

On the right side of the workspace you can see the Palette view, and at the bottom - the Properties view. The Palette view simplifies the process of drawing diagrams, providing the list of model elements grouped by categories in a number of stencils. The Properties view is used to view and modify the properties of a currently selected model item(s). When you select something – e.g., in the Project view or in a graphical editor – the Properties view displays the properties of the selection.

When working with a model, do not forget to save it by clicking Save Save edit.gif.