Text this: Two ways power flow with renewable energy integration