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

Question: Is it currently possible to simulate a model that is not defined in a standalone file? #147

Open
CSchoel opened this issue Aug 17, 2020 · 1 comment
Labels
ui User Interface/frontend related

Comments

@CSchoel
Copy link
Member

CSchoel commented Aug 17, 2020

Are we currently able to simulate models that are defined within a project.mo file like MyFirstModel in the following example?

package MyPackage

  model MyFirstModel
    ...
  end MyFirstModel;

  model MySecondModel
    ...
  end MySecondModel;

end MyPackage;

I can currently not test this, because I seem to have killed the server again. 😜

@njustus
Copy link
Member

njustus commented Sep 5, 2020

If the model name is provided as a full-qualified name, then yes, e.g.: MyPackage.MyFirstModel

@njustus njustus added the ui User Interface/frontend related label Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui User Interface/frontend related
Projects
None yet
Development

No branches or pull requests

2 participants