Evaluating How Demand Side Resources Affect the Environmental and Economic Performance of Energy Systems