Skip to content

Commit aec8ae2

Browse files
committed
[ModelicaSystemDoE] update docstring
1 parent a2b105e commit aec8ae2

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
@@ -1940,9 +1940,13 @@ def run_doe():
19401940
resdir = mypath / 'DoE'
19411941
resdir.mkdir(exist_ok=True)
19421942
1943-
doe_mod = OMPython.ModelicaSystemDoE(
1943+
mod = OMPython.ModelicaSystem()
1944+
mod.model(
19441945
model_name="M",
19451946
model_file=model.as_posix(),
1947+
)
1948+
doe_mod = OMPython.ModelicaSystemDoE(
1949+
mod=mod,
19461950
parameters=param,
19471951
resultpath=resdir,
19481952
simargs={"override": {'stopTime': 1.0}},

0 commit comments

Comments
 (0)