data scalar create command


data scalar create v <keyword ...>

Primary keywords:

extra    group    value

Create a scalar data entry. Scalars are an internal list of user-defined objects that have the position v and the value f (assigned via the value keyword) associated with them. Scalars may also have groups and extra variables assigned to them upon creation.

Scalar fields can be visualized with the user interface. Scalars can be used to track events in the model, or to compare model results against external data.

extra i a

Optionally assign the extra variable a to index i.

group s <slot s2 >

Optionally assign the group name s to slot s2. By default, s2 = Default. Use of the group logic is described in the topic Groups.

value f

Assign f to be the value associated with the scalar.