The developer panel provides access to the additional model controls, simulation data, console with experiment's output, and events queue. Use it to navigate through the running model, set its end time or date, analyze the data written into the console, and check the events queue of AnyLogic simulation engine.
can enable / disable the developer panel and specify whether it should
be immediately displayed in the model window when you run the
experiment. These settings are available either in the
section of the experiment properties or can be specified at the model
runtime programmatically. The functions you can use are described in
the Developer panel
Developer panel contains the following sections:
7. Status bar
Note: If the console of the developer panel contains new output, the Developer panel control will be highlighted in blue: .
model status - Indicates the current status of the model:
- The model is not launched.
- The model is running.
- The model is paused.
- Error caused model failure.
- A model is being initialized or a non-interruptible command is being executed, e.g. pause(), step() or stop().
- The specified model run time has finished or there are no more events to execute, therefore the model stopped running.
model time - Displays the current model time (as the number of the model time units elapsed).
model date - Displays the current model date.
show/hide snapshot options - Provides access to additional controls for saving/restoring the model state:
restore saved snapshot - Loads the earlier saved model snapshot from file.
save snapshot - Saves the current model state to file. Later on you can load the saved model snapshot and resume the model execution from that moment on.
run - [Visible if the model is not running] Runs the simulation. Starts the execution, or if the simulation was paused, resumes the simulation from the current state.
step - [Visible if the model is not running] Makes the step. The model is run until the first change in the window and then pauses.
pause - [Visible only if the model is running] Pauses model execution when clicked.
stop - Terminates the current model execution.
show/hide run options - Provides access to the additional model running parameters.
run until - [Visible if the model is not running] Sets the date or time point at which model simulation will be paused.
pause at - [Visible only if the model is running] Sets the moment of time at which the model execution will be paused.
toggle date/time units - Defines if the model will be running untill a certain date or for a certain time.
run for - [Visible if the model is not running] Sets the duration of model simulation. When the time elapses, the model will be paused. If you click it again, the model will proceed running for the specified period of time from the moment it was paused. The period of time the model should run may differ for every new launch.
e.g. If you set the run for option to 2 days, the model will pause when 48 hours of model time elapse. You may then set the model to run for 2 hours (meaning 2 additional hours). The model will now pause when 50 hours of model time elapse (the total of 2 days 2 hours).
Defines agent or experiment, whose presentation should be displayed in the window.
up one level -Navigates to the presentation of the parent (owner) of the currently displayed agent (for the top-level agent it is the experiment (start page)). This button is disabled if the title page is currently shown.
to experiment (start page) - Opens the title page of the launched model. This button is disabled if the model window is currently displaying the title page.
to top level (root) agent - Opens the presentation of the top-level agent of the launched model. This button is disabled if the model window is currently displaying the top-level agent.
select agent to dive in - Provides the list of model agents you can navigate to. The list contains the agents living in the currently selected agent. To navigate further down the model hierarchy, use the similar list shown on the right to this one.
go back - Takes you one step back to the presentation you were observing previously.
to (0,0), zoom 1, same page [origin] -Restores default presentation scale and origin.
zoom out -Zooms out the presentation.
current zoom -Displays the current scale of the presentation. You can change the current zoom using Zoom in and Zoom out buttons along the edges of this control.zoom in -Zooms in the presentation.
select view area to navigate - Opens the list of view areas. The user can select a view area from the drop-down list and the contents of the selected view area will be shown in the model window.
The Console section of the developer panel shows the output of the execution of your model. The common way to write output to the console is to use AnyLogic functions traceln() and trace().
The console toolbar is used to manage the console content:
clear console - Clears the console. It deletes all the text currently displayed in the console.
stay at the latest item - [Enabled if the content does not fit into the console area] Jumps to the latest line of the output and stays there. Scroll up the output to disable auto scrolling.
toggle line wrap - [Enabled by default] Wraps long text lines into multiple lines, fitting them into the current size of the console. Click to disable text wrapping.
For more information on working with
panel, please, refer
The status bar displays the low-level information about the model execution:
EPS - Events per second.
FPS - Frames per second.
Step - The number of the current model step, i.e. the number of discrete events executed.
Running - Real time of simulation. It does not include the time during which the model was paused.
Memory - Percent of total JVM memory currently used by the model.
Model window. Control panel