Calculation Rules for TOU Mapping & Pricing
Calculation Rules are used to perform time of use mapping and time of use pricing.
Time of Use Mapping
Time of use mapping will be typically handled using a calculation rule based on the 'math' calculation rule type. Calculation rules of this type can perform many functions. Two examples include:
Applying a TOU map to an interval data curve to produce service quantities that will be added to the bill segment's SQ collection.
Applying a TOU map to a derived interval data curve. For example, after deriving the power factor curve, perform TOU mapping on the resultant curve.
For further details on the 'math' calculation rule type, refer to Base Package Math Calculation Rule for more information.
Time of Use Pricing
Time of use pricing will be typically handled using calculation rules based on the 'service quantity' calculation rule type. Calculation rules of this type can perform many functions. For example:
Add or update a service quantity in the bill segments SQ collection
Create bill calculations lines that levy charges based on some type of consumption. For example, applying a price to a specific service quantity in the bill segment's SQ collection
For further details on the 'service quantity' calculation rule type, refer to Base Package Service Quantity Calculation Rule for further information.
Note:
Calculation rules are implemented using algorithms that contain the logic to be performed. If your implementation requires a new type of calculation rule, you can configure a new calculation rule type and reference the appropriate algorithm on it.