We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2b105e commit aec8ae2Copy full SHA for aec8ae2
1 file changed
OMPython/ModelicaSystem.py
@@ -1940,9 +1940,13 @@ def run_doe():
1940
resdir = mypath / 'DoE'
1941
resdir.mkdir(exist_ok=True)
1942
1943
- doe_mod = OMPython.ModelicaSystemDoE(
+ mod = OMPython.ModelicaSystem()
1944
+ mod.model(
1945
model_name="M",
1946
model_file=model.as_posix(),
1947
+ )
1948
+ doe_mod = OMPython.ModelicaSystemDoE(
1949
+ mod=mod,
1950
parameters=param,
1951
resultpath=resdir,
1952
simargs={"override": {'stopTime': 1.0}},
0 commit comments