pybamm-team/liionpack

Add ability to do voltage and power control from experiments

Jadhav-Sourabh opened this issue · 8 comments

liionpack Version

0.3.2

Python Version

3.8

Describe the bug

Why this is not possible?
"Charge at 1C until 4.2V",
"Hold at 4.2V until C/20"

Steps to Reproduce

No response

Expected behaviour

No response

Relevant log output

No response

Additional context

No response

I think the upper and lower cutoff voltage is 4.2 volts. Try your experiment with 4.1 V or lower.

In liionpack voltage limits are checked as shown below. So if your experiment exceeds these voltage limits then it will exit the simulation or at least show a warning.

# 06 Check if voltage limits are reached and terminate
if np.any(temp_v < self.v_cut_lower):
lp.logger.warning("Low voltage limit reached")
vlims_ok = False
if np.any(temp_v > self.v_cut_higher):
lp.logger.warning("High voltage limit reached")
vlims_ok = False
# 07 Step the electrochemical system

In liionpack voltage limits are checked as shown below. So if your experiment exceeds these voltage limits then it will exit the simulation or at least show a warning.

# 06 Check if voltage limits are reached and terminate
if np.any(temp_v < self.v_cut_lower):
lp.logger.warning("Low voltage limit reached")
vlims_ok = False
if np.any(temp_v > self.v_cut_higher):
lp.logger.warning("High voltage limit reached")
vlims_ok = False
# 07 Step the electrochemical system

a1
a2
a3

In liionpack voltage limits are checked as shown below. So if your experiment exceeds these voltage limits then it will exit the simulation or at least show a warning.

# 06 Check if voltage limits are reached and terminate
if np.any(temp_v < self.v_cut_lower):
lp.logger.warning("Low voltage limit reached")
vlims_ok = False
if np.any(temp_v > self.v_cut_higher):
lp.logger.warning("High voltage limit reached")
vlims_ok = False
# 07 Step the electrochemical system

a1 a2 a3

I want to implement CCCV in liionpack. I already implemented successfully CCCV in pybamm

Apologies for not checking these issues regularly. I need to sort out my github notifications. As discussed on the PyBaMM discussion this functionality needs to be added. Liionpack only works for CC and drive cycles not voltage or power driven experiments. Just FYI this will probably be quite a significant development and is not a high priority for me right now

Were you ever able to resolve the issue? I'm experiencing the same problem