Skip to content

Commit 07658f5

Browse files
committed
[ModelicaSystem] rename ModelicaSystemDoE => ModelicaDoEOMC
* add compatibility variable for ModelicaSystemDoE
1 parent 53f4ec4 commit 07658f5

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

OMPython/ModelicaSystem.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2424,7 +2424,7 @@ def worker(worker_id, task_queue):
24242424
return doe_def_total == doe_def_done
24252425

24262426

2427-
class ModelicaSystemDoE(ModelicaDoEABC):
2427+
class ModelicaDoEOMC(ModelicaDoEABC):
24282428
"""
24292429
Class to run DoEs based on a (Open)Modelica model using ModelicaSystemOMC
24302430
@@ -2543,3 +2543,9 @@ def get_doe_solutions(
25432543
sol_dict[resultfilename]['data'] = {}
25442544

25452545
return sol_dict
2546+
2547+
2548+
class ModelicaSystemDoE(ModelicaDoEOMC):
2549+
"""
2550+
Compatibility class.
2551+
"""

OMPython/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
ModelicaSystemOMC,
1818
ModelExecutionCmd,
1919
ModelicaSystemDoE,
20+
ModelicaDoEOMC,
2021
ModelicaSystemError,
2122
)
2223
from OMPython.OMCSession import (
@@ -47,6 +48,7 @@
4748
'ModelicaSystemOMC',
4849
'ModelExecutionCmd',
4950
'ModelicaSystemDoE',
51+
'ModelicaDoEOMC',
5052
'ModelicaSystemError',
5153

5254
'OMCPath',

0 commit comments

Comments
 (0)