With the development of renewable energy sources (RECs), distributed generation (DG), micro-grid, electric vehicles, etc., in traditional distribution network which was earlier supply-side driven, single power supply, one-way service and basic reliance on manual management of business model turns into the direction of user interaction, the trend of two-way flow and highly automated these changes gradually formed the smart distribution networks (SDN). The rapid advancement in power electronic devices increases the fast growth of RECs into SDN and also increases the non-linear portion of loads. Due to this, harmonic currents will be injected into SDN. This paper proposed a new power flow algorithms (PFAs) for fundamental and harmonic impacts in SDN with integration of renewable energy based DG and presence of non-linear loads. The proposed methodology completely exploits the radial feature in distribution networks and developed the matrix of bus numbers (BUS_NUM) and matrix of branch numbers (BRANCH_NUM). These matrices make the implementation of PFAs simple. The accuracy of fundamental and harmonic PFAs is tested on IEEE-13 bus test feeder and they are found to be accurate with the literature. Different case studies are carried on IEEE-13 bus test feeder for analyzing the impacts of integration of synchronous based-renewable DG and power electronic based-renewable DG.