Simulation newbie - could somebody explain how to simulate gas spring?

I have a box with door, which should open very easy.

How to (step by step) make a simulation of spring?

Box lokking like this simle picture:
SolidworksSimulation