Skip to content

Commit 59c3471

Browse files
committed
[ModelicaSystem] rename ModelicaSystemDoE => ModelicaDoEOMC
* add compatibility variable for ModelicaSystemDoE
1 parent e499308 commit 59c3471

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
@@ -2415,7 +2415,7 @@ def worker(worker_id, task_queue):
24152415
return doe_def_total == doe_def_done
24162416

24172417

2418-
class ModelicaSystemDoE(ModelicaDoEABC):
2418+
class ModelicaDoEOMC(ModelicaDoEABC):
24192419
"""
24202420
Class to run DoEs based on a (Open)Modelica model using ModelicaSystemOMC
24212421
@@ -2534,3 +2534,9 @@ def get_doe_solutions(
25342534
sol_dict[resultfilename]['data'] = {}
25352535

25362536
return sol_dict
2537+
2538+
2539+
class ModelicaSystemDoE(ModelicaDoEOMC):
2540+
"""
2541+
Compatibility class.
2542+
"""

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 (
@@ -44,6 +45,7 @@
4445
'ModelicaSystemOMC',
4546
'ModelExecutionCmd',
4647
'ModelicaSystemDoE',
48+
'ModelicaDoEOMC',
4749
'ModelicaSystemError',
4850

4951
'OMCSessionCmd',

0 commit comments

Comments
 (0)