We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ccce11 commit eb1ce4dCopy full SHA for eb1ce4d
1 file changed
OMPython/ModelicaSystem.py
@@ -1521,6 +1521,7 @@ def prepare(self) -> int:
1521
variableFilter=self._variableFilter,
1522
customBuildDirectory=self._customBuildDirectory,
1523
omhome=self._omhome,
1524
+ build=False,
1525
)
1526
1527
sim_args_structure = {}
@@ -1537,6 +1538,8 @@ def prepare(self) -> int:
1537
1538
expression = f"setParameterValue({self._modelName}, {pk_structure}, {pk_value})"
1539
mod_structure.sendExpression(expression)
1540
1541
+ mod_structure.buildModel(variableFilter=self._variableFilter)
1542
+
1543
for idx_pc_simple, pc_simple in enumerate(param_simple_combinations):
1544
sim_args_simple = {}
1545
for idx_simple, pk_simple in enumerate(param_simple.keys()):
0 commit comments