Macroscopic Modeling of Polymer-Electrolyte Membranes