Optimal Resistive Control Strategy for a Floating OWC Device