Method for controlling flow of energy in smart electrical power network, involves controlling energy consumption of user based on optimal load shedding profile, optimal billing structure, and optimal load shifting profile.