Skip to content

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

@gsverhoeven

Description

@gsverhoeven

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions