For R2012b and later, there are shipping demos of ssc_lithium_cell_1RC and ssc_lithium_cell_2RC models. the LiBatteryElements package is also part of the shipping Simscape demo, so it's not included in the R2012b folder of the zip file.
Roughly speaking, change the Costar parameter (capacity at 0°C – I think units are either Amp-seconds or Amp-hours) to match the capacity you want. Other resistance parameters may be inversely proportional to the change in capacity, so if you cut the capacity by half you would double the resistances.
If you need a detailed match to a specific model of battery, it gets a bit more complicated. I offer consulting service to help teach techniques to match the model to measured data.
Dear Steve, Thank you very much for the great model.
I wonder if the files and codes for connecting the model to the optimization algorithm would also be available?
I have a model of PHEV power-train which I want to integrate with an optimization algorithm, and I would like to examine what requirements I should care about in making such connections.
I will be grateful if such part is available and possible to be exchanged.