General analysis and optimization of a two-stage power management circuit for electrostatic/triboelectric nanogenerators. (1st December 2022)