Skip to content

Error: SD models must contain stocks #10

@jszhao

Description

@jszhao

I have some STMX files, created from STELLA 10.0.4. It does not contain

<variables>
...
</variables>

So read_ximle gives an error message:

Error: SD models must contain stocks

The head of the STMX looks like:

<?xml version="1.0" encoding="utf-8" ?>
<xmile version="1.0" level="3" xmlns="http://www.systemdynamics.org/XMILE" xmlns:isee="http://iseesystems.com/XMILE">

It has an additional level="3".

Now, the workaround is to insert <variables> and </variables> by hand.

P.S.: you can get those STMX files from here

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