The optimizers - Smart Module Jbox or retrofit add ons - are not grounded.
In case of a ground fault to P or N (meaning an unintentional short between ground to Positive and / or Negative) the optimizer shuts down, sends 'output over current' status and waits in OFF position, for the Management Unit to wake it up once it is safe.