|
carputils
Doxygen code documentation for the python framework controlling openCARP
|
A mixin to extend model components with DREAM-specific parameter fields. More...
Public Member Functions | |
| def | __init__ (self, *args, **kwargs) |
| def | CVrest (self, psi=159.0, theta=137.0, kappa=53.0, rho=811.0) |
| Specify CV restitution properties for the eikonal model using the DREAM. More... | |
| def | Idiff (self, model=0, alpha_i="{149.5, 41.2,-192.2}", beta_i="{2.383,2.07,2.56}", gamma_i="{0.22,0.56,0.29}", A_F=0.91, tau_F=0.25, V_th=-30.) |
| Diffusion current approximation for RE+, RE-, and DREAM solution methods. More... | |
| def | dream_opts (self) |
| Generator yielding all defined DREAM options as (name, value) pairs. More... | |
A mixin to extend model components with DREAM-specific parameter fields.
This mixin allows fluent-style specification of DREAM submodels such as CVrest and Idiff by calling methods that record parameter values, which are then yielded as name-value pairs via the dream_opts() generator.
Define DREAM CVrest parameters.
Define DREAM Idiff parameters.
Generator yielding DREAM options as (name, value) tuples, e.g.:
| def carputils.model.general.DreamMixin.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
Reimplemented in carputils.model.general.AbstractIonicModel.
| def carputils.model.general.DreamMixin.CVrest | ( | self, | |
psi = 159.0, |
|||
theta = 137.0, |
|||
kappa = 53.0, |
|||
rho = 811.0 |
|||
| ) |
| def carputils.model.general.DreamMixin.dream_opts | ( | self | ) |
| def carputils.model.general.DreamMixin.Idiff | ( | self, | |
model = 0, |
|||
alpha_i = "{149.5, 41.2,-192.2}", |
|||
beta_i = "{2.383,2.07,2.56}", |
|||
gamma_i = "{0.22,0.56,0.29}", |
|||
A_F = 0.91, |
|||
tau_F = 0.25, |
|||
V_th = -30. |
|||
| ) |
Diffusion current approximation for RE+, RE-, and DREAM solution methods.
model short, optional (0 or 1) alpha_i str({float, float, float}), optional beta_i str({float, float, float}), optional gamma_i str({float, float, float}), optional A_F float, optional tau_F float, optional V_th float, optional