Internal space charge measurement for the study of the electrostatic phenomena