Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Step function for battery module
Posted Feb 25, 2016, 4:01 p.m. EST Parameters, Variables, & Functions Version 5.1 10 Replies
Please login with a confirmed email address before reporting spam
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!
Please login with a confirmed email address before reporting spam
I have kept on replying the pulse question with an equation I developed when I needed a long sequence of pulses. Please, see the attachment.
BR
Lasse
Attachments:
Please login with a confirmed email address before reporting spam
Which "function form" is your equation applicable for? Could it be wave function with rectangular steps?
Please login with a confirmed email address before reporting spam
BR
Lasse
Please login with a confirmed email address before reporting spam
I would like to point out a simpler way of doing this. It consists in using either:
a/ a Function of the "Waveform" type. Use this approach if the periodic signal is sinusoidal, triangular, square, or a sawtooth. See the attached file.
or
b/ a Function of the "Analytic" type with the "Periodic Extension" option checked on. Use this for other periodic signals. See the attached file, where the Analytic 1 function periodicizes the Interpolation 1 function.
Best,
Jeff
Attachments:
Please login with a confirmed email address before reporting spam
That also solves the question of the duty cycle.
BR
Lasse
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
Could you please also send the attached file for COMSOL 5.1?
I also cannot open the file.
Kind regards,
Farnaz
Please login with a confirmed email address before reporting spam
I would also be very happy to get your file for Comsol Version 5.1
Cheers, Vanessa
Please login with a confirmed email address before reporting spam
When modeling a pulsed load, also consider if the load will turn on or off instantaneously. If you do expect abrupt switching between states, use the Events interface.
For a discussion about why, please see:
www.comsol.com/blogs/modeling-a-periodic-heat-load/
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.