Optimising I-V measurements of high capacitance modules using dark impedance measurements