Math & Numbers
Calculadora de LMTD de Trocador (Diferença Média Logarítmica)
Calcula o LMTD (diferença média logarítmica de temperatura) de um trocador: paralelo ΔT₁=T_h,in-T_c,in, ΔT₂=T_h,out-T_c,out; contracorrente ΔT₁=T_h,in-T_c,out, ΔT₂=T_h,out-T_c,in. LMTD=(ΔT₁-ΔT₂)/ln(ΔT₁/ΔT₂); se ΔT₁=ΔT₂ toma-se ΔT₁; se algum ΔT ≤ 0 há cruzamento de temperaturas (impossível fisicamente) e ocorre erro. Opcionalmente, com o coeficiente global U (W/(m²·K)) e a área A (m²), obtém-se o fluxo de calor Q=U·A·LMTD (W). As temperaturas só importam como diferenças: Δ°C=ΔK e Δ°F×5/9=ΔK; o LMTD é dado em K.
Início rápido
Chame esta ferramenta a partir do seu código em três idiomas.
curl -X POST 'https://api.elysiatools.com/pt/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}'Referência da API
Envie uma requisição POST com suas entradas em JSON. Parâmetros do tipo arquivo exigem upload prévio.
Endpoint
POST https://api.elysiatools.com/pt/api/tools/heat-exchanger-lmtdParâmetros
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| flowType | select | Não | Flow arrangement: Parallel Flow (both streams in the same direction) or Counter Flow (opposite directions). |
| hotInletTemp | number | Sim | Hot-stream inlet temperature T_h,in, in the selected Temperature Unit. |
| hotOutletTemp | number | Sim | Hot-stream outlet temperature T_h,out, in the selected Temperature Unit. |
| coldInletTemp | number | Sim | Cold-stream inlet temperature T_c,in, in the selected Temperature Unit. |
| coldOutletTemp |
Integração MCP
Adicione esta ferramenta ao seu servidor Model Context Protocol para que agentes de IA possam listá-la e chamá-la.
Configuração do servidor
Adicione este bloco à configuração do seu cliente MCP:
{
"mcpServers": {
"elysiatools-heat-exchanger-lmtd": {
"name": "heat-exchanger-lmtd",
"description": "Calcula o LMTD (diferença média logarítmica de temperatura) de um trocador: paralelo ΔT₁=T_h,in-T_c,in, ΔT₂=T_h,out-T_c,out; contracorrente ΔT₁=T_h,in-T_c,out, ΔT₂=T_h,out-T_c,in. LMTD=(ΔT₁-ΔT₂)/ln(ΔT₁/ΔT₂); se ΔT₁=ΔT₂ toma-se ΔT₁; se algum ΔT ≤ 0 há cruzamento de temperaturas (impossível fisicamente) e ocorre erro. Opcionalmente, com o coeficiente global U (W/(m²·K)) e a área A (m²), obtém-se o fluxo de calor Q=U·A·LMTD (W). As temperaturas só importam como diferenças: Δ°C=ΔK e Δ°F×5/9=ΔK; o LMTD é dado em K.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=heat-exchanger-lmtd",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Listar ferramentas disponíveis
Após conectar ao endpoint SSE, liste as ferramentas expostas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Chamar esta ferramenta
Invoque a ferramenta pelo seu id; os argumentos são construídos a partir de seus parâmetros:
{
"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
}
}
}