Skip to content

Commit

Permalink
adds B/2 term to Paasch element, fixes ECSHackWeek#251
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmurbach committed Feb 20, 2023
1 parent e754f8b commit 5ed337b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions impedance/models/circuits/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def T(p, f):
-----
.. math::
Z = A\\frac{\\coth{\\beta}}{\\beta} + B\\frac{1}{\\beta\\sinh{\\beta}}
Z = A\\frac{\\coth{\\beta}}{\\beta} + B\\frac{1}{\\beta\\sinh{\\beta}} + \\frac{B}{2}
where
Expand Down Expand Up @@ -377,7 +377,7 @@ def T(p, f):
else:
sinh.append(1e10)

Z = A / (beta * np.tanh(beta)) + B / (beta * np.array(sinh))
Z = A / (beta * np.tanh(beta)) + B / (beta * np.array(sinh)) + B / 2
return Z


Expand Down

0 comments on commit 5ed337b

Please sign in to comment.