Folds three previously-separate pieces into one preliminary-example repo for the HAHACS thesis: - thesis/ (submodule) → gitea Thesis.git — the PhD proposal - fret-pipeline/ — FRET requirements to AIGER controller (was ~/Documents/fret_processing/; prior single-commit history abandoned per user decision) - plant-model/ — 10-state PKE + lumped T/H PWR model (was ~/Documents/PKE_Playground/; never version-controlled before) - presentations/2026DICE/ (submodule) → gitea 2026DICE.git - reachability/, hardware/ — empty placeholders for Thrust 3 and HIL - docs/architecture.md — how the discrete and continuous layers compose - claude_memory/ — session notes and scratch knowledge pattern Plant model refactored to thesis naming (x, plant, u, ref); pke_th_rhs now takes u as an explicit arg instead of reading rho_ext from the params struct. First two controllers built to the contract u = ctrl_<mode>(t, x, plant, ref): ctrl_null (baseline) and ctrl_operation (stabilizing, proportional on T_avg). Validated under a 100% -> 80% Q_sg step: ctrl_operation reduces steady-state T_avg drift ~47% vs. the unforced plant. Root CLAUDE.md emphasizes that CLAUDE.md files are living documents and that any knowledge not captured before a session ends is lost forever; claude_memory/ holds the session-level notes that haven't stabilized enough to graduate into a CLAUDE.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
47 lines
1.8 KiB
Plaintext
47 lines
1.8 KiB
Plaintext
digraph DRC_Controller {
|
|
rankdir=LR;
|
|
splines=true;
|
|
nodesep=1.2;
|
|
ranksep=1.5;
|
|
node [shape=circle, style=filled, fontname="Helvetica", fontsize=14, width=1.5, fixedsize=false];
|
|
edge [fontname="Helvetica", fontsize=11];
|
|
|
|
// States
|
|
shutdown [label="SHUTDOWN\n(0,0)", fillcolor="#B3D9FF"];
|
|
heatup [label="HEATUP\n(1,0)", fillcolor="#FFFFB3"];
|
|
operation [label="OPERATION\n(0,1)", fillcolor="#B3FFB3"];
|
|
scram [label="SCRAM\n(1,1)", fillcolor="#FFB3B3"];
|
|
|
|
// Init
|
|
init [shape=point, width=0.25];
|
|
init -> shutdown [penwidth=2.0];
|
|
|
|
// Transitions with guard conditions
|
|
// S001: shutdown stays when !t_avg_above_min
|
|
shutdown -> shutdown [label="!t_avg_above_min\n(S001)", color="#4477AA", penwidth=1.5];
|
|
|
|
// T001: shutdown -> heatup when t_avg_above_min
|
|
shutdown -> heatup [label="t_avg_above_min\n(T001)", color="#228B22", penwidth=2.0];
|
|
|
|
// S002: heatup stays when inv1_holds & !(t_in_range & p_above_crit)
|
|
heatup -> heatup [label="inv1 & !(t_range & p_crit)\n(S002)", color="#4477AA", penwidth=1.5];
|
|
|
|
// T002: heatup -> operation when inv1 & t_in_range & p_above_crit
|
|
heatup -> operation [label="inv1 & t_range & p_crit\n(T002)", color="#228B22", penwidth=2.0];
|
|
|
|
// T003: heatup -> scram when !inv1_holds
|
|
heatup -> scram [label="!inv1_holds\n(T003)", color="#CC0000", penwidth=2.0];
|
|
|
|
// S003: operation stays when inv2_holds
|
|
operation -> operation [label="inv2_holds\n(S003)", color="#4477AA", penwidth=1.5];
|
|
|
|
// T004: operation -> scram when !inv2_holds
|
|
operation -> scram [label="!inv2_holds\n(T004)", color="#CC0000", penwidth=2.0];
|
|
|
|
// S004: scram stays when !manual_reset
|
|
scram -> scram [label="!manual_reset\n(S004)", color="#4477AA", penwidth=1.5];
|
|
|
|
// T005: scram -> shutdown when manual_reset
|
|
scram -> shutdown [label="manual_reset\n(T005)", color="#228B22", penwidth=2.0];
|
|
}
|