I am at a loss what you are trying to say. If by storage you are referring to the EMRG hardware, say, the capacitor bank/flywheel and the generators, then to do the comparison we need good idea of the size/weight of the traditional naval gun (such as AGS) too.
You assume the EMRG gun system takes more space? That is certainly not correct. It varies from ship to ship, from implementation to implementation. On DDG-1000, for example, the ship contains full IEP as well as the power distribution and control system, plus maybe some sort of energy storage solution. An EMRG gun would be a smaller add-on while an AGS gun will cause extra penalties. On a ship without IEP, adding an EMRG gun will require additional generators, and take extra penalties.
Unless someone put in the effort to make a comprehensive examination of the cost/effectiveness at system level of a (1) 2030 IEP+EMRG+Laser warship (2) 1980s AB (3) WW2 era battleship, of course more meaningful results can be obtained. That is a Ph.D thesis, not a quick discussion