@@ -1842,7 +1842,7 @@ def run_doe():
18421842 # structural
18431843 'p': [1, 2],
18441844 'q': [3, 4],
1845- # simple
1845+ # non-structural
18461846 'a': [5, 6],
18471847 'b': [7, 8],
18481848 }
@@ -1963,7 +1963,7 @@ def prepare(self) -> int:
19631963 param_structure [param_name ] = self ._parameters [param_name ]
19641964
19651965 param_structure_combinations = list (itertools .product (* param_structure .values ()))
1966- param_simple_combinations = list (itertools .product (* param_non_structure .values ()))
1966+ param_non_structural_combinations = list (itertools .product (* param_non_structure .values ()))
19671967
19681968 for idx_pc_structure , pc_structure in enumerate (param_structure_combinations ):
19691969
@@ -1991,15 +1991,15 @@ def prepare(self) -> int:
19911991
19921992 self ._mod .buildModel ()
19931993
1994- for idx_pc_simple , pc_simple in enumerate (param_simple_combinations ):
1995- sim_param_simple = {}
1996- for idx_simple , pk_simple in enumerate (param_non_structure .keys ()):
1997- sim_param_simple [ pk_simple ] = cast (Any , pc_simple [ idx_simple ])
1994+ for idx_non_structural , pk_non_structural in enumerate (param_non_structural_combinations ):
1995+ sim_param_non_structural = {}
1996+ for idx , pk in enumerate (param_non_structure .keys ()):
1997+ sim_param_non_structural [ pk ] = cast (Any , pk_non_structural [ idx ])
19981998
1999- resfilename = f"DOE_{ idx_pc_structure :09d} _{ idx_pc_simple :09d} .mat"
1999+ resfilename = f"DOE_{ idx_pc_structure :09d} _{ idx_non_structural :09d} .mat"
20002000 logger .info (f"use result file { repr (resfilename )} "
20012001 f"for structural parameters: { sim_param_structure } "
2002- f"and simple parameters: { sim_param_simple } " )
2002+ f"and non-structural parameters: { sim_param_non_structural } " )
20032003 resultfile = self ._resultpath / resfilename
20042004
20052005 df_data = (
@@ -2008,15 +2008,15 @@ def prepare(self) -> int:
20082008 }
20092009 | sim_param_structure
20102010 | {
2011- self .DICT_ID_NON_STRUCTURE : idx_pc_simple ,
2011+ self .DICT_ID_NON_STRUCTURE : idx_non_structural ,
20122012 }
2013- | sim_param_simple
2013+ | sim_param_non_structural
20142014 | {
20152015 self .DICT_RESULT_AVAILABLE : False ,
20162016 }
20172017 )
20182018
2019- self ._mod .setParameters (sim_param_simple )
2019+ self ._mod .setParameters (sim_param_non_structural )
20202020 mscmd = self ._mod .simulate_cmd (
20212021 result_file = resultfile ,
20222022 timeout = self ._timeout ,
0 commit comments