Skip to content

FR: Simlin-engine as separate crate #91

Description

@erikvullings

Hi Bobby!

Would it be possible to export the simlin-engine to the crates repo? I would like to use an SD model as a service, and in that case, I could just import the simlin-engine crate in my REST wrapper.

Activity

  1. bpowers commented on Jan 24, 2026

    @bpowers
    Owner

    @erikvullings sorry for the ... extremely late response here. if you are still interested in this can you let me know? are you/were you planning to use it from other rust code w/ rust types, or would a flatter C-like API be better?

  2. erikvullings commented on Jan 25, 2026

    @erikvullings
    ContributorAuthor

    No worries, we all have private lives too ;-)
    I guess a binding for TypeScript and Python would be more practical, as it would be much easier to integrate.
    In our research, we often start with a simpler approach based on causal loop modelling enhanced with the strength of a relationship, and a reaction delay. This allows us to investigate the strongest path between variables, identify balancing and reinforcing loops, and determine which control variable is most useful for influencing a goal variable. I've developed this app, Marvel, which I hope will become open source too.
    However, such an approach can only get you so far, and when more detailed relationships are needed, we often use STELLA (esp for the optimisation features) or Vensim, so it is great that yours is available too. But for integrating it into decision support tools, it currently requires manual coding, and that's why SD as a service would be so practical.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions