Distribution power flow for smart grid technologies | Synapse