15.0 Managing Charge Rates

Charge Rates establish how much to charge for usage. Charge rates are applied when usage properties matching the charge rate names are found in the usage data. In order for a charge rate of a given name to be applied, a usage record attribute of the same name must exist.

There are four major categories of charge rates: Resource, Usage, Multiplier, and Fee. These are distinguished by the way they are factored into the charge calculation. Resource charge rates are additive charges that are multiplied by the amount of time that they are used in seconds. Usage charge rates are additive charges that are not multiplied by time. Multiplier charge rates apply multipliers to the sum of the Resource and Usage charges. Fee charge rates are added after the multipliers have been applied.

Each of the major charge rate types has two sub-types: value-based and name-based.

Thus there are eight composite types of charge rates referred to by their acronyms: VBR (Value-Based Resource), NBR (Name-Based Resource), VBU (Value-Based Usage), NBU (Name-Based Usage), VBM (Value-Based Multiplier), NBM (Name-Based Multiplier), VBF (Value-Based Fee) and NBF (Name-Based Fee).

By default, usage charges are calculated according to the following formula: For each value-based resource charge rate matching a usage property in the usage record data, a value-based resource charge is calculated by multiplying the usage property value by the charge rate and by the duration of time it was used. For each name-based resource charge rate matching a usage property name and value in the usage record data, a name-based resource charge is calculated by multiplying the charge rate by the duration of time it was used. For each value-based usage charge type matching a usage property in the usage record data, a value-based usage charge is calculated by multiplying the usage property value by the charge rate. For each name-based usage charge type matching a usage property name and value in the usage record data, a name-based usage charge is given by the charge rate. These value-based and name-based resource charges and the value-based and name-based usage charges are added together. Then, for each value-based multiplier charge rate matching a usage property in the usage record data, a value-based multiplier is calculated by multiplying the usage property value of the charge rate. For each name-based multiplier charge rate matching a usage property name and value in the usage record data, a name-based multiplier is given by the charge rate. The sum of the resource and usage charges is then multiplied by the product of the applicable value-based and name-based multipliers. Next, for each value-based fee charge type matching a usage property in the usage record data, a value-based fee charge is calculated by multiplying the usage property value by the charge rate. For each name-based ree charge type matching a usage property name and value in the usage record data, a name-based fee charge is given by the charge rate for that fee. Finally, these value-based and name-based fee charges are added to the multiplied usage charge subtotal.

In short, the formula can be represented by (((((Σ(VBR*value)+Σ(NBR)+Σ(MVBR*value))*duration)+(Σ(VBU*value)+Σ(NBU))) *Π(VBM*value)*Π(NBM))+(Σ(VBF*value)+Σ(NBF))).

(Undefined variable: MyVariables.!CopyrightInfo!)