Optimal Management for Prosumer Resources in Energy Communities with P2P Market Considering Deviation and Previously Established Agreements | IEEE Conference Publication | IEEE Xplore