I have designed a battery charger and implemented the conventional CC (constant current ) and CV ( Constant Voltage) controller. For mathematical analysis, Do I need to add battery equivalent circuit? or Can i just consider Load resistance R in my close loop analysis of the DC DC converter? Please recommend any literature.