From ef3bf5d8ffec0906c3c9d1c55e74160139ce2d13 Mon Sep 17 00:00:00 2001 From: Diogo Gomes Date: Wed, 22 Sep 2021 18:47:06 +0100 Subject: [PATCH] Deprecate `unit` in integration Riemann Sum (#19237) --- source/_integrations/integration.markdown | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/_integrations/integration.markdown b/source/_integrations/integration.markdown index a49ea9cc2d1..b9ea8adcd79 100644 --- a/source/_integrations/integration.markdown +++ b/source/_integrations/integration.markdown @@ -53,10 +53,6 @@ unit_time: required: false default: h type: string -unit: - description: Unit of measurement to be used for the integration. - required: false - type: string method: description: "Riemann sum method to be used. Available methods are `trapezoidal`, `left` and `right`." required: false @@ -66,7 +62,7 @@ method: In case you have an appliance which produces spikey consumption (like an on/off electrical boiler) you should opt for the `left` method to get accurate readings. -The unit of `source` together with `unit_prefix` and `unit_time` is used to generate a unit for the integral product (e.g. a source in `W` with prefix `k` and time `h` would result in `kWh`). You can override this behavior by providing a custom value for `unit`. Note that `unit_prefix` and `unit_time` are _also_ relevant to the Riemann sum calculation. Even if you provide a custom value for `unit`, ensure prefix and time accurately reflect the properties of your source data. +The unit of `source` together with `unit_prefix` and `unit_time` is used to generate a unit for the integral product (e.g. a source in `W` with prefix `k` and time `h` would result in `kWh`). Note that `unit_prefix` and `unit_time` are _also_ relevant to the Riemann sum calculation. ## Energy