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

Vendor Simlin #6

Closed
gsverhoeven opened this issue Mar 27, 2023 · 3 comments
Closed

Vendor Simlin #6

gsverhoeven opened this issue Mar 27, 2023 · 3 comments

Comments

@gsverhoeven
Copy link

Hi there!

Thanks for creating this package. I just managed to use the Open source SD GUI Simlin (https://simlin.com/) to fully specify a model from Jim Duggan's book, export it as XMILE code, import in R using readsdr and simulate it using deSolve!

I needed to manually edit the XMILE file to make it work: I had to replace Vendor Simlin with Ventana.

Can you add Simlin as a vendor, and maybe also allow for files from any other vendor?

Kind regards,
Gertjan

@jandraor
Copy link
Owner

I'll have a look.

@jandraor
Copy link
Owner

Hi Gertjan,

It is not straightforward to add vendors, given that there is no uniformity in applying XMILE guidelines. So far, readsdr has been tailored to Vensim & Stella's idiosyncrasies. I ran a quick test on Simlin & found the issue you mentioned here. However, if everything is lowercase, it works (download the latest development version). For now, I'm treating Simlin as if it were a file from Stella.

@gsverhoeven
Copy link
Author

Hi Jair, great, thanks a lot.

What about treating all unknown vendors as Stella, maybe while throwing a warning that the vendor is unknown and weird stuff might happen? I searched the Simlin repo for "vendor" and came across this model where vendor is "SDlabs", so it seems there are more vendors out there (not very familiar with SD modeling yet).

https://github.com/bpowers/simlin/blob/c8506c93ffb043411856a8533aa470f7816047bf/public/population.xmile

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

2 participants