Skip to content

Commit 925daa7

Browse files
committed
[ModelicaSystemDoE] update docstring
1 parent 42af49b commit 925daa7

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
@@ -1930,9 +1930,13 @@ def run_doe():
19301930
resdir = mypath / 'DoE'
19311931
resdir.mkdir(exist_ok=True)
19321932
1933-
doe_mod = OMPython.ModelicaSystemDoE(
1933+
mod = OMPython.ModelicaSystem()
1934+
mod.model(
19341935
model_name="M",
19351936
model_file=model.as_posix(),
1937+
)
1938+
doe_mod = OMPython.ModelicaSystemDoE(
1939+
mod=mod,
19361940
parameters=param,
19371941
resultpath=resdir,
19381942
simargs={"override": {'stopTime': 1.0}},

0 commit comments

Comments
 (0)