Please enable JavaScript to view this site.

CWT Software Configuration Handbook 4.40

Tariff rates can be of the following types:

Linear rate using minute precision, for Example: 1€ per 60 minutes

Unit rate, for Example: 5€ for 1 hour, 7€ for 2 hours

Flat rate, for Example: 10—18: 10€.

Rate type

Written as

Explanation

Linear

tariffrate = linear 1 per 60 : tariffstep 1 duration 180;

Specifies a linear tariff rate with ticks as the first argument and units as the second argument. Optionally, a tariff step may be specified. The steps are numbered from 1 and you can have as many steps as you want.

For a tariff step duration you can use the constant #inf (for infinity).

Unit

tariffrate = unit 7 per 120 : no carryover : tariffstep 1 duration 180;

Specifies a unit tariff rate with ticks as the first argument and units as the second argument. Optionally, a tariff step may be specified. The steps are numbered from 1 and you can have as many steps as you want.

For a tariff step duration you can use the constant #inf (for infinity).

A carryover mode (no carryover, with recalculation, without recalculation) used by the unit rate may be specified. If omitted, the carryover mode used by the tariff package is used instead.

Flat

tariffrate = flat 10 until event;

The following events may be used:

start of interval

end of interval

start of step

end of step

start of "interval_name"

end of "interval_name"