Dynamic electric behavior and open-circuit-voltage modeling of LiFePO4-based lithium ion secondary batteries