truth_var_table#

View page source

True Values Used During Simulations#

Discussion#

The truth_var table contains one value for each of the model_variables . The set_command can be used to create a truth_var table. This table may also be created directly by the user (with the aid of the var_table ).

truth_var_id#

This column has type integer and is the primary key for this table. Its initial value is zero, and it increments by one for each row. The truth_var_id column is also a foreign key for the var_table ; i.e.,

var_id = truth_var_id

In addition, the size of both tables is the same.

truth_var_value#

The column has type real and is the value of the model_variables used during the simulate_command .

Example#

See the set_command.py example and test.