Math & Numbers
Dimensionne un conduit à partir du débit Q et de la vitesse de projet v : section A=Q/v. Circulaire : diamètre D=√(4A/π). Rectangulaire de rapport r=a/b : b=√(A/r), a=r·b, diamètre équivalent ASHRAE D_éq=1,30·(a·b)^0,625/(a+b)^0,25. Débit en m³/s/m³/h/CFM ; résultats en mm et pouces.
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/duct-size-calculator' \
-H 'Content-Type: application/json' \
-d '{"shape":"rectangular","flowRate":1000,"flowUnit":"m3/h","velocity":4,"aspectRatio":2,"decimalPlaces":2}'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/duct-size-calculator| Nom | Type | Requis | Description |
|---|---|---|---|
| shape | select | Non | Duct cross-section shape: Rectangular or Circular. |
| flowRate | number | Oui | Volumetric air flow rate Q. Enter in the selected Flow Unit. |
| flowUnit | select | Non | — |
| velocity | number | Oui | Design mean air velocity v in m/s. Typical: low-pressure 3–5 m/s, main 6–8 m/s. |
| aspectRatio | number | Non |
Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-duct-size-calculator": {
"name": "duct-size-calculator",
"description": "Dimensionne un conduit à partir du débit Q et de la vitesse de projet v : section A=Q/v. Circulaire : diamètre D=√(4A/π). Rectangulaire de rapport r=a/b : b=√(A/r), a=r·b, diamètre équivalent ASHRAE D_éq=1,30·(a·b)^0,625/(a+b)^0,25. Débit en m³/s/m³/h/CFM ; résultats en mm et pouces.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=duct-size-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "duct-size-calculator",
"arguments": {
"shape": "rectangular",
"flowRate": 1000,
"flowUnit": "m3/h",
"velocity": 4,
"aspectRatio": 2,
"decimalPlaces": 2
}
}
}| Rectangular duct aspect ratio r = a/b (long side over short side). Used only when Duct Shape = Rectangular. Typical 1–4. Default 2. |
| decimalPlaces | number | Non | — |
Résultat JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Des questions ou un problème ? Contactez [email protected]