ECM Simple Degradation ======================= This example demonstrates the simple degradation model of the Equivalent Circuit Model (ECM), where capacity and resistance evolve as functions of *capacity throughput* -- the running integral of absolute current, ``int |I| dt`` in A.h. Key concepts demonstrated: - Turning degradation on with the ``"capacity"`` / ``"resistance scale"`` options - Using the ready-made ``linear_capacity_loss`` / ``linear_resistance_increase`` helpers for the common "X% per full equivalent cycle" case - Writing a custom degradation function of any of the degradation inputs (here, calendar time) - Reading the degradation outputs from the solution .. literalinclude:: ecm_degradation.py :language: python :caption: Complete ECM Simple Degradation Example