Modeling the retail system competition