Lemonergy · Studio block
Temperature difference source
Ideal constraint Tb-Ta; reaction heat flow is solved, not prescribed
- Implementation ID
thermal-temperature-source- Reviewed
- 2026-10-27
Behavior
Conserving component solved simultaneously with the connected network. Ideal constraint Tb-Ta; reaction heat flow is solved, not prescribed
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
a | terminal | K; W | thermal conserving connection; absolute temperature with balanced heat flow. |
b | terminal | K; W | thermal conserving connection; absolute temperature with balanced heat flow. |
heatFlow | output | W | Recorded heat flow measurement from the conserving simulation. |
temperature | output | K | Recorded temperature measurement from the conserving simulation. |
branchHeatFlow | output | W | Recorded branchHeatFlow measurement from the conserving simulation. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
Temperature differencedifferenceK | K difference | 300 | Temperature at terminal b minus temperature at terminal a. Minimum -5000; Maximum 5000 |
Equations and rules
Tb − Ta = configured temperature difference
Worked example
Temperature difference source worked example
Editable first-party network. target: differenceK=320; cold-boundary: differenceK=300. Checks below were verified in the native execution engine.
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
heatFlowtarget/heatFlow | 1 | 10 | W | 9.999999999999999e-06 |
temperaturetarget/temperature | 1 | 0 | K | 1e-10 |
branchHeatFlowtarget/branchHeatFlow | 1 | 10 | W | 9.999999999999999e-06 |
Use in a workflow
Temperature difference source worked example
Ideal constraint Tb-Ta; reaction heat flow is solved, not prescribed
- Temperature difference source: Conserving component solved simultaneously with the connected network. Ideal constraint Tb-Ta; reaction heat flow is solved, not prescribed
- Use the block reference for settings and connections.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- Ideal constraint Tb-Ta; reaction heat flow is solved, not prescribed
- Demonstration parameters are not calibrated hardware data. Singular or incompatible ideal constraints and unsupported state ranges stop the run.
Scientific and mathematical references
These sources explain the scientific and mathematical background. The behavior, interface and limits above define the Lemonergy implementation; a citation does not imply every model option in the source is implemented.
- University Physics Volume 2, §1.6: Mechanisms of Heat Transfer
OpenStax, Rice University
Technical reference · Conduction, convection, radiation and thermal resistance.
- Enthalpy
NASA Glenn Research Center
Technical reference · Underlying physical law or reduced-model basis; Lemonergy implementation choices and limits are documented separately.
Implementation sources
This reference follows the public interface and locally verified numerical checks for an upcoming release.
Contract: Lemonergy Studio public contract · Verification record: verification-2026-10-27
docs/glossary/native-block-verification.json
This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)