A mechanical modeling of pressure-volume loop