Heat Flow Source
Thermal
Run the live example
Free · no sign-up · runs in your browser
The Heat Flow Source block is an ideal through-flow source that injects a prescribed thermal heat flux into the network from port B to port A, regardless of the temperature difference across the ports.
When the optional control port in (Ctrl) is connected, it dynamically modulates the injected heat flux, allowing accurate modeling of electrical Joule heating (), mechanical friction dissipation (), or hydraulic valve throttling ().
Real-World Analog: Represents an electric resistance cartridge heater, CPU thermal dissipation, or solar irradiance injecting heat flux in Watts.
Mathematical Model
The injected thermal heat flux is defined by:
Where:
Qis the heat flow rate injected from port B to port A in Watts (W).Q_{ctrl}is the incoming control signal in Watts (W).Q_{param}is the static heat flow parameter in Watts (W).
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | in |
Ctrl | number | Optional |
| → In | p |
A | number | Required |
| → In | n |
B | number | Required |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
heat_flow |
Heat Flow (Q) | number | 100 |
Prescribed heat flow rate in Watts injected from port B to port A |
Usage Examples
Electrical Joule Heating Element
Model an electric heater powered by a step signal:
Step -> HeatFlowSource(Ctrl) -> ThermalMass(water_tank)
Modulated Friction Heat Dissipation
Simulate mechanical brake or bearing friction heating a thermal mass:
Product(torque * speed) -> HeatFlowSource(Ctrl) -> ThermalMass(caliper) -> ConvectionRemarks & Best Practices
- Through-Variable Injection: In MNA, the heat flow directly updates the excitation vector as a nodal heat source.
- Cross-Domain Coupling: Ideal for receiving dissipated power from electrical, mechanical, or hydraulic domains.
- Reference Independence: Port B can be wired to ambient or ground reference to simulate single-ended heating.
- WASM Performance: Stamped and solved in WebAssembly without numerical iterations.
Related Components
- TemperatureSource: Prescribed boundary temperature reference
- ThermalMass: Lumped heat capacitance and energy storage
- ThermalResistor: Linear thermal conduction resistance
- HeatFlowSensor: Measures heat flow rate through a thermal branch