SED-ML / sed-ml

Simulation Experiment Description Markup Language (SED-ML)
http://sed-ml.org
5 stars 2 forks source link

Add description of DataRange #121

Closed luciansmith closed 3 years ago

matthiaskoenig commented 3 years ago

L1V4 will add a new range DataRange which allows to use a datagenerator as range. This will allow to use for instance DataDescriptions to set changes in models.

In addition an example in the spec and implementation is required.

luciansmith commented 3 years ago

Done! It's pretty bare-bones:

DataRange The DataRange (Figure 2.14 on page 43) constructs a range by reference to external data. It inherits from Range, and adds the required atribute sourceRef of type SIdRef. The sourceRef must point to a DataDescription with a single dimension, whose values are used as the values of the range. For example:

1 <dataRange id="current" sourceRef="dosage_times" />

Listing 2.53: An example of a dataRange which tracks a variable from an external file.