Automatic full quantum analysis of CV measurements for bulk and SOI devices