Assessing distributed generation in an environmental-constrained energy planning