Skip to content

Commit 8c5318a

Browse files
committed
[ModelicaSystemDoE] update docstring
1 parent d9c63d2 commit 8c5318a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

OMPython/ModelicaSystem.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2060,9 +2060,13 @@ def run_doe():
20602060
resdir = mypath / 'DoE'
20612061
resdir.mkdir(exist_ok=True)
20622062
2063-
doe_mod = OMPython.ModelicaSystemDoE(
2063+
mod = OMPython.ModelicaSystem()
2064+
mod.model(
20642065
model_name="M",
20652066
model_file=model.as_posix(),
2067+
)
2068+
doe_mod = OMPython.ModelicaSystemDoE(
2069+
mod=mod,
20662070
parameters=param,
20672071
resultpath=resdir,
20682072
simargs={"override": {'stopTime': 1.0}},

0 commit comments

Comments
 (0)