Optimal dimensioning of components for a high voltage feedthrough