Skip to content

Commit f07ebb3

Browse files
committed
[ModelicaSystem*] fix docstrings & comments
1 parent 8e60588 commit f07ebb3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def get_cmd_args(self) -> list[str]:
265265

266266
def definition(self) -> OMCProcessRunData:
267267
"""
268-
Define all needed data to run the model executable. The data is stored in an OMCSessionRunData object.
268+
Define all needed data to run the model executable. The data is stored in an OMCProcessRunData object.
269269
"""
270270
# ensure that a result filename is provided
271271
result_file = self.arg_get('r')
@@ -327,7 +327,7 @@ def parse_simflags(simflags: str) -> dict[str, Optional[str | dict[str, Any] | n
327327

328328
class ModelicaSystem:
329329
"""
330-
Class to simulate a Modelica model using OpenModelica via OMCSessionZMQ.
330+
Class to simulate a Modelica model using OpenModelica via OMCProcess*.
331331
"""
332332

333333
def __init__(
@@ -347,7 +347,7 @@ def __init__(
347347
work_directory: Path to a directory to be used for temporary
348348
files like the model executable. If left unspecified, a tmp
349349
directory will be created.
350-
omhome: path to OMC to be used when creating the OMC session (see OMCSessionZMQ).
350+
omhome: path to OMC to be used when creating the OMC session (see OMCProcess* classes).
351351
omc_process: definition of a (local) OMC process to be used. If
352352
unspecified, a new local session will be created.
353353
timeout: float value define the timeout; if nothing is defined, a default value of 10s is used

0 commit comments

Comments
 (0)