A decision support system tool to manage the flexibility in renewable energy-based power systems