Modeling of co-adsorption of cations and anions localized in different layers of the dense part of electrical double layer under the conditions of linear charge dependence of the adsorption energy