The core of this code is a model which implements a transient power balance calculation, culminating in a time integration of a battery bank state-of-charge over time. This allows a user to very ...