Elysia Tools Docs
ES
Idioma
ZHESPTRUFRDEEN
Volver al sitio
Explorar herramientas

Math & Numbers

Calculadora de LMTD de Intercambiador (Diferencia Media Logarítmica)

Calcula el LMTD (diferencia media logarítmica de temperatura) de un intercambiador: en paralelo ΔT₁=T_h,in-T_c,in, ΔT₂=T_h,out-T_c,out; en contracorriente ΔT₁=T_h,in-T_c,out, ΔT₂=T_h,out-T_c,in. LMTD=(ΔT₁-ΔT₂)/ln(ΔT₁/ΔT₂); si ΔT₁=ΔT₂ se toma ΔT₁; si algún ΔT ≤ 0 hay cruce de temperaturas (imposible físicamente) y se lanza error. Opcionalmente, con el coeficiente global U (W/(m²·K)) y el área A (m²), se obtiene el flujo de calor Q=U·A·LMTD (W). Las temperaturas solo se usan como diferencias: Δ°C=ΔK y Δ°F×5/9=ΔK; el LMTD se expresa en K.

json· Resultado JSONAbrir herramienta

Inicio rápido

Llama a esta herramienta desde tu código en tres lenguajes.

cURL
curl -X POST 'https://api.elysiatools.com/es/api/tools/heat-exchanger-lmtd' \
  -H 'Content-Type: application/json' \
  -d '{"flowType":"counter","hotInletTemp":100,"hotOutletTemp":60,"coldInletTemp":20,"coldOutletTemp":50,"tempUnit":"°C","heatTransferCoeff":0,"area":0,"decimalPlaces":4}'

Referencia de la API

Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.

Endpoint

HTTP
POST https://api.elysiatools.com/es/api/tools/heat-exchanger-lmtd

Parámetros

NombreTipoObligatorioDescripción
flowTypeselectNoFlow arrangement: Parallel Flow (both streams in the same direction) or Counter Flow (opposite directions).
hotInletTempnumberSíHot-stream inlet temperature T_h,in, in the selected Temperature Unit.
hotOutletTempnumberSíHot-stream outlet temperature T_h,out, in the selected Temperature Unit.
coldInletTempnumberSíCold-stream inlet temperature T_c,in, in the selected Temperature Unit.
coldOutletTemp

Integración MCP

Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.

Configuración del servidor

Añade este bloque a la configuración de tu cliente MCP:

mcp.json
{
  "mcpServers": {
    "elysiatools-heat-exchanger-lmtd": {
      "name": "heat-exchanger-lmtd",
      "description": "Calcula el LMTD (diferencia media logarítmica de temperatura) de un intercambiador: en paralelo ΔT₁=T_h,in-T_c,in, ΔT₂=T_h,out-T_c,out; en contracorriente ΔT₁=T_h,in-T_c,out, ΔT₂=T_h,out-T_c,in. LMTD=(ΔT₁-ΔT₂)/ln(ΔT₁/ΔT₂); si ΔT₁=ΔT₂ se toma ΔT₁; si algún ΔT ≤ 0 hay cruce de temperaturas (imposible físicamente) y se lanza error. Opcionalmente, con el coeficiente global U (W/(m²·K)) y el área A (m²), se obtiene el flujo de calor Q=U·A·LMTD (W). Las temperaturas solo se usan como diferencias: Δ°C=ΔK y Δ°F×5/9=ΔK; el LMTD se expresa en K.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=heat-exchanger-lmtd",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

Listar herramientas disponibles

Tras conectar al endpoint SSE, lista las herramientas expuestas:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Llamar a esta herramienta

Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "heat-exchanger-lmtd",
    "arguments": {
  "flowType": "counter",
  "hotInletTemp": 100,
  "hotOutletTemp": 60,
  "coldInletTemp": 20,
  "coldOutletTemp": 50,
  "tempUnit": "°C",
  "heatTransferCoeff": 0,
  "area": 0,
  "decimalPlaces": 4
}
  }
}
Explorar herramientasAbrir herramienta

© 2026 Elysia Tools. Documentación para desarrolladores.

Volver al sitioExplorar herramientas
number
Sí
Cold-stream outlet temperature T_c,out, in the selected Temperature Unit.
tempUnitselectNoUnit of the four stream temperatures. Only differences matter: Δ°C = ΔK and Δ°F ×5/9 = ΔK.
heatTransferCoeffnumberNoOverall heat transfer coefficient U in W/(m²·K). Optional; when supplied together with A, the heat transfer rate Q = U·A·LMTD is computed.
areanumberNoHeat transfer area A in m². Optional; when supplied together with U, the heat transfer rate Q = U·A·LMTD is computed.
decimalPlacesnumberNo—

Formato de respuesta

Resultado JSON

JSON
{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
Encadena varias herramientas en una sesión con una lista toolId separada por comas, p. ej. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (máx. 20).

¿Dudas o problemas? Contacta con [email protected]