A Green Energy Model for Resource Allocation in Computational Grid