Text this: Optimal dimensioning of renewable energy generation and storage systems