81trust / 100

Building Heat Demand

by solar.halowerk.com in Other

x402 APIPassing, checked 2 h ago

Computes a transparent planning estimate for space-heating demand. The method is not DIN, VDI, GEG or PHPP and must not be used as regulatory proof. It combines transmission heat loss from each envelope component, ventilation heat loss from heated volume and air changes, monthly heating degree days from the nearest DWD 1991-2020 temperature-normal station, stated internal gains and optional domestic hot water.

POST https://solar.halowerk.com/building-heat-demand

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
112 ms typical, 112 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://solar.halowerk.com/building-heat-demand" \
  -H "content-type: application/json" \
  -d '{"domestic_hot_water_kwh_year":1800,"envelope":[{"area_m2":168,"name":"external walls","u_value_w_m2k":0.22},{"area_m2":118,"name":"roof","u_value_w_m2k":0.16},{"area_m2":92,"name":"ground floor","u_value_w_m2k":0.25},{"area_m2":31,"name":"windows","u_value_w_m2k":0.95}],"heated_floor_area_m2":145,"heated_volume_m3":365,"lat":52.52,"lon":13.405,"max_station_distance_km":70,"profile":{"heating_base_temp_c":15,"indoor_temp_c":20,"internal_gains_w":350},"system_efficiency":0.92,"ventilation":{"air_changes_per_hour":0.45,"heat_recovery_efficiency":0.15}}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsolar.halowerk.com%2Fbuilding-heat-demand
const res = await pay("https://solar.halowerk.com/building-heat-demand", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"domestic_hot_water_kwh_year":1800,"envelope":[{"area_m2":168,"name":"external walls","u_value_w_m2k":0.22},{"area_m2":118,"name":"roof","u_value_w_m2k":0.16},{"area_m2":92,"name":"ground floor","u_value_w_m2k":0.25},{"area_m2":31,"name":"windows","u_value_w_m2k":0.95}],"heated_floor_area_m2":145,"heated_volume_m3":365,"lat":52.52,"lon":13.405,"max_station_distance_km":70,"profile":{"heating_base_temp_c":15,"indoor_temp_c":20,"internal_gains_w":350},"system_efficiency":0.92,"ventilation":{"air_changes_per_hour":0.45,"heat_recovery_efficiency":0.15}}),
});
console.log(await res.json());

Example input

{
  "domestic_hot_water_kwh_year": 1800,
  "envelope": [
    {
      "area_m2": 168,
      "name": "external walls",
      "u_value_w_m2k": 0.22
    },
    {
      "area_m2": 118,
      "name": "roof",
      "u_value_w_m2k": 0.16
    },
    {
      "area_m2": 92,
      "name": "ground floor",
      "u_value_w_m2k": 0.25
    },
    {
      "area_m2": 31,
      "name": "windows",
      "u_value_w_m2k": 0.95
    }
  ],
  "heated_floor_area_m2": 145,
  "heated_volume_m3": 365,
  "lat": 52.52,
  "lon": 13.405,
  "max_station_distance_km": 70,
  "profile": {
    "heating_base_temp_c": 15,
    "indoor_temp_c": 20,
    "internal_gains_w": 350
  },
  "system_efficiency": 0.92,
  "ventilation": {
    "air_changes_per_hour": 0.45,
    "heat_recovery_efficiency": 0.15
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402143 ms$0.004
7 h agoPassed402112 ms$0.004