Replace config.json's Model/Plant blocks with one shared default in brewpi.py
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
This commit is contained in:
@@ -24,20 +24,6 @@
|
||||
"kt": 1.5
|
||||
}
|
||||
},
|
||||
"Model": {
|
||||
"C": 4190,
|
||||
"M": 25,
|
||||
"L": 0.05,
|
||||
"Td": 80,
|
||||
"gain": 0.8
|
||||
},
|
||||
"Plant": {
|
||||
"C": 4190,
|
||||
"M": 22,
|
||||
"L": 0.05,
|
||||
"Td": 80,
|
||||
"gain": 0.8
|
||||
},
|
||||
"Heater": {
|
||||
"port": "/dev/ttyUSB0",
|
||||
"speed": "115200"
|
||||
|
||||
Reference in New Issue
Block a user