Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

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.

json· JSON resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
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

HTTP
POST https://api.elysiatools.com/en/api/tools/psychrometric-properties

Parameters

NameTypeRequiredDescription
dryBulbnumberYesDry-bulb (ambient air) temperature, in the selected Temperature Unit.
tempUnitselectNo—
humidityInputselectNoWhich humidity parameter the Humidity Input Value represents.
humidityValuenumberYesValue 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.
humidityRatioUnitselect

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:

mcp.json
{
  "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:

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

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "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
}
  }
}
Browse toolsOpen tool

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools
No
—
pressurenumberNoTotal atmospheric pressure P, in the selected Pressure Unit. Default 101.325 kPa (sea level).
pressureUnitselectNo—
decimalPlacesnumberNo—

Response format

JSON result

JSON
{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).

Questions or issues? Contact [email protected]