We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 319b7f9 commit 50bdc97Copy full SHA for 50bdc97
1 file changed
OMPython/ModelicaSystem.py
@@ -38,6 +38,7 @@
38
import logging
39
import numbers
40
import os
41
+import pathlib
42
import queue
43
import textwrap
44
import threading
@@ -1915,15 +1916,17 @@ def __init__(
1915
1916
"""
1917
1918
self._mod = ModelicaSystem(
- fileName=fileName,
1919
- modelName=modelName,
1920
- lmodel=lmodel,
1921
commandLineOptions=commandLineOptions,
1922
- variableFilter=variableFilter,
1923
customBuildDirectory=customBuildDirectory,
1924
omhome=omhome,
1925
omc_process=omc_process,
1926
)
+ self._mod.model(
+ file=fileName,
+ name=modelName,
1927
+ libraries=lmodel,
1928
+ variable_filter=variableFilter,
1929
+ )
1930
1931
self._model_name = modelName
1932
0 commit comments