Handling data

This page gives advice on issues concerned with getting data into a Simile model.

How to load time-series data into a variable parameter inside a multiple-instance submodel

Loading time-series data into a simple variable parameter is described in the Simile Help file.  

Sometimes, however, you may want to load a time-series for a variable parameter which is inside a multiple-instance submodel (fixed number of instances).  You want each instance to have a different time-series.

A variable parameter inside a multiple-instance submodel will want a 2-D array of values, with the outer dimension being time. You can load a 2D array directly from a .csv file using 'Data in grid', but the row numbers are the outer indices, which is the other way round from what you say you want. So: open the data file with a spreadsheet, and transpose it, save the result, then load it using the 'Data in grid' option..

Page type: 
Tags: