If you are replaceing the direct connection to ground with a high resistance to ground you still will not have any current flowing, a transformer is isolating, and there is no referance to ground until you make it, except capacitive coupling, much like a high inpedance grounded service, only after another fault has gone to ground will you see any current on the resistor, so is your question more of finding the correct vqlue of the resistor, that would bleed off capicitive voltage, but withstand a fault to ground on the positive side of the supply .5 amps of bled off current at 40kvdc would give you 20k ohm resistor, that would have to disapate 20kw in power.