We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5205813 commit 171bfdcCopy full SHA for 171bfdc
1 file changed
OMPython/ModelicaSystem.py
@@ -1878,6 +1878,7 @@ def prepare(self) -> int:
1878
variableFilter=self._variableFilter,
1879
customBuildDirectory=self._customBuildDirectory,
1880
omhome=self._omhome,
1881
+ build=False,
1882
)
1883
1884
sim_args_structure = {}
@@ -1894,6 +1895,8 @@ def prepare(self) -> int:
1894
1895
expression = f"setParameterValue({self._modelName}, {pk_structure}, {pk_value})"
1896
mod_structure.sendExpression(expression)
1897
1898
+ mod_structure.buildModel(variableFilter=self._variableFilter)
1899
+
1900
for idx_pc_simple, pc_simple in enumerate(param_simple_combinations):
1901
sim_args_simple = {}
1902
for idx_simple, pk_simple in enumerate(param_simple.keys()):
0 commit comments