Skip to content

Commit ca5ef4e

Browse files
committed
[ModelicaSystem*] fix last usages of ModelicaSystem() in comments & docstrings
1 parent df8f8ba commit ca5ef4e

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
@@ -1378,7 +1378,7 @@ def linearize(
13781378
# if self._quantities has no content, the xml file was not parsed; see self._xmlparse()
13791379
raise ModelicaSystemError(
13801380
"Linearization cannot be performed as the model is not build, "
1381-
"use ModelicaSystem() to build the model first"
1381+
"use ModelicaSystemOMC() to build the model first"
13821382
)
13831383

13841384
om_cmd = ModelExecutionCmd(
@@ -1562,7 +1562,7 @@ def model(
15621562
simply loads the model without compiling.
15631563
15641564
Examples:
1565-
mod = ModelicaSystem()
1565+
mod = ModelicaSystemOMC()
15661566
# and then one of the lines below
15671567
mod.model(name="modelName", file="ModelicaModel.mo", )
15681568
mod.model(name="modelName", file="ModelicaModel.mo", libraries=["Modelica"])
@@ -2149,7 +2149,7 @@ def run_doe():
21492149
resdir = mypath / 'DoE'
21502150
resdir.mkdir(exist_ok=True)
21512151
2152-
mod = OMPython.ModelicaSystem()
2152+
mod = OMPython.ModelicaSystemOMC()
21532153
mod.model(
21542154
model_name="M",
21552155
model_file=model.as_posix(),

0 commit comments

Comments
 (0)