An online optimization control method for flexible DC distribution networks based on visual programming and its engineering applications | Synapse