Skip to content

Commit 4bba64a

Browse files
committed
??? more fixes
1 parent 869c706 commit 4bba64a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,6 +1730,7 @@ def __init__(
17301730
variableFilter: Optional[str] = None,
17311731
customBuildDirectory: Optional[str | os.PathLike | pathlib.Path] = None,
17321732
omhome: Optional[str] = None,
1733+
omc_process: Optional[OMCProcessLocal] = None,
17331734

17341735
simargs: Optional[dict[str, Optional[str | dict[str, str]]]] = None,
17351736
timeout: Optional[int] = None,
@@ -1750,6 +1751,7 @@ def __init__(
17501751
self._variableFilter = variableFilter
17511752
self._customBuildDirectory = customBuildDirectory
17521753
self._omhome = omhome
1754+
self._omc_process = omc_process
17531755

17541756
# reference for the model; not used for any simulations but to evaluate parameters, etc.
17551757
self._mod = ModelicaSystem(
@@ -1760,6 +1762,7 @@ def __init__(
17601762
variableFilter=self._variableFilter,
17611763
customBuildDirectory=self._customBuildDirectory,
17621764
omhome=self._omhome,
1765+
omc_process=self._omc_process,
17631766
)
17641767

17651768
self._simargs = simargs
@@ -1811,6 +1814,7 @@ def prepare(self) -> int:
18111814
variableFilter=self._variableFilter,
18121815
customBuildDirectory=self._customBuildDirectory,
18131816
omhome=self._omhome,
1817+
omc_process=self._omc_process,
18141818
build=False,
18151819
)
18161820

0 commit comments

Comments
 (0)