From 8ff516ef38292b9a2f8d0893cdf261c1129ddf9c Mon Sep 17 00:00:00 2001 From: Thijs Putman Date: Tue, 25 May 2021 13:06:50 +0200 Subject: [PATCH] Clarify unit_prefix and unit_time for Riemann sum integral (#17895) * Clarify unit_prefix and unit_time usage * US English --- source/_integrations/integration.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_integrations/integration.markdown b/source/_integrations/integration.markdown index 29e73ce2b55..f45780e295b 100644 --- a/source/_integrations/integration.markdown +++ b/source/_integrations/integration.markdown @@ -64,7 +64,9 @@ method: default: trapezoidal {% endconfiguration %} -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. If `unit` is set then `unit_prefix` and `unit_time` are ignored. +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. ## Energy