Skip to content

Support for multiple vensim views #360

Discussion options

You must be logged in to vote

Yes, having more than one view doesn't change the translation. As the equations are written in the first part of the mdl file where there are no differences between views.

The views are only defined in the sketch part, in fact we support parsing the sketch to identify the different views and classify the variables in different files depending on which view they are present. It also allows multi-level for example if you have the views:

economy.usa-imports
economy.usa-exports
economy.eu-imports
economy.eu-exports
economy.china-imports
economy.china-exports
energy.usage
energy.production

This could be identified with the separators [".", "-"] and therefore produce the following file structure

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by enekomartinmartinez
Comment options

You must be logged in to vote
1 reply
@enekomartinmartinez
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants