We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d72e62 commit 5f97f12Copy full SHA for 5f97f12
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