Text this: Two way power flow in advance distributions and micro grid