@@ -58,7 +58,7 @@ Models represent physical systems with internal state and differential equations
5858** Fields:**
5959
6060- ` id ` (string, required) - Unique model identifier
61- - ` type ` (string, required) - Model type (` "thermal_mass" ` only in v1.0 )
61+ - ` type ` (string, required) - Model type (built-in: ` "thermal_mass" ` , ` "thermal_rc2" ` )
6262- ` params ` (object, required) - Model-specific parameters
6363
6464### ThermalMass Model
@@ -74,6 +74,7 @@ Lumped thermal capacitance with heat transfer: `C * dT/dt = P - h * (T - T_ambie
7474| ` thermal_mass ` | number | J/K | Heat capacity (must be > 0) |
7575| ` heat_transfer_coeff ` | number | W/K | Heat transfer coefficient (must be > 0) |
7676| ` initial_temp ` | number | degC | Initial temperature |
77+ | ` integration_method ` | string | - | Optional: ` "forward_euler" ` (default) or ` "rk4" ` |
7778
7879** Example:**
7980
@@ -94,6 +95,49 @@ Lumped thermal capacitance with heat transfer: `C * dT/dt = P - h * (T - T_ambie
9495
9596** Stability:** Forward Euler integration requires ` dt < 2 * thermal_mass / heat_transfer_coeff `
9697
98+ ### ThermalRc2 Model
99+
100+ Two-node thermal RC network with ambient coupling and inter-node conductance.
101+
102+ ** Parameters:**
103+ | Parameter | Type | Units | Description |
104+ | -----------| ------| -------| -------------|
105+ | ` temp_signal_a ` | string | - | Output signal path for node A temperature |
106+ | ` temp_signal_b ` | string | - | Output signal path for node B temperature |
107+ | ` power_signal ` | string | W | Input signal path for heating power (applied to node A) |
108+ | ` ambient_signal ` | string | degC | Input signal path for ambient temperature |
109+ | ` thermal_mass_a ` | number | J/K | Heat capacity of node A (must be > 0) |
110+ | ` thermal_mass_b ` | number | J/K | Heat capacity of node B (must be > 0) |
111+ | ` heat_transfer_coeff_a ` | number | W/K | Ambient coupling of node A (must be > 0) |
112+ | ` heat_transfer_coeff_b ` | number | W/K | Ambient coupling of node B (must be > 0) |
113+ | ` coupling_coeff ` | number | W/K | Conductance between nodes (must be >= 0) |
114+ | ` initial_temp_a ` | number | degC | Initial temperature of node A |
115+ | ` initial_temp_b ` | number | degC | Initial temperature of node B |
116+ | ` integration_method ` | string | - | Optional: ` "forward_euler" ` (default) or ` "rk4" ` |
117+
118+ ** Example:**
119+
120+ ``` json
121+ {
122+ "id" : " chamber_rc" ,
123+ "type" : " thermal_rc2" ,
124+ "params" : {
125+ "temp_signal_a" : " chamber.shell_temp" ,
126+ "temp_signal_b" : " chamber.core_temp" ,
127+ "power_signal" : " chamber.heater_power" ,
128+ "ambient_signal" : " ambient.temp" ,
129+ "thermal_mass_a" : 1000.0 ,
130+ "thermal_mass_b" : 2000.0 ,
131+ "heat_transfer_coeff_a" : 10.0 ,
132+ "heat_transfer_coeff_b" : 8.0 ,
133+ "coupling_coeff" : 6.0 ,
134+ "initial_temp_a" : 25.0 ,
135+ "initial_temp_b" : 25.0 ,
136+ "integration_method" : " rk4"
137+ }
138+ }
139+ ```
140+
97141## Edges
98142
99143Edges connect signals through transforms, defining the dataflow graph.
0 commit comments