Method 1:Table-Based Approach
Since you are using the Battery Builder app in Simscape, each cell includes a lookup table R₀(SOC, T) for internal resistance based on state of charge and temperature.
You can estimate the total pack resistance using:
Where Ns and Np are the number of series and parallel cells, and Rcell is selected from the resistance table at your desired operating conditions.
Method 2: Discharge Test
You can measure the open-circuit voltage V1, then apply a constant DC discharge current Idc using a "Controlled Current Source" block. While current is flowing, measure the terminal voltage V2, and compute:
This method captures practical effects like contact resistance and cell imbalance. You can use it when validating your model against real-world data or hardware tests.