Hi Asim, do you mean a VC system operated by PV Panels?
I don't believe that it is possible as a practical application. I mean connect the A/C unit to a PV, as the current generated is in microampere, thus you will storage system.....
Thus, your simulation will be in two parts, first PV-Storage section, and A/C - Battery system section
My suggestion is to simulate the PV+Batteries , and the Grid as back-up, connect the vapor compression system to the batteries and run the simulation, make an equation to give you the percentage of solar energy vs grid electricity ..... then make the assessment...
Something similar to solar thermal cooling system and the calculation of solar themrmal contribution to run the absorption chiller