Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

TB - totalConsumptionTolZeroCheck.xml

Checks This validator should be set up for specific Accounts where you want to check zero consumption on this bill and/or previous bill. It is advised to set up at Account Level rather than Organisation.

*Similar to TB - totalCosumptionTolYearZeroCheck.xml, which checks the previous years bill.


NOTE:  This Validator needs to be set up on the Tenant Account or Organisation (NOT the Site).

Validator Set Up

Image Modified

Variables

VariableDescription
Tolerance % for consumption variation on previous Tenant Bill, if both non-zero:Percentage variance allowed where current bill and previous bill consumption greater than zero
PASS if present bill = zero, previous bill = zero (bzz)

Select if validation should pass where both current and previous bills are zero

bzz – pass if this bill and the previous bill both have zero consumption
PASS if present bill = zero, previous bill non zero (bznz)

Select if validation should pass where the current bill is zero but the previous bill has consumption e.g. where property is now empty

bznz – pass if this bill has zero consumption, previous bill has consumption
PASS if present bill = non-zero, previous bill zero (bnzz)

Select if validation should pass where current bill has consumption and previous bills are zero e.g. property was previously empty

bnzz – pass if this bill has consumption , and previous bill has zero consumption

PASS if cons difference % fails but kWh trivial, below significance limit (ignored if 0)

Enter a kWh value that can be used if the validator fails but by a small amount e.g.

Main tolerance set to 10% and 500 kWh significance limit:

Current cons = 4975 kWh

Previous cons = 4500 kWh

Difference = 475

This fails 10% tolerance as 4950 is the limit, but passes as less than 500 significance limit

If the user leaves the value as 0 then the bill would just FAIL on the breach of 10% (> 450)

Current Bill details

Image RemovedImage Added


Failure Prompt

...

Image Added

Explanation:   - This example is where none of the options have been ticked, and there is no consumption on this bill, but there is consumption om the previous bill

Total cons within % of previous Tenant Bill. PASS/FAIL on selected bill = zero criteria: FAILED

kWhLimit=010.00  - the 'Pass if cons difference%' figure in the Validator (last field) = 0 10  - 10 kWh

TolPcent=02.00 - the 'Tolerance' set in the Validator (first field) = 0 2  - 2%

LoLimit=3433.95994 - the consumption in the previous bill (in 33.95994 kWh)

bznz=0.00 -  - 0 = not set in this validator, but if ticked, will pass if this bill has zero consumption and the previous bill has zero consumption   

HiLimit=3435.653  34606  - the  the consumption in the previous bill (in kWh)- 35.34606 kWh

bzz=0.00 0 = not set in this validator, but if ticked, will pass if this bill and the previous bill both have zero consumption consumption  

PrevCons=34.653 - consumption on the previous bill 34.653  653 kWh    (therefore did not pass validation as the previous bill has consumption of 34.653, it was not zero)

bnzz =10.00  -  1 0 = not set in this validator and , but if ticked, will pass if this bill has consumption, and the previous bill has zero consumption  consumption 

kWhDiff=433334.347 653 - the difference between this bills consumption and the previous bills, 4368 (this bill) - 34.653653 (previous bill) = 433334.347 653

PresCons=4368 - consumption in this billon this bill - kWh


However, if the Validator was set to PASS if present bill = zero, previous bill non-zero (bznz), then it would have passed.

An example would be if you did not want to be notified if an Account had zero consumption, even it if had consumption on the previous bill.

Image Added