Development and tests of JUNO electronics readout system and study of JUNO performance for core collapse supernova model discrimination