Study on space charge effects of the CSNS/RCS