Explanation, declaration and definition of gnomeTariff with calculation.