Hyperbolic system of balance laws modeling dissipative ionic crystals