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

XMILE export from simlin: variable name to lowercase but not in equations #82

Open
gsverhoeven opened this issue Mar 27, 2023 · 0 comments

Comments

@gsverhoeven
Copy link

Hi there!

Thanks for creating this great app. I just managed to use Simlin to fully specify a model from Jim Duggan's SD modeling book, export it as XMILE code, import in R using the readsdr package and simulate it using deSolve!

There was a small issue with readsdr, I created an issue over at jandraor/readsdr#6

There was also a small issue with Simlin:
During the export, the casesensitive stock name "sStock" is changed to lowercase "sstock" in the variables XML code block , while in the equations it is still referenced as "sStock". In the views XML code block the name is "sStock" , as is displayed in Simlin.

This throws an error when I want to simulate the model in R.

The Simlin model is here: https://app.simlin.com/gsverhoeven/one_stock_constrained_capacity

Maybe a bug in the XMILE export code ?

Kind regards, Gertjan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant