Appendix A.2. Membrane potential and permeability for ions