We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
OS: Windows 11 Pro Buildingspy: 5.2.dev0 (buildingspy.version) Dymola: 2025x
Issue: The .mos file is created but cannot be launched by dymola
Potential problem:
The absolute name of the .mos file should be provided
.mos
In the function
_runSimulation(self, mosFile, timeout, directory): mo_fil = mosFile.replace(directory, ".") ...
it appears that it leads to mo_fil being .\run.mos If I run in the cmd window:
mo_fil
.\run.mos
c:\dymola>dmc -r ".\run.mos" (OR dmc -r "run.mos" OR dmc -r run.mos) Script:.\run.mos Error: Input error; cannot read .\run.mos. Error: Ensure the input exists and is readable.
But if I write:
c:\dymola>dmc -r "c:\dymola\run.mos"
Then the script runs
Steps to reproduce
from buildingspy.simulate.Dymola import Simulator import os out_dir = r'C:\dymola' s=Simulator("Modelica.Blocks.Examples.PID_Controller", outputDirectory=out_dir) s.showGUI(True) s.simulate()
Should I take a closer look and correct if it I can?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
OS: Windows 11 Pro
Buildingspy: 5.2.dev0 (buildingspy.version)
Dymola: 2025x
Issue:
The .mos file is created but cannot be launched by dymola
Potential problem:
The absolute name of the
.mos
file should be providedIn the function
it appears that it leads to
mo_fil
being.\run.mos
If I run in the cmd window:
But if I write:
Then the script runs
Steps to reproduce
Should I take a closer look and correct if it I can?
The text was updated successfully, but these errors were encountered: