Merge pull request #32 from fhb/patch-2

Patch 2
This commit is contained in:
Frank Haverland
2023-04-16 19:19:26 +02:00
committed by GitHub
2 changed files with 6 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
# Parameter `<NUMBER>.MaxRateType`
Default Value: `AbsoluteChange`
Defines if the **Change Rate** compared to the previous value is calculated as absolute change (`AbsoluteChange`) or
as rate normalized to the interval (`RateChange` = change/minute).
Defines if the **Change Rate** is calculated as the difference between the last two readings (`AbsoluteChange` = difference) or
as the difference normalized to the interval (`RateChange` = difference per minute).

View File

@@ -1,5 +1,6 @@
# Parameter `<NUMBER>.MaxRateValue`
Default Value: `0.05`
Default Value: `0,05`
Maximum change of a reading.
Depending on the settings of `<NUMBER>.MaxRateType` it is either treated as `absolute` or `relative`!
Maximum allowed change between two readings, if exceeded the last reading will be rejected. Depending on the settings of `<NUMBER>.MaxRateType` the `MaxRateValue` is either treated as the difference between the two measurements (`AbsoluteChange` = difference) not taking the set time interval into account or as the difference normalized to the interval (`RateChange` = difference per minute).
If negative rate is disallowed and no maximum rate value is set, one false high reading will lead to a period of missing measurements until the measurement reaches the previous false high reading. E.g. if the counter is at `600,00` and it's read incorrectly as` 610,00`, all measurements will be skipped until the counter reaches `610,00`. Setting the MaxRateValue to `0,05` leads to a rejection of all readings with a difference `> 0,05`, in this case `610,00`. The rejection also applies to correct readings with a difference `> 0,05`!