Plots & monitors
You need to see what is happening in a model. Metrics, plots and monitors show it.
Metrics
A metric is a named expression for the whole model, worked out each tick. Metrics live in model.metrics. Plots and monitors show them.
sheep_count: count(agents_of_type('sheep'))
grass_total: sum(all_patches().map(p => p.grass))
Plots
A plot draws one or more metrics over time. Each line is a pen, and you choose its colour. Plots are in the Observation panel on the Interface tab.
Monitors
A monitor shows the current value of one metric in big numbers. Use one for a single number, such as the population or the total energy.
Exporting
Open the library and click the ⬇ icon on the model's row. You get the whole model as a JSON file. Exporting a run's metrics as CSV is planned.