We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9c63d2 commit 8c5318aCopy full SHA for 8c5318a
1 file changed
OMPython/ModelicaSystem.py
@@ -2060,9 +2060,13 @@ def run_doe():
2060
resdir = mypath / 'DoE'
2061
resdir.mkdir(exist_ok=True)
2062
2063
- doe_mod = OMPython.ModelicaSystemDoE(
+ mod = OMPython.ModelicaSystem()
2064
+ mod.model(
2065
model_name="M",
2066
model_file=model.as_posix(),
2067
+ )
2068
+ doe_mod = OMPython.ModelicaSystemDoE(
2069
+ mod=mod,
2070
parameters=param,
2071
resultpath=resdir,
2072
simargs={"override": {'stopTime': 1.0}},
0 commit comments