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

Temperature difference source interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Temperature difference sourceStudio blockheatFlowtemperaturebranchHeatFlowab
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
aterminalK; Wthermal conserving connection; absolute temperature with balanced heat flow.
bterminalK; Wthermal conserving connection; absolute temperature with balanced heat flow.
heatFlowoutputWRecorded heat flow measurement from the conserving simulation.
temperatureoutputKRecorded temperature measurement from the conserving simulation.
branchHeatFlowoutputWRecorded branchHeatFlow measurement from the conserving simulation.

Parameters

Defaults are initial model values. Select values for your own model and operating conditions.

Configuration fields
ParameterUnitDefaultMeaning and limits
Temperature difference
differenceK
K difference300Temperature 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 →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
heatFlow
target/heatFlow
110W9.999999999999999e-06
temperature
target/temperature
10K1e-10
branchHeatFlow
target/branchHeatFlow
110W9.999999999999999e-06

Use in a workflow

Temperature difference source worked example

Ideal constraint Tb-Ta; reaction heat flow is solved, not prescribed

  1. 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.
Open Studio example after release

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.

  1. University Physics Volume 2, §1.6: Mechanisms of Heat Transfer

    OpenStax, Rice University

    Technical reference · Conduction, convection, radiation and thermal resistance.

  2. 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)