Input & Output

Last updated on 19th April 2024

Ingesting data

Inputting data into a simulation can be done by using the built-in CSV and JSON source functionality, or by a custom data ingestion method, as long as that method can be written in valid Java.

CSV and JSON source are the recommended ways in which to populate agent data.

More information can be found in Data Management.

Outputting data

The Simudyne SDK comes with built-in data outputting functionality that outputs simulated data as structured and labelled tick data.

Supported formats include:

  1. CSV
  2. JSON
  3. Parquet
  4. MySQL
  5. Hive
  6. H2

There are two ways to output data from a model:

  1. Export simulation data
  2. Export data via custom I/O channels

Exporting simulation data can be customized depending on which components of the system are serialized and can also be triggered at a particular time or interval in your simulation. More information on exporting data can be found in Outputting Data.

Custom I/O channels can follow any defined schema and can output data at each step or at defined intervals. More information can be found in Output Channels.