@@ -51,7 +51,7 @@ def param_doe() -> dict[str, list]:
5151 return param
5252
5353
54- def test_ModelicaSystemDoE_local (tmp_path , model_doe , param_doe ):
54+ def test_ModelicaDoEOMC_local (tmp_path , model_doe , param_doe ):
5555 tmpdir = tmp_path / 'DoE'
5656 tmpdir .mkdir (exist_ok = True )
5757
@@ -61,19 +61,19 @@ def test_ModelicaSystemDoE_local(tmp_path, model_doe, param_doe):
6161 model_name = "M" ,
6262 )
6363
64- doe_mod = OMPython .ModelicaSystemDoE (
64+ doe_mod = OMPython .ModelicaDoEOMC (
6565 mod = mod ,
6666 parameters = param_doe ,
6767 resultpath = tmpdir ,
6868 simargs = {"override" : {'stopTime' : '1.0' }},
6969 )
7070
71- _run_ModelicaSystemDoe (doe_mod = doe_mod )
71+ _run_ModelicaDoEOMC (doe_mod = doe_mod )
7272
7373
7474@skip_on_windows
7575@skip_python_older_312
76- def test_ModelicaSystemDoE_docker (tmp_path , model_doe , param_doe ):
76+ def test_ModelicaDoEOMC_docker (tmp_path , model_doe , param_doe ):
7777 omcs = OMPython .OMCSessionDocker (docker = "openmodelica/openmodelica:v1.25.0-minimal" )
7878 assert omcs .sendExpression ("getVersion()" ) == "OpenModelica 1.25.0"
7979
@@ -85,18 +85,18 @@ def test_ModelicaSystemDoE_docker(tmp_path, model_doe, param_doe):
8585 model_name = "M" ,
8686 )
8787
88- doe_mod = OMPython .ModelicaSystemDoE (
88+ doe_mod = OMPython .ModelicaDoEOMC (
8989 mod = mod ,
9090 parameters = param_doe ,
9191 simargs = {"override" : {'stopTime' : '1.0' }},
9292 )
9393
94- _run_ModelicaSystemDoe (doe_mod = doe_mod )
94+ _run_ModelicaDoEOMC (doe_mod = doe_mod )
9595
9696
9797@pytest .mark .skip (reason = "Not able to run WSL on github" )
9898@skip_python_older_312
99- def test_ModelicaSystemDoE_WSL (tmp_path , model_doe , param_doe ):
99+ def test_ModelicaDoEOMC_WSL (tmp_path , model_doe , param_doe ):
100100 omcs = OMPython .OMCSessionWSL ()
101101 assert omcs .sendExpression ("getVersion()" ) == "OpenModelica 1.25.0"
102102
@@ -108,16 +108,16 @@ def test_ModelicaSystemDoE_WSL(tmp_path, model_doe, param_doe):
108108 model_name = "M" ,
109109 )
110110
111- doe_mod = OMPython .ModelicaSystemDoE (
111+ doe_mod = OMPython .ModelicaDoEOMC (
112112 mod = mod ,
113113 parameters = param_doe ,
114114 simargs = {"override" : {'stopTime' : '1.0' }},
115115 )
116116
117- _run_ModelicaSystemDoe (doe_mod = doe_mod )
117+ _run_ModelicaDoEOMC (doe_mod = doe_mod )
118118
119119
120- def _run_ModelicaSystemDoe (doe_mod ):
120+ def _run_ModelicaDoEOMC (doe_mod ):
121121 doe_count = doe_mod .prepare ()
122122 assert doe_count == 16
123123
0 commit comments