A Decision Support Tool For Integrating Renewable Energy Into Factories