web site written in Yii to calculate energy readings