Hi Paúl,
SAM is a time series simulation model that works with power. It does not model frequency. However, you could model a battery application intended to provide ancillary service for frequency regulation. SAM's battery model reports the battery state of charge (SOC) and relative capacity to nameplate, which is a measure of the battery's health.
Best regards,
Paul.