Skip to content

Commit

Permalink
Remove duplicate lines
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolaCourtier committed Jul 4, 2024
1 parent 8d09998 commit a9f73df
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pybop/models/lithium_ion/base_echem.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,16 +288,6 @@ def approximate_capacity(self, inputs: Inputs):
inputs = self.parameters.verify(inputs)
self._parameter_set.update(inputs)

# Extract stoichiometries and compute mean values
(
min_sto_neg,
max_sto_neg,
min_sto_pos,
max_sto_pos,
) = self._electrode_soh.get_min_max_stoichiometries(self._parameter_set)
mean_sto_neg = (min_sto_neg + max_sto_neg) / 2
mean_sto_pos = (min_sto_pos + max_sto_pos) / 2

# Calculate theoretical energy density
theoretical_energy = self._electrode_soh.calculate_theoretical_energy(
self._parameter_set
Expand Down

0 comments on commit a9f73df

Please sign in to comment.