PlantFactory.create() no longer takes plant_name; sim vs real is derived from Heater.type. StirrerFactory is wired from Stirrer.type. HeaterFactory registry key lowercased to "hendi" to match config. Controller.plant_name removed from both config templates. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
49 lines
661 B
Smarty
49 lines
661 B
Smarty
{
|
|
"ambient_temperature": 20,
|
|
"Controller" : {
|
|
"pid_type": "Smith"
|
|
},
|
|
"TempCtrl": {
|
|
"beta": 0.05,
|
|
"Hold": {
|
|
"kp": 0.4,
|
|
"ki": 0.0,
|
|
"kd": 0.0,
|
|
"kt": 0.0
|
|
},
|
|
"Heat": {
|
|
"kp": 0.08,
|
|
"ki": 0.02,
|
|
"kd": 0.0,
|
|
"kt": 1.5
|
|
},
|
|
"Cool": {
|
|
"kp": 0.08,
|
|
"ki": 0.02,
|
|
"kd": 0.0,
|
|
"kt": 1.5
|
|
},
|
|
"Thresholds": {
|
|
"HoldHeat": 1.0,
|
|
"HoldCool": 1.0,
|
|
"HeatHold": 1.0,
|
|
"HeatCool": 1.0,
|
|
"CoolHold": 1.0,
|
|
"CoolHeat": 1.0
|
|
}
|
|
},
|
|
"Heater": {
|
|
"type": "sim"
|
|
},
|
|
"Stirrer": {
|
|
"type": "sim"
|
|
},
|
|
"TempSensor": {
|
|
"type": "sim",
|
|
"temp_offset": 0.0,
|
|
"sigma": 0.05,
|
|
"stirrer_sigma": 0.0,
|
|
"stirrer_tau": 20.0
|
|
}
|
|
}
|