Temperature Source
Thermal
Run the live example
Free · no sign-up · runs in your browser
The Temperature Source block sets an ideal constant or signal-modulated temperature boundary condition at its thermal port. It serves as an across-variable potential source and datum reference node for the connected thermal domain network, supplying or absorbing any heat flux required to maintain the prescribed temperature.
When the optional control port in (Ctrl) is wired to a causal signal, it overrides the static temperature parameter, enabling dynamic temperature profiles, climate chambers, and ambient weather diurnal cycles.
Real-World Analog: Represents a thermostatic heat bath, Peltier cooler, or PID-regulated heated plate holding a fixed or programmed temperature.
Mathematical Model
The enforced port temperature is given by:
Where:
T_{port}is the absolute temperature enforced at port T in Kelvin (K).T_{ctrl}is the incoming control signal in Kelvin (K).T_{param}is the static temperature parameter in Kelvin (K).
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | in |
Ctrl | number | Optional |
| → In | p |
T | number | Required |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
temperature |
Temperature (T) | number | 293.15 |
Boundary temperature in Kelvin (293.15 K = 20 °C, 373.15 K = 100 °C) |
Usage Examples
Constant Ambient Boundary
Establish an isothermal ambient boundary for heat dissipation:
ThermalMass -> ThermalResistor -> TemperatureSource(temperature: 293.15)
Climate Chamber Trajectory
Modulate thermal chamber temperature using a Signal Generator ramp:
Ramp -> TemperatureSource(Ctrl) -> Convection -> TestArticleRemarks & Best Practices
- Thermal Datum: Every physical thermal island requires at least one reference boundary. Connecting a Temperature Source anchors the thermal potential of the network.
- Signal Modulation: The optional
Ctrlinput dynamically overrides the static parameter on every simulation timestep. - Infinite Reservoir: Acts as an ideal infinite heat reservoir able to supply or sink arbitrary thermal power without changing temperature.
- WASM Performance: Stamped as an across-variable constraint in the MNA solver vector in compiled WebAssembly.
Related Components
- HeatFlowSource: Prescribed heat flow rate generator
- ThermalMass: Lumped heat capacitance and energy storage
- ThermalResistor: Linear thermal conduction resistance
- TemperatureSensor: Absolute temperature sensor probe