calculate_compute_energy_cost
calculate_compute_energy_costRead-onlyIdempotent
Purpose: a transparent compute-facility energy and cost estimate - IT load x PUE x hours (x tariff). Guidelines: supply it_power_kw; optionally pue (otherwise a published benchmark from the dataset is used and cited), hours (defaults to a full year) and electricity_price (without it only energy is returned). Limits: excludes non-cooling auxiliary loads, transmission losses, demand and capacity charges, green-power premia and carbon cost; the tariff must come from the caller. Ex: calculate_compute_energy_cost(it_power_kw=1000, electricity_price=0.6).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pue | No | PUE(可选);不填则取库内公开基准并标注来源 | |
| hours | No | 运行时长(小时),默认 8760(全年) | |
| language | No | 输出语言 | zh |
| it_power_kw | Yes | IT 设备功率(kW),须 >0 | |
| response_format | No | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable). | markdown |
| electricity_price | No | 电价(元/kWh);不填则只返回用电量 |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Human-readable result (markdown, or a JSON string when response_format=json). |