-
Notifications
You must be signed in to change notification settings - Fork 99
DefiningGUIExperiment
mazarsju edited this page Feb 3, 2016
·
14 revisions
When you execute your simulation, you will often need to display some information. For each simulation, you can define some inputs and outputs:
- The inputs will be composed of parameters manipulated by the user for each simulation.
- The outputs will be composed of displays, monitors or output files. They will be define inside the scope
output
.
experiment exp_name type: gui {
[input]
output {
[display statements]
[monitor statements]
[file statements]
}
}
You can define two types of experiment (through the facet type
):
-
gui
experiments (the default type) are used to play an experiment, and interpret its outputs. -
batch
experiments are used to play an experiment several times (usually with other input values), used for model exploration. We will come back to this notion a bit further in the tutorial.
Inside experiment scope, you can access to some built-ins which can be useful, such as minimum_cycle_duration
, to force the duration of one cycle.
experiment my_experiment type: gui {
float minimum_cycle_duration <- 2.0#minute;
}
Other built-ins are available, to learn more about, go to the page experiment built-in.
In this part, we will focus on the gui experiments. We will start with learning how to define input parameters, then we will study the outputs, such as displays, monitors and inspectors, and export files. We will finish this part with how to define user commands. //: # (endConcept|gui_experiment)
- Installation and Launching
- Workspace, Projects and Models
- Editing Models
- Running Experiments
- Running Headless
- Preferences
- Troubleshooting
- Introduction
- Manipulate basic Species
- Global Species
- Defining Advanced Species
- Defining GUI Experiment
- Exploring Models
- Optimizing Model Section
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Diffusion
- Using Database
- Using FIPA ACL
- Using BDI with BEN
- Using Driving Skill
- Manipulate dates
- Manipulate lights
- Using comodel
- Save and restore Simulations
- Using network
- Headless mode
- Using Headless
- Writing Unit Tests
- Ensure model's reproducibility
- Going further with extensions
- Built-in Species
- Built-in Skills
- Built-in Architecture
- Statements
- Data Type
- File Type
- Expressions
- Exhaustive list of GAMA Keywords
- Installing the GIT version
- Developing Extensions
- Introduction to GAMA Java API
- Using GAMA flags
- Creating a release of GAMA
- Documentation generation