toolbar button, or
Choose File > New Model from the main menu, or
Press Ctrl N (Mac OS: Cmd N).
The New Model dialog box is displayed.
Specify the name of the model in the Model name edit box.
Specify the location of the model file. Browse for the existing folder using the
button, or type the name of the folder you want to create in the
In AnyLogic preferences, you can select a folder to be used as a default saving location.
С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.
Optionally, modify the name of Java package that will be created.
Click Finish when finished.
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.
AnyLogic libraries/models 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 AnyLogic libraries and models needed by this model to compile
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.
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).
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.
Opening a model
Closing a model