Power_flow_with_DG.m.zip - This is the Matlab program I developed for power flow. Program can handle system with or without distributed generation (DG). FACTS in SIMULINK.rar - simulation of FACTS in matlab FACTS Placement.rar - here is uploaded "facts placement" codes and report.