Lemonergy · Studio block

Controlled thermal resistance

Live thermal resistance with declared positive floor and limited-command diagnostic

Implementation ID
thermal-variable-resistance
Reviewed
2026-10-27

Behavior

Conserving component solved simultaneously with the connected network. Live thermal resistance with declared positive floor and limited-command diagnostic

Interface

Controlled thermal resistance interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Controlled thermal resistanceStudio blockheatFlowtemperaturelimitedab
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.
limitedoutputfractionRecorded limited 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
Thermal resistance
resistanceKW
K/W2Temperature difference required per unit heat flow.
Minimum 1e-09; Maximum 1000000000000
Minimum thermal resistance
minimumResistanceKW
K/W1e-06Positive floor applied to the commanded thermal resistance.
Minimum 1e-12; Maximum 1000000000

Equations and rules

  • R = max(Rcommand, Rmin)
  • Q̇a→b = (Ta − Tb)/R

Worked example

Controlled thermal resistance worked example

Editable first-party network. hot-boundary: 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
1320K0.00031999999999999997
limited
target/limited
10fraction1e-10

Use in a workflow

Controlled thermal resistance worked example

Live thermal resistance with declared positive floor and limited-command diagnostic

  1. Controlled thermal resistance: Conserving component solved simultaneously with the connected network. Live thermal resistance with declared positive floor and limited-command diagnostic
    • Use the block reference for settings and connections.
    • Implementation tested locally; public release pending.
Open Studio example after release

Connected concepts

Limits and interpretation

  • Live thermal resistance with declared positive floor and limited-command diagnostic
  • 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)