An accurate numerical method to compute the effects of the protections against direct lightning on charged liquid tanks