36 msmbend::msmbend () : circuit (2) {
51 nr_double_t er = subst->getPropertyDouble (
"er");
52 nr_double_t
h = subst->getPropertyDouble (
"h");
56 nr_double_t L,
C, Wh = W /
h;
59 if ((Wh < 0.2) || (Wh > 6.0)) {
61 "for 0.2 <= W/h <= 6.0\n");
63 if ((er < 2.36) || (er > 10.4)) {
65 "for 2.36 <= er <= 10.4\n");
67 if (frequency * h > 12e6) {
69 "for freq*h <= 12MHz\n");
73 C = W * ((3.93 * er + 0.62) * Wh + (7.6 * er + 3.80));
std::complex< nr_double_t > nr_complex_t
nr_double_t getPropertyDouble(const char *)
nr_complex_t pow(const nr_complex_t z, const nr_double_t d)
Compute power function with real exponent.
substrate * getSubstrate(void)
void setInternalVoltageSource(bool i)
void setVoltageSources(int)
qucs::matrix calcMatrixZ(nr_double_t)
matrix ztos(matrix z, qucs::vector z0)
Convert impedance matrix scattering parameters.
#define M_PI
Archimedes' constant ( )
void allocMatrixMNA(void)
void voltageSource(int, int, int, nr_double_t value=0.0)
nr_complex_t exp(const nr_complex_t z)
Compute complex exponential.
void logprint(int level, const char *format,...)
matrix ztoy(matrix z)
impedance matrix to admittance matrix.