Both blocks were nearly identical (config.json.sim's differing M and unused gain key being the only divergence), so there's no need for per-config tuning here. DEFAULT_PLANT_PARAMS in brewpi.py now feeds both the real Pot plant and the temperature controller's Smith-predictor model. No demo scripts read these config keys, so nothing else needed updating. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CgR9tPaSzFkAwRAUyeaaCD
37 lines
528 B
Plaintext
Executable File
37 lines
528 B
Plaintext
Executable File
{
|
|
"ambient_temperature": 20,
|
|
"sud": "sude/sud_0010.json",
|
|
"Controller" : {
|
|
"dt": 0.1,
|
|
"sim_warp_factor": 10.0,
|
|
"stirrer_name": "sim",
|
|
"heater_name": "sim",
|
|
"sensor_name": "sim",
|
|
"plant_name": "sim",
|
|
"pid_type": "Smith"
|
|
},
|
|
"TempCtrl": {
|
|
"Hold": {
|
|
"kp": 0.25,
|
|
"ki": 0.0,
|
|
"kd": 0.0,
|
|
"kt": 0.0
|
|
},
|
|
"Heat": {
|
|
"kp": 0.05,
|
|
"ki": 0.01,
|
|
"kd": 0.0,
|
|
"kt": 1.5
|
|
}
|
|
},
|
|
"Heater": {
|
|
"port": "/dev/ttyUSB0",
|
|
"speed": "115200"
|
|
},
|
|
"Stirrer": {
|
|
"port": "/dev/ttyACM0",
|
|
"speed": "115200"
|
|
}
|
|
}
|
|
|