A nonlinear control algorithm of Li-ion battery substation for DC distributed system