eisgenerator 2.1.x
eis::TransmissionLineClosed Class Reference

Transmission line with a closed (insulated, reflecting) end, model character t. More...

#include <trc.h>

Inherits eis::Componant.

Collaboration diagram for eis::TransmissionLineClosed:
Collaboration graph

Public Member Functions

 TransmissionLineClosed (fvalue r, fvalue q, fvalue a, fvalue l)
 TransmissionLineClosed (std::string paramStr, size_t count=10, bool defaultToRange=false)
 TransmissionLineClosed (const TransmissionLineClosed &in)
virtual std::complex< fvalue > execute (fvalue omega) override
virtual size_t paramCount () const override
virtual std::vector< eis::Range > getDefaultParameters (bool range=true) const override
virtual char getComponantChar () const override
virtual std::string getCode (std::vector< std::string > &parameters) override
virtual std::string getTorchScript (std::vector< std::string > &parameters) override
virtual std::string componantName () const override
Public Member Functions inherited from eis::Componant
virtual void setParamRanges (const std::vector< eis::Range > &ranges)
virtual std::vector< eis::Range > & getParamRanges ()
virtual std::vector< eis::Range > getParamRanges () const
virtual std::string getComponantString (bool currentValue=true, bool withCount=false) const
 Gets this componant as a model string.
virtual bool compileable ()
std::string getUniqueName ()
bool hasDefaultedParameters () const
 Checks if this componant had to use default parameters.

Static Public Member Functions

static constexpr char staticGetComponantChar ()
Static Public Member Functions inherited from eis::Componant
static Componant * copy (Componant *componant)
static Componant * createNewComponant (char componant, std::string paramStr="", size_t count=1, bool defaultToRange=false)
static bool isValidComponantChar (char componant)

Additional Inherited Members

Protected Member Functions inherited from eis::Componant
void initRanges (const std::string &paramStr, size_t count, bool defaultToRange)
Protected Attributes inherited from eis::Componant
std::vector< eis::Range > ranges
std::string uniqueName
bool defaultedParameters = false

Detailed Description

Transmission line with a closed (insulated, reflecting) end, model character t.

Z0 = sqrt( R / (Q (j omega)^alpha) ) characteristic impedance
gamma = sqrt( (j omega)^alpha R Q ) propagation constant
Z(omega) = Z0 tanh(gamma l)
gamma l << 1 Z -> R l purely resistive
gamma l >> 1 Z -> Z0 = sqrt(R/Q) (j omega)^(-alpha/2) CPE-like, exponent alpha/2

Parameters: t{R,Q,alpha,l}

  • R : line resistance per unit length in Ohm m^-1
  • Q : line admittance coefficient per unit length in S s^alpha m^-1
  • alpha : exponent of the distributed admittance, dimensionless
  • l : line length, in the length unit R and Q are quoted per

Finite-length diffusion, porous electrode and pore-impedance model. At DC the closed end means no current leaves the line, so the whole line reads as its series resistance R l; at high frequency the tanh saturates and only the characteristic impedance is seen. The low-frequency limit is what distinguishes t from o, so a measurement window that does not reach far enough down cannot tell an open line from a closed one.

With alpha = 1 and an r in series this reduces to the classic finite-length Warburg, and t with l -> infinity becomes the semi-infinite w.

Four parameters that trade off strongly make this element poorly conditioned to fit, and it is deliberately excluded from eis::Model::getEquivalentParameterPermutations(): over a finite window it approximates many other impedances, so matching it would report equivalences that hold only on the probe grid.

Member Function Documentation

◆ componantName()

virtual std::string eis::TransmissionLineClosed::componantName ( ) const
inlineoverridevirtual

Implements eis::Componant.

◆ execute()

virtual std::complex< fvalue > eis::TransmissionLineClosed::execute ( fvalue omega)
overridevirtual

Reimplemented from eis::Componant.

◆ getCode()

virtual std::string eis::TransmissionLineClosed::getCode ( std::vector< std::string > & parameters)
overridevirtual

Reimplemented from eis::Componant.

◆ getComponantChar()

virtual char eis::TransmissionLineClosed::getComponantChar ( ) const
overridevirtual

Implements eis::Componant.

◆ getDefaultParameters()

virtual std::vector< eis::Range > eis::TransmissionLineClosed::getDefaultParameters ( bool range = true) const
overridevirtual

Reimplemented from eis::Componant.

◆ getTorchScript()

virtual std::string eis::TransmissionLineClosed::getTorchScript ( std::vector< std::string > & parameters)
overridevirtual

Reimplemented from eis::Componant.

◆ paramCount()

virtual size_t eis::TransmissionLineClosed::paramCount ( ) const
overridevirtual

Reimplemented from eis::Componant.