API
Compute Butler Volmer equation with mass transport.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | U |
Electrochemical potential in V. |
||
| real(kind=dp), | intent(in) | :: | OCV |
Open Circuit Voltage in V. |
||
| real(kind=dp), | intent(in) | :: | j0 |
Exchange current density in A.cm-2. |
||
| real(kind=dp), | intent(in) | :: | jdla |
Anodic diffusion limiting current density in A.cm-2. |
||
| real(kind=dp), | intent(in) | :: | jdlc |
Cathodic diffusion limiting current density in A.cm-2. |
||
| real(kind=dp), | intent(in) | :: | aa |
Anodic transfer coefficient. |
||
| real(kind=dp), | intent(in) | :: | ac |
Cathodic transfer coefficient. |
||
| real(kind=dp), | intent(in) | :: | za |
Number of exchnaged electrons in the anodic branch. |
||
| real(kind=dp), | intent(in) | :: | zc |
Number of exchnaged electrons in the cathodic branch. |
||
| real(kind=dp), | intent(in) | :: | A |
Area in cm2. |
||
| real(kind=dp), | intent(in) | :: | T |
Temperature in °C. |
Get the version.
Version of the library.
Compute the thermal voltage.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | T |
Temperature in °C. |
Thermal voltage in V.
Compute the Nernst electrochemical potential in V.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | E0 |
Standard electrochemical potential in V. |
||
| integer(kind=int32), | intent(in) | :: | z |
Number of exchanged electrons. |
||
| real(kind=dp), | intent(in) | :: | aox(:) |
Activities of the oxidants. |
||
| real(kind=dp), | intent(in) | :: | vox(:) |
Coefficients for the oxidants. |
||
| real(kind=dp), | intent(in) | :: | ared(:) |
Activities of the reductants |
||
| real(kind=dp), | intent(in) | :: | vred(:) |
Coefficients for the reductants. |
||
| real(kind=dp), | intent(in) | :: | T |
Temperature in °C. |
Compute Butler Volmer equation without mass transport.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | U |
Electrochemical potential in V. |
||
| real(kind=dp), | intent(in) | :: | OCV |
Open Circuit Voltage in V. |
||
| real(kind=dp), | intent(in) | :: | j0 |
Exchange current density in A.cm-2. |
||
| real(kind=dp), | intent(in) | :: | aa |
Anodic transfer coefficient. |
||
| real(kind=dp), | intent(in) | :: | ac |
Cathodic transfer coefficient. |
||
| real(kind=dp), | intent(in) | :: | za |
Number of exchnaged electrons in the anodic branch. |
||
| real(kind=dp), | intent(in) | :: | zc |
Number of exchnaged electrons in the cathodic branch. |
||
| real(kind=dp), | intent(in) | :: | A |
Area in cm2. |
||
| real(kind=dp), | intent(in) | :: | T |
Temperature in °C. |
Compute the measurement model.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | p(:) |
Parameters. |
||
| real(kind=dp), | intent(in) | :: | w(:) |
Angular frequencies in rad.s-1 |
||
| complex(kind=dp), | intent(out) | :: | zout(:) |
Complex impedance in Ohms. |
||
| integer(kind=int32), | intent(in) | :: | n |
Number of voigt elements. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | p(:) | |||
| real(kind=dp), | intent(in) | :: | w(:) |
Angular frequencies in rad.s-1 |
||
| complex(kind=dp), | intent(out) | :: | zout(:) |
Complex impedance in Ohms. |
||
| character(len=1), | intent(in) | :: | e |
Electrochemical element: R, C, L, Q, O, T, G |
||
| integer(kind=int32), | intent(out) | :: | errstat |
Error status |
||
| character(len=:), | intent(out), | pointer | :: | errmsg |
Error message |