{"data":{"markdownRemark":{"html":"<h2 id=\"ingesting-data\"><a href=\"#ingesting-data\" aria-hidden=\"true\" class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Ingesting data</h2>\n<p>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.</p>\n<p>CSV and JSON source are the recommended ways in which to populate agent data.</p>\n<p>More information can be found in <a href=\":version/reference/data_management\">Data Management</a>.</p>\n<h2 id=\"outputting-data\"><a href=\"#outputting-data\" aria-hidden=\"true\" class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Outputting data</h2>\n<p>The Simudyne SDK comes with built-in data outputting functionality that outputs simulated data as structured and labelled tick data.</p>\n<p>Supported formats include:</p>\n<ol>\n<li><a href=\":version/reference/data_export/csv\">CSV</a></li>\n<li><a href=\":version/reference/data_export/json\">JSON</a></li>\n<li><a href=\":version/reference/data_export/parquet\">Parquet</a></li>\n<li><a href=\":version/reference/data_export/sql\">MySQL</a></li>\n<li><a href=\":version/reference/data_export/hive\">Hive</a></li>\n<li><a href=\":version/reference/data_export/h2\">H2</a></li>\n</ol>\n<p>There are two ways to output data from a model:</p>\n<ol>\n<li>Export simulation data</li>\n<li>Export data via custom I/O channels</li>\n</ol>\n<p>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 <a href=\":version/reference/data_management/outputting_data\">Outputting Data</a>.</p>\n<p>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 <a href=\":version/reference/data_management/channels\">Output Channels</a>.</p>","headings":[{"value":"Ingesting data","depth":2},{"value":"Outputting data","depth":2}],"frontmatter":{"title":"Input & Output","toc":true,"experimental":null}},"site":{"siteMetadata":{"title":"Simudyne Docs","latestVersion":"2.6"}}},"pageContext":{"absolutePath":"/home/vsts/work/1/s/content/2.6/docs/features/input-output.md","versioned":false,"version":"2.6","kind":"docs","pagePath":"/features/input-output","chronology":{"prev":{"name":"Graph Computation","path":"/features/graph-computation"},"next":{"name":"Interactive Console","path":"/features/console"}},"lastUpdated":"2026-04-21T13:56:54.865Z"}}