Skip to content

Commit 8c94f1c

Browse files
committed
???
1 parent 9643653 commit 8c94f1c

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,8 @@ def run_doe():
17161716
run_doe()
17171717
```
17181718
1719+
TODO: hint how to get the data?!
1720+
17191721
"""
17201722

17211723
DICT_RESULT_FILENAME: str = 'result filename'

tools/run_doe.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ def test_ModelicaSystemDoE(tmp_path, model_doe, param_doe, om):
7272
assert doe_status is True
7373

7474
doe_sol = doe_mod.get_doe_solutions()
75+
doe_def = doe_mod.get_doe_definition()
76+
doe_cmd = doe_mod.get_doe_command()
77+
78+
# TODO: check identical keys
79+
80+
# logger.warning(doe_def)
81+
# logger.warning(doe_cmd)
82+
# logger.warning(doe_sol)
7583

7684
for resultfilename in doe_dict:
7785
row = doe_dict[resultfilename]
@@ -96,12 +104,6 @@ def test_ModelicaSystemDoE(tmp_path, model_doe, param_doe, om):
96104
# logger.info(f"{resultfilename}:{var} {sol['data'][var][-1]} <> {var_dict[var]}")
97105
assert np.isclose(sol['data'][var][-1], var_dict[var])
98106

99-
doe_def = doe_mod.get_doe_definition()
100-
doe_cmd = doe_mod.get_doe_command()
101-
102-
# logger.warning(doe_def)
103-
# logger.warning(doe_cmd)
104-
# logger.warning(doe_sol)
105107

106108

107109
if __name__ == "__main__":

0 commit comments

Comments
 (0)