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

AttributeError: 'OMSimulator' object has no attribute 'getSubModelPath' #1171

Open
Matthias776 opened this issue Jun 29, 2022 · 1 comment
Open

Comments

@Matthias776
Copy link

AttributeError: 'OMSimulator' object has no attribute 'getSubModelPath'

is raised when using

path, status = oms.getSubModelPath("component")

in Python

  • Version:
    Name: OMSimulator
    Version: 2.1.1.post125
    Summary: OMSimulator - the FMI-based co-simulation environment for Python
    Home-page: http://openmodelica.org/
    Author: Open Source Modelica Consortium (OSMC)
    Author-email: openmodelicadevelopers@ida.liu.se
    License: BSD, OSMC-PL 1.2, GPL (user's choice)
    Location: c:\users\demawei2\appdata\local\programs\python\python310\lib\site-packages
    Requires: requests
    Required-by:

  • OS: Win10, 64bit

@arun3688
Copy link
Contributor

arun3688 commented Jun 29, 2022

@Matthias776 The API is not exported to Python interface, This is an internal API, But can be exported to python interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants