Skip to content
Discussion options

You must be logged in to vote

Hi @ganmad

This is what I did:

for cycle in cycle_numbers-1:
        throughput_cycle = sol.cycles[cycle]["Throughput capacity [A.h]"].data
        capacity_cycle = sol.cycles[cycle]["Loss of capacity to lithium plating [A.h]"].data
        min_index = np.argmin(capacity_cycle)

        capacity_value = capacity_cycle[min_index]
        corresponding_throughput_value = throughput_capacity[min_index]
        x_value.append(cycle_start_throughput + corresponding_throughput_value)
        y_value.append(capacity_value)
        cycle_start_throughput += throughput_cycle[-1]

Hopefully this helps.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Sunnyturicum
Comment options

@rtimms
Comment options

rtimms Sep 3, 2023
Collaborator

@ganmad
Comment options

@Sunnyturicum
Comment options

Answer selected by brosaplanella
@ganmad
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants