fitECM
Perform impedance parameter estimation for battery ECM from time-based HPPC data
Since R2025a
Description
The fitECM function performs impedance parameter estimation
      for a battery equivalent circuit model (ECM) from time-based hybrid pulse power
      characterization (HPPC) data. These parameters are then stored inside an ECM object that
      you can use to parameterize a Battery Equivalent
        Circuit block.
You can view a table with a summary of the parameter values by accessing the
        ParameterSummary property of the ECM object. 
You can obtain the pulse power data at different battery operating conditions, such as
      different states of charge, temperature, load currents, and current directionality. You can
      specify the HPPC input as a matrix, table, or timetable containing information for a single
      constant current pulse, HPPCTest object,
      or HPPCTestSuite
      object. 
To specify the ECM topology used to fit the data, set the ECM
      name-value argument. You can specify the desired fitting algorithm by defining the
        FittingMethod name-value argument.
This figure shows the typical workflow to estimate the parameters of an equivalent circuit model from HPPC test data:

batteryECM = fitECM(pulseData)ECM object with default
        properties from the HPPC data, pulseData. The function returns an
          ECM object with the estimated parameters.
batteryECM = fitECM(pulseData,Name=Value)pulseData,
        and specifies additional options using name-value arguments. The function returns an
          ECM object with the estimated parameters.
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2025a