Skip to content

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

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

Activity

  1. added
    engineIssues with the rust-based simulation engine
    compatCompatibility (XMILE, Vensim, etc) problem or enhancement
    bugSomething isn't working
    on Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompatCompatibility (XMILE, Vensim, etc) problem or enhancementengineIssues with the rust-based simulation engine

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions