Power management and system optimization for high efficiency self-powered electrolytic hydrogen and formic acid production. (March 2023)