Catalog/eng-sensible-latent-heat

Engineering

Sensible & latent heat API

Computes sensible heat Q = m·cp·ΔT for a temperature change and latent heat Q = m·L for a phase change (with optional phase fraction), returning the total — the classic don't-forget-the-latent-term energy balance. Answers 'How much energy to heat and boil this water?', 'What is the total heat for a phase change?'.

Price$0.04per request
MethodPOST
Route/v1/engineering/sensible-latent-heat
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
engineeringthermofluidsthermodynamicssensible-heatlatent-heatspecific-heatphase-changeenthalpy
API URLhttps://x402.hexl.dev/v1/engineering/sensible-latent-heat
Integration docs
Example request
{
  "massKg": 2,
  "specificHeatJkgK": 4186,
  "deltaTempK": 80,
  "latentHeatJkg": 2257000
}
Example response
{
  "massKg": 2,
  "specificHeatJkgK": 4186,
  "deltaTempK": 80,
  "sensibleHeatJ": 669760,
  "sensibleHeatKJ": 669.76,
  "latentHeatJkg": 2257000,
  "phaseFraction": 1,
  "latentHeatJ": 4514000,
  "latentHeatKJ": 4514,
  "totalHeatJ": 5183760,
  "totalHeatKJ": 5183.76,
  "formula": "Q_sensible = m*cp*ΔT ; Q_latent = m*L ; Q_total = sum"
}
Input schema
{
  "type": "object",
  "required": [
    "massKg"
  ],
  "properties": {
    "massKg": {
      "type": "number",
      "description": "mass (kg)",
      "examples": [
        2
      ]
    },
    "specificHeatJkgK": {
      "type": "number",
      "description": "specific heat cp (J/kg·K) for sensible term"
    },
    "deltaTempK": {
      "type": "number",
      "description": "temperature change ΔT (K)"
    },
    "latentHeatJkg": {
      "type": "number",
      "description": "latent heat of phase change L (J/kg)"
    },
    "phaseFraction": {
      "type": "number",
      "description": "fraction of mass changing phase (0-1); default 1"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}