Design and Simulation of Peer-to-Peer Energy Trading Framework with Dynamic Electricity Price