We ran into a subtle issue with the En-ROADS model and the latest SDE where sde would fail in the case where a subscripted variable is only partially defined in the mdl file. For example: Constant ...
Abstract: The conventional axiomatic definitions are given for multiple assignment to simple variables and for assignment to a single subscripted variable, along with examples to illustrate their use.
When an array variable with separated dimensions occurs on the RHS, we must expand the simple var name reference into a list of subscripted refIds over all the separated indices. This comes up when ...