Skip to content

Commit 2f32f32

Browse files
committed
Merge branch 'ModelicaSystem_init' into v4.1.0-syntron2
2 parents af73d88 + 52fe18c commit 2f32f32

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,15 +1945,17 @@ def __init__(
19451945
"""
19461946

19471947
self._mod = ModelicaSystem(
1948-
fileName=fileName,
1949-
modelName=modelName,
1950-
lmodel=lmodel,
19511948
commandLineOptions=commandLineOptions,
1952-
variableFilter=variableFilter,
19531949
customBuildDirectory=customBuildDirectory,
19541950
omhome=omhome,
19551951
omc_process=omc_process,
19561952
)
1953+
self._mod.model(
1954+
file=fileName,
1955+
name=modelName,
1956+
libraries=lmodel,
1957+
variable_filter=variableFilter,
1958+
)
19571959

19581960
self._model_name = modelName
19591961

0 commit comments

Comments
 (0)