A Study Into The Feasibility of Local Renewable Energy Systems With Storage, Using Security and Sustainability Metrics for Optimisation and Evaluation