Refactor sud JSON pot params under a nested 'pot' key

Top-level pot_mass/pot_material/L/Td/grain_mass/water_mass and their
per-step overrides are now grouped under a 'pot' sub-object, matching
the structure already applied to sud_0010.json's parent level. Updated
all sude/*.json files and the parsing/consuming code in components/sud.py,
tasks/sud.py, components/sud_forecast.py, and scripts/demos/sud/demo_sud.py.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T52JH848ojhXXHn1bAzdC3
This commit is contained in:
2026-06-26 07:31:27 +02:00
co-authored by Claude Sonnet 4.6
parent 7dd0400278
commit e2e3baab08
9 changed files with 128 additions and 84 deletions
+18 -10
View File
@@ -1,19 +1,23 @@
{
"Name": "Sud-0010",
"Description": "Rotfraenkisch, Dunkles Lager",
"pot_mass": 5.96,
"pot_material": "Edelstahl 18/10",
"L": 0.2,
"Td": 30,
"grain_mass": 0,
"water_mass": 22,
"pot": {
"mass": 5.96,
"material": "Edelstahl 18/10",
"L": 0.2,
"Td": 30,
"grain_mass": 0,
"water_mass": 22
},
"default": {
"step": {
"descr": "Put description here",
"user_message": "Put user message here",
"user_wait_for_continue": false,
"grain_mass": 5.21,
"water_mass": 22,
"pot": {
"grain_mass": 5.21,
"water_mass": 22
},
"temperature": 0,
"ramp": {
"rate": 1.0,
@@ -35,7 +39,9 @@
},
"steps": [
{
"grain_mass": 0,
"pot": {
"grain_mass": 0
},
"descr": "Heizen für Einmaischen",
"temperature": 57,
"ramp": {
@@ -91,7 +97,9 @@
}
},
{
"water_mass": 20,
"pot": {
"water_mass": 20
},
"descr": "Abmaischen",
"user_message": "Quittieren zum Abmaischen",
"user_wait_for_continue": true,