User Tools

Site Tools


01_user_documentation:05_object:04_data:01_dataset

Dataset

GroIMP supports the creation and visualization of datasets, which are simple tables used to store and track numerical data during simulations. Each dataset consists of rows called data series, and values are added to individual cells using code.

Datasets are accessible in both the GUI (via the Datasets Explorer) and in RGG code using the DatasetRef class.

Titles for columns can be set, and data can be plotted.

Datasets are persistent across simulation runs unless explicitly cleared.

Export

Using the explorer datasets can be exported to:

  • txt
  • csv
  • html
  • xls
  • pdf

Using rgg code datasets can be exported to csv with the export function.

For code examples see the datasets tutorial.

Cleaning

Since datasets are persistent across simulation runs old data is kept inside. A dataset can be clean using the datasetRef function ''clear()'' or by simply deleting the object form the dataset explorer.

Adding data

The only way to add values to a dataset is through RGG code executed either in the model or in the xl console, using the datasetRef functions.

adding multipe values for one cell

In order to use the XY Plot or the Scatter plot more than one value per cell is needed. Therefore the datasetRef has additional functions for that and in the table view this is displayed with white spaces.

01_user_documentation/05_object/04_data/01_dataset.txt · Last modified: 2025/09/05 17:20 by gaetan