@@ -1165,7 +1165,7 @@ def _set_method_helper(
1165
1165
"structural, final, protected, evaluated or has a non-constant binding. "
1166
1166
"Use sendExpression(...) and rebuild the model using buildModel() API; example: "
1167
1167
"sendExpression(\" setParameterValue("
1168
- f"{ self .modelName } , { key } , { val if val is not None else '<?value?>' } "
1168
+ f"{ self ._model_name } , { key } , { val if val is not None else '<?value?>' } "
1169
1169
")\" ) " )
1170
1170
else :
1171
1171
classdata [key ] = val
@@ -1202,9 +1202,9 @@ def setContinuous(
1202
1202
1203
1203
return self ._set_method_helper (
1204
1204
inputdata = inputdata ,
1205
- classdata = self .continuouslist ,
1205
+ classdata = self ._continuous ,
1206
1206
datatype = "continuous" ,
1207
- overwritedata = self .overridevariables )
1207
+ overwritedata = self ._override_variables )
1208
1208
1209
1209
def setParameters (
1210
1210
self ,
@@ -1222,9 +1222,9 @@ def setParameters(
1222
1222
1223
1223
return self ._set_method_helper (
1224
1224
inputdata = inputdata ,
1225
- classdata = self .paramlist ,
1225
+ classdata = self ._params ,
1226
1226
datatype = "parameter" ,
1227
- overwritedata = self .overridevariables )
1227
+ overwritedata = self ._override_variables )
1228
1228
1229
1229
def setSimulationOptions (
1230
1230
self ,
@@ -1242,9 +1242,9 @@ def setSimulationOptions(
1242
1242
1243
1243
return self ._set_method_helper (
1244
1244
inputdata = inputdata ,
1245
- classdata = self .simulateOptions ,
1245
+ classdata = self ._simulate_options ,
1246
1246
datatype = "simulation-option" ,
1247
- overwritedata = self .simoptionsoverride )
1247
+ overwritedata = self ._simulate_options_override )
1248
1248
1249
1249
def setLinearizationOptions (
1250
1250
self ,
@@ -1262,7 +1262,7 @@ def setLinearizationOptions(
1262
1262
1263
1263
return self ._set_method_helper (
1264
1264
inputdata = inputdata ,
1265
- classdata = self .linearOptions ,
1265
+ classdata = self ._linearization_options ,
1266
1266
datatype = "Linearization-option" ,
1267
1267
overwritedata = None )
1268
1268
@@ -1282,7 +1282,7 @@ def setOptimizationOptions(
1282
1282
1283
1283
return self ._set_method_helper (
1284
1284
inputdata = inputdata ,
1285
- classdata = self .optimizeOptions ,
1285
+ classdata = self ._optimization_options ,
1286
1286
datatype = "optimization-option" ,
1287
1287
overwritedata = None )
1288
1288
0 commit comments