Renewable energy powered membrane technology: Energy buffering control system for improved resilience to periodic fluctuations of solar irradiance