Text this: Multistage power generation planning approach for new power systems with high renewable energy integration considering flexibility constraints