Math & Numbers
Psychrometric Properties (Humidity Ratio / Enthalpy / RH)
Compute the full set of moist-air (psychrometric) state properties from dry-bulb temperature plus one humidity input (relative humidity φ, wet-bulb temperature, dew-point temperature, or humidity ratio W). Returns humidity ratio W (kg/kg and g/kg), relative humidity φ (%), dew-point, wet-bulb, enthalpy h (kJ/kg dry air), specific volume v (m³/kg dry air), partial vapour pressure P_w, and saturation pressure P_ws. Uses the Magnus saturation-pressure fit; wet-bulb is solved iteratively from the thermodynamic psychrometric equation. Default standard atmosphere 101.325 kPa (adjustable). Temperature in °C/K/°F; all reported temperatures are in °C.
Quick start
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/psychrometric-properties' \
-H 'Content-Type: application/json' \
-d '{"dryBulb":25,"tempUnit":"°C","humidityInput":"rh","humidityValue":50,"humidityRatioUnit":"g/kg","pressure":101.325,"pressureUnit":"kPa","decimalPlaces":4}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
POST https://api.elysiatools.com/en/api/tools/psychrometric-propertiesParameters
| Name | Type | Required | Description |
|---|---|---|---|
| dryBulb | number | Yes | Dry-bulb (ambient air) temperature, in the selected Temperature Unit. |
| tempUnit | select | No | — |
| humidityInput | select | No | Which humidity parameter the Humidity Input Value represents. |
| humidityValue | number | Yes | Value of the selected Known Humidity Input. RH in % (0–100); wet-bulb / dew-point in the selected Temperature Unit; humidity ratio in the selected Humidity Ratio Unit. |
| humidityRatioUnit | select |
MCP integration
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Server configuration
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-psychrometric-properties": {
"name": "psychrometric-properties",
"description": "Compute the full set of moist-air (psychrometric) state properties from dry-bulb temperature plus one humidity input (relative humidity φ, wet-bulb temperature, dew-point temperature, or humidity ratio W). Returns humidity ratio W (kg/kg and g/kg), relative humidity φ (%), dew-point, wet-bulb, enthalpy h (kJ/kg dry air), specific volume v (m³/kg dry air), partial vapour pressure P_w, and saturation pressure P_ws. Uses the Magnus saturation-pressure fit; wet-bulb is solved iteratively from the thermodynamic psychrometric equation. Default standard atmosphere 101.325 kPa (adjustable). Temperature in °C/K/°F; all reported temperatures are in °C.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=psychrometric-properties",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "psychrometric-properties",
"arguments": {
"dryBulb": 25,
"tempUnit": "°C",
"humidityInput": "rh",
"humidityValue": 50,
"humidityRatioUnit": "g/kg",
"pressure": 101.325,
"pressureUnit": "kPa",
"decimalPlaces": 4
}
}
}