Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for specifying I/O variables using Vensim names in spec file #60

Closed
chrispcampbell opened this issue Dec 23, 2020 · 0 comments · Fixed by #61 or #190
Closed

Allow for specifying I/O variables using Vensim names in spec file #60

chrispcampbell opened this issue Dec 23, 2020 · 0 comments · Fixed by #61 or #190
Assignees
Milestone

Comments

@chrispcampbell
Copy link
Contributor

Currently SDE expects the inputVars and outputVars arrays in the JSON spec file to be provided as C names with numeric indices, e.g. _var_name[0][1]. This requires advance knowledge of subscript->index mapping and generally makes usage more difficult.

We should allow for providing these variables using the original Vensim names instead, and convert to C names as needed inside of SDE. We can call the arrays inputVarNames and outputVarNames, and these will take precedence over inputVars and outputVars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment