Math & Numbers
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.
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}'Envie uma requisição POST com suas entradas em JSON. Parâmetros do tipo arquivo exigem upload prévio.
POST https://api.elysiatools.com/pt/api/tools/heat-exchanger-lmtd| 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 |
Adicione esta ferramenta ao seu servidor Model Context Protocol para que agentes de IA possam listá-la e chamá-la.
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"
}
}
}Após conectar ao endpoint SSE, liste as ferramentas expostas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}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
}
}
}| number |
| Sim |
| Cold-stream outlet temperature T_c,out, in the selected Temperature Unit. |
| tempUnit | select | Não | Unit of the four stream temperatures. Only differences matter: Δ°C = ΔK and Δ°F ×5/9 = ΔK. |
| heatTransferCoeff | number | Não | Overall heat transfer coefficient U in W/(m²·K). Optional; when supplied together with A, the heat transfer rate Q = U·A·LMTD is computed. |
| area | number | Não | Heat transfer area A in m². Optional; when supplied together with U, the heat transfer rate Q = U·A·LMTD is computed. |
| decimalPlaces | number | Não | — |
Resultado JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Dúvidas ou problemas? Contate [email protected]