Creating a New Model

 To create a new model
  1. Click the New Model   toolbar button, or
    Choose File > New Model from the main menu, or
    Press Ctrl+N (Mac OS: Cmd+N).

  2. The New Model dialog box is displayed.

  3. Specify the name of the model in the Model name edit box.

  4. Specify the location of the model file. Browse for the existing folder using the Browse button, or type the name of the folder you want to create in the Location edit box.
    In AnyLogic preferences, you can select a folder to be used as a default saving location.

  5. Сhoose Model time units for this model. You can change the units later in the model properties if you need. Also, wherever you need to specify time in the model elements, you will find there controls for choosing different time units. But the units that you select here will be suggested by default in those controls.

  6. Optionally, modify the name of Java package that will be created.

  7. Click Finish when finished.

Properties

General

Name – The name of the model. The model name should be unique within the current workspace (i.e. you cannot have two models with the same name opened at the same time).

Model time units – Here you can choose model time units for your model from the drop-down list.

Dependencies
This property page helps you to manage dependencies of the model. Here you should specify all AnyLogic libraries and external Jar files and class folders referenced by the model and thus required to build this model successfully.

AnyLogic libraries required to build the model – If you are using objects of some AnyLogic library in your model, this library must be listed in the model dependencies list. This list defines libraries needed by this model to compile successfully. 
Adding libraries to model dependencies list is described here.

Jar files and class folders required to build the model – Here you should specify Java archive files and class folders containing Java classes referenced by this model. 
Adding external Jar files and class folders to model dependencies list is described here.

Numerical methods

Differential equations – Method used to solve ordinary differential equations. 

Algebraic equations – Method used to solve algebraic equations. 

Mixed equations – Method used to solve algebraic-differential equations. 

Absolute accuracy – The desired absolute value accuracy for solving equations. Absolute accuracy is used when it is impossible to use relative accuracy – e.g., when the value is close to zero.

Time accuracy – The desired relative value accuracy for solving equations with methods that change the integration step (e.g. Newton). Used by default.

Relative accuracy – The desired relative value accuracy for solving equations with methods that change the integration step (e.g. Newton). Used by default.

Fixed time step – Fixed time step for methods using the fixed integration step (e.g. RK4).

Advanced

Package – The name of Java package, where all Java classes generated by AnyLogic for this model are added.

File – [Read only] The full path to the model file. If you want to change the location of your model, use Save As... command.

Each model contains agent type named Main and one simulation experiment named Simulation by default.

Agents are the main building blocks of AnyLogic model. Agents can be used to model very diverse objects of the real world: processing stations, resources, people, physical objects, controllers, trucks, etc.


Related topics

 Models

 Opening a model

 Saving models

 Closing a model