Rate_calculation_variables_list

Rate calculation variables list

Use the calculation variables to calculate rates. 

CostAdjustmentFactor

Description: Cost adjustment factor from the Service table.

Demand

Description: Demand usage.

IIf

Description: Conditional test function. IIf(Condition, ValueIfTrue, ValueIfFalse) Returns one value if the condition is true, and another value if that condition is false.

Example: Result=IIf(Var1<.95,Var2<0) If Var1 is less than .95, then the result would be the value of Var2, otherwise, the result is zero (0).

KVar

Description: KVar usage

Max

Description: Max function, Max(Number1,Number2). Returns the largest of two numbers.

Example: Result=Max(100,50) [Result would be 100.]

Min

Description: Min function, Min(Number1,Number2). Returns the smallest of two numbers.

Example: Result=Min(100,50) [Result would be 50.]

Multiplier

Description: Multiplier from the Meter table.

Quantity

Description: Usage

Result

Description: Used to store the FINAL result of the custom billing calculation.

Example: Result=Quantity*Var2 [The final result of the billing calculation would be Quantity multiplied by the value stored in Var2.]

Round

Description: Round function. Round(Number, DecimalPlaces) Rounds a number to a specified number of decimal places.

Example: Result=Round(1.234,2) [Result would be 1.23]; Result=Round(1.5,0) [Result would be 2]

Sqrt

Description: Sqrt function, Sqrt(Number). Returns the square root of a number.

Example: Result=Sqrt(9) [Result would be 3]

Var1, Var2, Var3, Var 4, Var5, Var6, Var7, Var8, Var9

Description: Used to store the results of a calculation.

Example: Var1=Quantity*Demand, [Var1 would contain the value of Quantity multiplied by Demand]

--

Description: Comment indicator. Any text that follows two dashes (--) will be treated as a comment and ignored by the billing calculation. Use comments to clarify the billing calculation.

Example: Var1=Quantity/ Sqrt ( Quantity*Quantity+KVar*Kvar) -- Power Factor

 

 

202205, 2022

 

 

Copyright © 2025 Caselle, Incorporated. All rights reserved.

    • Related Articles

    • Rate custom option list

      Use a custom option to activate special billing functionality. The options in this list will change how Connect calculates a rate. If you need assistance, please contact customer service at (800) 243-8275 for more information. Use a custom formula to ...
    • Rate operators list

      Rules and guidelines for using operators in a formula that calculates a rate. Operators (+, -, *, etc.) specify the type of calculation that you want to perform on the elements of a formula. Uses standard mathematical precedence. Arithmetic operators ...
    • How do I add a rate?

      Organization use rates to calculate a billed amount for electricity, water, sewer, and other services that bill based on the amount used by a customer. The rate allows you to customize how the billed amount is calculated and define what happens when ...
    • How do I manage rate levels on a rate?

      When a tiered rate structure exists, the rate levels will help you calculate the amount based on a billing quantity. The quantity represents the amount that will be billed for each level. When the level type is a rate, the quantity will be multiplied ...
    • How do I link a rate to a service?

      When you set up a rate, you assign the rate to a service. The service will use the rate to calculate a billing amount. Linking a rate to a service 1. Open Connect Utility Management > Organization > Rates. 2. Use the Service menu to select a service. ...