@@ -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 omc = OMPython .OMCSessionZMQ (omc_process = omcs )
7979 assert omc .sendExpression ("getVersion()" ) == "OpenModelica 1.25.0"
@@ -86,18 +86,18 @@ def test_ModelicaSystemDoE_docker(tmp_path, model_doe, param_doe):
8686 model_name = "M" ,
8787 )
8888
89- doe_mod = OMPython .ModelicaSystemDoE (
89+ doe_mod = OMPython .ModelicaDoEOMC (
9090 mod = mod ,
9191 parameters = param_doe ,
9292 simargs = {"override" : {'stopTime' : '1.0' }},
9393 )
9494
95- _run_ModelicaSystemDoe (doe_mod = doe_mod )
95+ _run_ModelicaDoEOMC (doe_mod = doe_mod )
9696
9797
9898@pytest .mark .skip (reason = "Not able to run WSL on github" )
9999@skip_python_older_312
100- def test_ModelicaSystemDoE_WSL (tmp_path , model_doe , param_doe ):
100+ def test_ModelicaDoEOMC_WSL (tmp_path , model_doe , param_doe ):
101101 omcs = OMPython .OMCSessionWSL ()
102102 omc = OMPython .OMCSessionZMQ (omc_process = omcs )
103103 assert omc .sendExpression ("getVersion()" ) == "OpenModelica 1.25.0"
@@ -110,16 +110,16 @@ def test_ModelicaSystemDoE_WSL(tmp_path, model_doe, param_doe):
110110 model_name = "M" ,
111111 )
112112
113- doe_mod = OMPython .ModelicaSystemDoE (
113+ doe_mod = OMPython .ModelicaDoEOMC (
114114 mod = mod ,
115115 parameters = param_doe ,
116116 simargs = {"override" : {'stopTime' : '1.0' }},
117117 )
118118
119- _run_ModelicaSystemDoe (doe_mod = doe_mod )
119+ _run_ModelicaDoEOMC (doe_mod = doe_mod )
120120
121121
122- def _run_ModelicaSystemDoe (doe_mod ):
122+ def _run_ModelicaDoEOMC (doe_mod ):
123123 doe_count = doe_mod .prepare ()
124124 assert doe_count == 16
125125
0 commit comments