set_values
Assign numeric values to LSD model elements, with support for lag-specific variable settings, and save changes to config files with automatic backup.
Instructions
Set element values in a configuration, using LSD's own lsd_confgen.
values maps element name to a number; every instance of the element gets
the value. A variable's name sets its initial value at the first lag;
"Name -2", "Name -3" ... (name, space, negative lag) set the second, third
... lag ("Name -1" is the first); a lag beyond the variable's lags, or on a
parameter, is an error, and one element can appear once per call.
Writes new_config.lsd, or
replaces config.lsd (the old file is kept as .bak). The result says
whether an existing file was replaced (replaced, backup).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| config | Yes | ||
| values | Yes | ||
| new_config | No |