Economic viability of flexibility options for smart energy systems with high penetration of renewable energy