A model for the loop voltage of reversed field pinches