Smart grid power market study in power transmission, distribution and demand systems