Dynamical models of lead acid batteries: implementation issues