Quantcast
Channel: COMSOL Forum: Most Active Discussions
Viewing all articles
Browse latest Browse all 5675

Step function for battery module

$
0
0
Hello.

I would like to create a discharge and charge cycle by using a step function. It is for Li-ion battery.

I've managed to create only one pulse by define equation for discharge and charge:

disch_on step1((t_disch_stop-t)[1/s])
charge_on step1((t-t_disch_stop-t_ocp)[1/s])*step1((t_charge_stop+t_disch_stop+t_ocp-t)[1/s])

These equations create only one pulse but I would like to create several pulses. Could you please help me to go on with second step?

Thank you very much!

Viewing all articles
Browse latest Browse all 5675

Trending Articles