Reference data

Get consumption profile

Changed on

Distributes a yearly consumption over the 12 calendar months by a TDD class's seasonal shape — the same load profile the calculator models with, summed per month. Returns 12 items whose values add up to exactly the input; use it to draw the consumption graph in a wizard. The tdd value comes from GET /api/v1/reference/distribution-rates.

get/api/v1/reference/consumption-profile

Request

  • Base URL
    https://api.partner.cubee.cz
  • URL
    https://api.partner.cubee.cz/api/v1/reference/consumption-profile
  • Auth
    none required

Query parameters

tddstring

TDD load-profile class, "TDD1"–"TDD8" (a bare "1"–"8" also works).

yearlyConsumptionKWhnumber double

Total yearly consumption to distribute, in kWh. Must be positive.

Response

OK

monthinteger

Calendar month, 1 (January) – 12 (December).

consumptionKWhnumber double

Consumption modelled for that month, in kWh.

Example response

[
  {
    "month": 1,
    "consumptionKWh": 424.53
  }
]

Changes