in simulation,while connecting a battery directly at the output of the boost converter, the battery is discharging the current during off period of mosfet switch instead of output capacitor of the boost converter. Is the intermittent charging and discharging of battery is allowed during a switching period?
Herewith i have attached the simulation circuit and waveform in jpeg format