Modeling of electrical behavior of graphene-based ultracapacitors