Spring Force in a Drop Test

I have a drop test where I'm essentially dropping an assembly of a spring loaded latch, it uses a compression coil spring. Is there anyway to accurately model the force of the spring acting on the latch during the drop?


Thanks!

SolidworksSimulation