Skip to content

Commit 5fc6c53

Browse files
committed
[ModelicaSystemDoE] fix usage of ModelicaSystem
1 parent 01c4815 commit 5fc6c53

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

OMPython/ModelicaSystem.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1917,15 +1917,17 @@ def __init__(
19171917
"""
19181918

19191919
self._mod = ModelicaSystem(
1920-
fileName=fileName,
1921-
modelName=modelName,
1922-
lmodel=lmodel,
19231920
commandLineOptions=commandLineOptions,
1924-
variableFilter=variableFilter,
19251921
customBuildDirectory=customBuildDirectory,
19261922
omhome=omhome,
19271923
omc_process=omc_process,
19281924
)
1925+
self._mod.model(
1926+
file=fileName,
1927+
name=modelName,
1928+
libraries=lmodel,
1929+
variable_filter=variableFilter,
1930+
)
19291931

19301932
self._model_name = modelName
19311933

0 commit comments

Comments
 (0)