Figure 2: The workflow of power flow calculation.