Lemonergy · Studio block
Phase-change thermal mass
Enthalpy storage with a finite linear melting interval; constant sensible heat capacity, no supercooling or hysteresis
- Implementation ID
phase-change-mass- Reviewed
- 2026-10-27
Behavior
Conserving component solved simultaneously with the connected network. Enthalpy storage with a finite linear melting interval; constant sensible heat capacity, no supercooling or hysteresis
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
h | terminal | K; W | thermal conserving connection; absolute temperature with balanced heat flow. |
temperature | output | K | Recorded temperature measurement from the conserving simulation. |
liquidFraction | output | fraction | Recorded liquid fraction measurement from the conserving simulation. |
storedEnergy | output | J | Recorded stored energy 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 |
|---|---|---|---|
MassmassKg | kg | 1 | Material mass that contributes sensible and, where enabled, latent heat storage. Minimum 1e-09; Maximum 1000000000 |
Specific heat capacityspecificHeatJkgK | J/(kg K) | 2000 | Sensible heat required per unit mass and kelvin. Minimum 1e-06; Maximum 1000000000 |
Latent heatlatentHeatJkg | J/kg | 200000 | Energy per unit mass stored while the liquid fraction changes from zero to one. Minimum 0; Maximum 1000000000 |
Solidus temperaturesolidusK | K | 330 | Temperature at which melting begins in the finite transition interval. Minimum 0; Maximum 5000 |
Liquidus temperatureliquidusK | K | 334 | Temperature at which the model is fully liquid. Minimum 0; Maximum 5000 |
Initial temperatureinitialTemperatureK | K | 300 | Absolute initial temperature of the thermal storage. Minimum 0; Maximum 5000 |
Equations and rules
H = m cp T + m latentHeat × liquidFractionliquidFraction = clip((T − solidus)/(liquidus − solidus), 0, 1)dH/dt = Σ Q̇in
Worked example
Phase-change thermal mass worked example
Editable first-party network. mass: specificHeatJkgK=2; mass: latentHeatJkg=100; mass: solidusK=310; mass: liquidusK=320; mass: initialTemperatureK=310; heater: heatFlowW=12. Checks below were verified in the native execution engine.
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
temperaturemass/temperature | 1 | 311 | K | 0.00031100000000000273 |
liquidFractionmass/liquidFraction | 1 | 0.1 | fraction | 1.0000000000020123e-07 |
storedEnergymass/storedEnergy | 1 | 12 | J | 1.2000000000020007e-05 |
Use in a workflow
Phase-change thermal mass worked example
Enthalpy storage with a finite linear melting interval; constant sensible heat capacity, no supercooling or hysteresis
- Phase-change thermal mass: Conserving component solved simultaneously with the connected network. Enthalpy storage with a finite linear melting interval; constant sensible heat capacity, no supercooling or hysteresis
- Use the block reference for settings and connections.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- Enthalpy storage with a finite linear melting interval; constant sensible heat capacity, no supercooling or hysteresis
- 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.
- Phase Changes
OpenStax, Rice University
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)