New energy battery cabinet power ratio algorithm