Energy Consumption Model for Green Computing