We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42af49b commit 925daa7Copy full SHA for 925daa7
1 file changed
OMPython/ModelicaSystem.py
@@ -1930,9 +1930,13 @@ def run_doe():
1930
resdir = mypath / 'DoE'
1931
resdir.mkdir(exist_ok=True)
1932
1933
- doe_mod = OMPython.ModelicaSystemDoE(
+ mod = OMPython.ModelicaSystem()
1934
+ mod.model(
1935
model_name="M",
1936
model_file=model.as_posix(),
1937
+ )
1938
+ doe_mod = OMPython.ModelicaSystemDoE(
1939
+ mod=mod,
1940
parameters=param,
1941
resultpath=resdir,
1942
simargs={"override": {'stopTime': 1.0}},
0 commit comments