16 #include "component.h"
21 #define CIR_hic0_full -1
36 #define NP(node) real (getV (node))
37 #define BP(pnode,nnode) (NP(pnode) - NP(nnode))
38 #define _load_static_residual2(pnode,nnode,current)\
39 _rhs[pnode] -= current;\
40 _rhs[nnode] += current;
41 #define _load_static_augmented_residual2(pnode,nnode,current)\
42 _rhs[pnode] -= current;\
43 _rhs[nnode] += current;
44 #define _load_static_residual1(node,current)\
45 _rhs[node] -= current;
46 #define _load_static_augmented_residual1(node,current)\
47 _rhs[node] -= current;
48 #define _load_static_jacobian4(pnode,nnode,vpnode,vnnode,conductance)\
49 _jstat[pnode][vpnode] += conductance;\
50 _jstat[nnode][vnnode] += conductance;\
51 _jstat[pnode][vnnode] -= conductance;\
52 _jstat[nnode][vpnode] -= conductance;\
54 _ghs[pnode] += conductance * BP(vpnode,vnnode);\
55 _ghs[nnode] -= conductance * BP(vpnode,vnnode);\
57 _rhs[pnode] += conductance * BP(vpnode,vnnode);\
58 _rhs[nnode] -= conductance * BP(vpnode,vnnode);\
60 #define _load_static_jacobian2p(node,vpnode,vnnode,conductance)\
61 _jstat[node][vpnode] += conductance;\
62 _jstat[node][vnnode] -= conductance;\
64 _ghs[node] += conductance * BP(vpnode,vnnode);\
66 _rhs[node] += conductance * BP(vpnode,vnnode);\
68 #define _load_static_jacobian2s(pnode,nnode,node,conductance)\
69 _jstat[pnode][node] += conductance;\
70 _jstat[nnode][node] -= conductance;\
72 _ghs[pnode] += conductance * NP(node);\
73 _ghs[nnode] -= conductance * NP(node);\
75 _rhs[pnode] += conductance * NP(node);\
76 _rhs[nnode] -= conductance * NP(node);\
78 #define _load_static_jacobian1(node,vnode,conductance)\
79 _jstat[node][vnode] += conductance;\
81 _ghs[node] += conductance * NP(vnode);\
83 _rhs[node] += conductance * NP(vnode);\
85 #define _load_dynamic_residual2(pnode,nnode,charge)\
86 if (doTR) _charges[pnode][nnode] += charge;\
88 _qhs[pnode] -= charge;\
89 _qhs[nnode] += charge;\
91 #define _load_dynamic_residual1(node,charge)\
92 if (doTR) _charges[node][node] += charge;\
94 _qhs[node] -= charge;\
96 #define _load_dynamic_jacobian4(pnode,nnode,vpnode,vnnode,capacitance)\
98 _jdyna[pnode][vpnode] += capacitance;\
99 _jdyna[nnode][vnnode] += capacitance;\
100 _jdyna[pnode][vnnode] -= capacitance;\
101 _jdyna[nnode][vpnode] -= capacitance;\
104 _caps[pnode][nnode][vpnode][vnnode] += capacitance;\
107 _chs[pnode] += capacitance * BP(vpnode,vnnode);\
108 _chs[nnode] -= capacitance * BP(vpnode,vnnode);\
110 #define _load_dynamic_jacobian2s(pnode,nnode,vnode,capacitance)\
112 _jdyna[pnode][vnode] += capacitance;\
113 _jdyna[nnode][vnode] -= capacitance;\
116 _caps[pnode][nnode][vnode][vnode] += capacitance;\
119 _chs[pnode] += capacitance * NP(vnode);\
120 _chs[nnode] -= capacitance * NP(vnode);\
122 #define _load_dynamic_jacobian2p(node,vpnode,vnnode,capacitance)\
124 _jdyna[node][vpnode] += capacitance;\
125 _jdyna[node][vnnode] -= capacitance;\
128 _caps[node][node][vpnode][vnnode] += capacitance;\
131 _chs[node] += capacitance * BP(vpnode,vnnode);\
133 #define _load_dynamic_jacobian1(node,vnode,capacitance)\
135 _jdyna[node][vnode] += capacitance;\
138 _caps[node][node][vnode][vnode] += capacitance;\
141 _chs[node] += capacitance * NP(vnode);\
144 #define _save_whitenoise1(n1,pwr,type)\
145 _white_pwr[n1][n1] += pwr;
146 #define _save_whitenoise2(n1,n2,pwr,type)\
147 _white_pwr[n1][n2] += pwr;
148 #define _save_flickernoise1(n1,pwr,exp,type)\
149 _flicker_pwr[n1][n1] += pwr;\
150 _flicker_exp[n1][n1] += exp;
151 #define _save_flickernoise2(n1,n2,pwr,exp,type)\
152 _flicker_pwr[n1][n2] += pwr;\
153 _flicker_exp[n1][n2] += exp;
154 #define _load_whitenoise2(n1,n2,pwr)\
155 cy (n1,n2) -= pwr/kB/T0; cy (n2,n1) -= pwr/kB/T0;\
156 cy (n1,n1) += pwr/kB/T0; cy (n2,n2) += pwr/kB/T0;
157 #define _load_whitenoise1(n1,pwr)\
158 cy (n1,n1) += pwr/kB/T0;
159 #define _load_flickernoise2(n1,n2,pwr,exp)\
160 cy (n1,n2) -= pwr*pow(_freq,-exp)/kB/T0;\
161 cy (n2,n1) -= pwr*pow(_freq,-exp)/kB/T0;\
162 cy (n1,n1) += pwr*pow(_freq,-exp)/kB/T0;\
163 cy (n2,n2) += pwr*pow(_freq,-exp)/kB/T0;
164 #define _load_flickernoise1(n1,pwr,exp)\
165 cy (n1,n1) += pwr*pow(_freq,-exp)/kB/T0;
168 #define m00_hypot(v00,x,y) v00 = xhypot(x,y);
169 #define m10_hypot(v10,v00,x,y) v10 = (x)/(v00);
170 #define m11_hypot(v11,v00,x,y) v11 = (y)/(v00);
171 #define m00_max(v00,x,y) v00 = ((x)>(y))?(x):(y);
172 #define m10_max(v10,v00,x,y) v10 = ((x)>(y))?1.0:0.0;
173 #define m11_max(v11,v00,x,y) v11 = ((x)>(y))?0.0:1.0;
174 #define m00_min(v00,x,y) v00 = ((x)<(y))?(x):(y);
175 #define m10_min(v10,v00,x,y) v10 = ((x)<(y))?1.0:0.0;
176 #define m11_min(v11,v00,x,y) v11 = ((x)<(y))?0.0:1.0;
177 #define m00_pow(v00,x,y) v00 = pow(x,y);
178 #define m10_pow(v10,v00,x,y) v10 = (x==0.0)?0.0:(v00)*(y)/(x);
179 #define m11_pow(v11,v00,x,y) v11 = (x==0.0)?0.0:(log(x)*(v00));
181 #define m00_div(v00,v10,x,y) double v10=1/(y); double v00=(x)*v10;
182 #define m10_div(v10,v00,vv,x,y)
183 #define m11_div(v11,v00,vv,x,y) double v11 = -v00*vv;
185 #define m00_mult(v00,v10,v11,x,y) double v10=(x); double v11=(y); double v00=v10*v11;
186 #define m00_add(v00,x,y) double v00=(x)+(y);
188 #define m00_cos(v00,x) v00 = cos(x);
189 #define m10_cos(v10,v00,x) v10 = (-sin(x));
190 #define m00_sin(v00,x) v00 = sin(x);
191 #define m10_sin(v10,v00,x) v10 = (cos(x));
192 #define m00_tan(v00,x) v00 = tan(x);
193 #define m10_tan(v10,v00,x) v10 = (1.0/cos(x)/cos(x));
194 #define m00_cosh(v00,x) v00 = cosh(x);
195 #define m10_cosh(v10,v00,x) v10 = (sinh(x));
196 #define m00_sinh(v00,x) v00 = sinh(x);
197 #define m10_sinh(v10,v00,x) v10 = (cosh(x));
198 #define m00_tanh(v00,x) v00 = tanh(x);
199 #define m10_tanh(v10,v00,x) v10 = (1.0/cosh(x)/cosh(x));
200 #define m00_acos(v00,x) v00 = acos(x);
201 #define m10_acos(v10,v00,x) v10 = (-1.0/sqrt(1-x*x));
202 #define m00_asin(v00,x) v00 = asin(x);
203 #define m10_asin(v10,v00,x) v10 = (+1.0/sqrt(1-x*x));
204 #define m00_atan(v00,x) v00 = atan(x);
205 #define m10_atan(v10,v00,x) v10 = (+1.0/(1+x*x));
206 #define m00_atanh(v00,x) v00 = atanh(x);
207 #define m10_atanh(v10,v00,x) v10 = (+1.0/(1-x*x));
208 #define m00_logE(v00,x) v00 = log(x);
209 #define m10_logE(v10,v00,x) v10 = (1.0/x);
210 #define m00_log10(v00,x) v00 = log10(x);
211 #define m10_log10(v10,v00,x) v10 = (1.0/x/M_LN10);
212 #define m00_sqrt(v00,x) v00 = sqrt(x);
213 #define m10_sqrt(v10,v00,x) v10 = (0.5/v00);
214 #define m00_fabs(v00,x) v00 = fabs(x);
215 #define m10_fabs(v10,v00,x) v10 = (((x)>=0)?(+1.0):(-1.0));
217 #define m00_exp(v00,x) v00 = exp(x);
218 #define m10_exp(v10,v00,x) v10 = v00;
220 #define m00_abs(v00) ((v00)<(0)?(-(v00)):(v00))
221 #define m00_floor(v00,x) v00 = floor(x);
222 #define m00_limexp(v00,x) v00 = ((x)<80.0?exp(x):exp(80.0)*(x-79.0));
223 #define m10_limexp(v10,v00,x) v10 = ((x)<80.0?(v00):exp(80.0));
225 #define m20_logE(v00) (-1.0/v00/v00)
226 #define m20_exp(v00) exp(v00)
227 #define m20_limexp(v00) ((v00)<80.0?exp(v00):0.0)
228 #define m20_sqrt(v00) (-0.25/(v00)/sqrt(v00))
229 #define m20_fabs(v00) 0.0
230 #define m20_pow(x,y) ((y)*((y)-1.0)*pow(x,y)/(x)/(x))
231 #define m00_vt(x) (kBoverQ*(x))
232 #define m10_vt(x) (kBoverQ)
235 #define _modelname "hic0_full"
236 #define _instancename getName()
237 #define _circuit_temp (getPropertyDouble("Temp")+273.15)
238 #define _param_given(p) (isPropertyGiven(p)?1:0)
242 #define _vt_nom (kBoverQ*_circuit_temp)
244 using namespace device;
253 void hic0_full::initModel (
void)
267 initializeInstance ();
288 void hic0_full::initVerilog (
void)
291 _white_pwr[
ci][
ei] = 0.0;
292 _white_pwr[
b][
bi] = 0.0;
293 _white_pwr[
ci][
c] = 0.0;
294 _white_pwr[
ei][
e] = 0.0;
295 _white_pwr[
bi][
ei] = 0.0;
296 _flicker_pwr[
bi][
ei] = 0.0;
297 _flicker_exp[
bi][
ei] = 0.0;
302 for (i1 = 0; i1 < 8; i1++) {
303 for (i2 = 0; i2 < 8; i2++) {
304 _charges[i1][i2] = 0.0;
308 for (i1 = 0; i1 < 8; i1++) {
309 for (i2 = 0; i2 < 8; i2++) {
310 for (i3 = 0; i3 < 8; i3++) {
311 for (i4 = 0; i4 < 8; i4++) {
312 _caps[i1][i2][i3][i4] = 0.0;
316 for (i1 = 0; i1 < 8; i1++) {
321 for (i2 = 0; i2 < 8; i2++) {
322 _jstat[i1][i2] = 0.0;
323 _jdyna[i1][i2] = 0.0;
329 void hic0_full::loadVariables (
void)
425 #define _DERIVATEFORDDX
428 void hic0_full::initializeModel (
void)
452 void hic0_full::initializeInstance (
void)
457 void hic0_full::initialStep (
void)
462 void hic0_full::finalStep (
void)
467 void hic0_full::calcVerilog (
void)
472 #if defined(_DERIVATE)
473 double flicker_Pwr_Vtnode_GND;
474 double flicker_Pwr_Vbi_ei;
478 #if defined(_DERIVATE)
479 double fourkt_Vtnode_GND;
481 #if defined(_DYNAMIC)
483 #if defined(_DERIVATE)
484 double Qbiei_Vtnode_GND;
491 #if defined(_DYNAMIC)
493 #if defined(_DERIVATE)
495 double Qbici_Vtnode_GND;
501 #if defined(_DYNAMIC)
503 #if defined(_DERIVATE)
507 #if defined(_DYNAMIC)
509 #if defined(_DERIVATE)
513 #if defined(_DERIVATE)
514 double Ibici_Vtnode_GND;
521 #if defined(_DERIVATE)
526 double pterm_Vtnode_GND;
532 #if defined(_DYNAMIC)
534 #if defined(_DERIVATE)
539 double qjs_Vtnode_GND;
543 #if defined(_DERIVATE)
544 double ijsc_Vtnode_GND;
550 #if defined(_DERIVATE)
551 double HSI_Tsu_Vtnode_GND;
552 double HSI_Tsu_Vb_ci;
553 double HSI_Tsu_Vs_ci;
556 #if defined(_DERIVATE)
558 double HSb_Vtnode_GND;
561 #if defined(_DERIVATE)
563 double HSa_Vtnode_GND;
566 #if defined(_DERIVATE)
567 double HSUM_Vtnode_GND;
570 #if defined(_DERIVATE)
571 double rb_Vtnode_GND;
578 #if defined(_DERIVATE)
579 double eta_Vtnode_GND;
586 #if defined(_DERIVATE)
587 double rbi_Vtnode_GND;
594 #if defined(_DERIVATE)
595 double fQz_Vtnode_GND;
602 #if defined(_DERIVATE)
603 double Qz_nom_Vtnode_GND;
604 double Qz_nom_Vbi_ei;
605 double Qz_nom_Vbi_ci;
607 double Qz_nom_Vci_ei;
610 #if defined(_DERIVATE)
611 double qje_Vtnode_GND;
617 #if defined(_DERIVATE)
618 double lncc_Vtnode_GND;
622 #if defined(_DERIVATE)
623 double iavl_Vtnode_GND;
630 #if defined(_DERIVATE)
631 double a_iavl_Vtnode_GND;
632 double a_iavl_Vbi_ci;
636 #if defined(_DERIVATE)
637 double v_bord_Vtnode_GND;
640 #if defined(_DERIVATE)
641 double ibi_Vtnode_GND;
645 #if defined(_DERIVATE)
646 double ijbc_Vtnode_GND;
650 #if defined(_DERIVATE)
651 double ijbe_Vtnode_GND;
655 #if defined(_DERIVATE)
656 double ire_Vtnode_GND;
660 #if defined(_DERIVATE)
661 double ibe_Vtnode_GND;
665 #if defined(_DERIVATE)
669 double le_Vtnode_GND;
672 #if defined(_DERIVATE)
676 double DIOY_Vtnode_GND;
678 #if defined(_DYNAMIC)
680 #if defined(_DERIVATE)
681 double qr_Vtnode_GND;
689 #if defined(_DYNAMIC)
691 #if defined(_DERIVATE)
692 double qf_Vtnode_GND;
699 #if defined(_DYNAMIC)
701 #if defined(_DERIVATE)
702 double dqef_Vtnode_GND;
709 #if defined(_DYNAMIC)
711 #if defined(_DERIVATE)
712 double dtef_Vtnode_GND;
720 #if defined(_DYNAMIC)
722 #if defined(_DERIVATE)
723 double dqfh_Vtnode_GND;
730 #if defined(_DYNAMIC)
732 #if defined(_DERIVATE)
733 double tww_Vtnode_GND;
740 #if defined(_DYNAMIC)
742 #if defined(_DERIVATE)
750 #if defined(_DYNAMIC)
752 #if defined(_DERIVATE)
757 double s3_Vtnode_GND;
760 #if defined(_DYNAMIC)
762 #if defined(_DERIVATE)
763 double qf0_Vtnode_GND;
770 #if defined(_DERIVATE)
771 double it_Vtnode_GND;
778 #if defined(_DERIVATE)
779 double itr_Vtnode_GND;
786 #if defined(_DERIVATE)
787 double itf_Vtnode_GND;
794 #if defined(_DERIVATE)
795 double facl_Vtnode_GND;
802 #if defined(_DERIVATE)
803 double d_qfh_Vtnode_GND;
810 #if defined(_DERIVATE)
811 double wl_Vtnode_GND;
818 #if defined(_DERIVATE)
819 double s3l_Vtnode_GND;
826 #if defined(_DERIVATE)
827 double al_Vtnode_GND;
834 #if defined(_DERIVATE)
835 double itrl_Vtnode_GND;
841 #if defined(_DERIVATE)
842 double itfl_Vtnode_GND;
848 #if defined(_DERIVATE)
850 double qpt_Vtnode_GND;
855 #if defined(_DERIVATE)
856 double qm_Vtnode_GND;
861 #if defined(_DERIVATE)
862 double itri_Vtnode_GND;
866 #if defined(_DERIVATE)
868 double le2_Vtnode_GND;
871 #if defined(_DERIVATE)
873 double arg2_Vtnode_GND;
876 #if defined(_DERIVATE)
877 double itfi_Vtnode_GND;
881 #if defined(_DERIVATE)
883 double le1_Vtnode_GND;
886 #if defined(_DERIVATE)
888 double arg1_Vtnode_GND;
892 #if defined(_DYNAMIC)
894 #if defined(_DERIVATE)
895 double tf0_Vtnode_GND;
901 #if defined(_DERIVATE)
903 double qj_2_Vtnode_GND;
907 #if defined(_DERIVATE)
908 double cc_Vtnode_GND;
913 #if defined(_DERIVATE)
914 double ick_Vtnode_GND;
918 #if defined(_DERIVATE)
919 double vceff_Vtnode_GND;
923 #if defined(_DERIVATE)
925 double uvc_Vtnode_GND;
928 #if defined(_DERIVATE)
930 double vc_Vtnode_GND;
932 #if defined(_DERIVATEFORDDX)
933 double qjei_Vtnode_GND;
937 #if defined(_DERIVATE)
938 double qjei_Vbi_ci_Vtnode_GND;
939 double qjei_Vbi_ci_Vbi_ei;
940 double qjei_Vbi_ci_Vbi_ci;
941 double qjei_Vbi_ci_Vb_ci;
942 double qjei_Vbi_ei_Vtnode_GND;
943 double qjei_Vbi_ei_Vbi_ei;
944 double qjei_Vbi_ei_Vbi_ci;
945 double qjei_Vbi_ei_Vb_ci;
949 #if defined(_DERIVATE)
950 double cjcii_Vtnode_GND;
955 #if defined(_DERIVATE)
957 double dvj_Vtnode_GND;
960 #if defined(_DYNAMIC)
962 #if defined(_DERIVATE)
964 double qjcii_Vtnode_GND;
968 #if defined(_DERIVATE)
970 double qjci_Vtnode_GND;
974 #if defined(_DERIVATE)
975 double cjcx0_t_ii_Vtnode_GND;
978 #if defined(_DERIVATEFORDDX)
985 #if defined(_DERIVATE)
986 double y_Vbi_ci_Vci_ei;
987 double y_Vbi_ci_Vs_ci;
988 double y_Vbi_ci_Vbi_ei;
989 double y_Vbi_ci_Vbi_ci;
990 double y_Vbi_ci_Vtnode_GND;
991 double y_Vbi_ci_Vb_ci;
992 double y_Vbi_ei_Vci_ei;
993 double y_Vbi_ei_Vs_ci;
994 double y_Vbi_ei_Vbi_ei;
995 double y_Vbi_ei_Vbi_ci;
996 double y_Vbi_ei_Vtnode_GND;
997 double y_Vbi_ei_Vb_ci;
1001 #if defined(_DERIVATE)
1002 double x_Vtnode_GND;
1006 #if defined(_DERIVATEFORDDX)
1010 double v_j_Vtnode_GND;
1012 #if defined(_DERIVATE)
1013 double v_j_Vbi_ci_Vs_ci;
1014 double v_j_Vbi_ci_Vbi_ei;
1015 double v_j_Vbi_ci_Vbi_ci;
1016 double v_j_Vbi_ci_Vtnode_GND;
1017 double v_j_Vbi_ci_Vb_ci;
1018 double v_j_Vbi_ei_Vs_ci;
1019 double v_j_Vbi_ei_Vbi_ei;
1020 double v_j_Vbi_ei_Vbi_ci;
1021 double v_j_Vbi_ei_Vtnode_GND;
1022 double v_j_Vbi_ei_Vb_ci;
1026 #if defined(_DERIVATEFORDDX)
1030 double xvf2_Vtnode_GND;
1032 #if defined(_DERIVATE)
1033 double xvf2_Vbi_ci_Vs_ci;
1034 double xvf2_Vbi_ci_Vbi_ei;
1035 double xvf2_Vbi_ci_Vbi_ci;
1036 double xvf2_Vbi_ci_Vtnode_GND;
1037 double xvf2_Vbi_ci_Vb_ci;
1038 double xvf2_Vbi_ei_Vs_ci;
1039 double xvf2_Vbi_ei_Vbi_ei;
1040 double xvf2_Vbi_ei_Vbi_ci;
1041 double xvf2_Vbi_ei_Vtnode_GND;
1042 double xvf2_Vbi_ei_Vb_ci;
1046 #if defined(_DERIVATEFORDDX)
1050 double xvf_Vtnode_GND;
1052 #if defined(_DERIVATE)
1053 double xvf_Vbi_ci_Vs_ci;
1054 double xvf_Vbi_ci_Vbi_ei;
1055 double xvf_Vbi_ci_Vbi_ci;
1056 double xvf_Vbi_ci_Vtnode_GND;
1057 double xvf_Vbi_ci_Vb_ci;
1058 double xvf_Vbi_ei_Vs_ci;
1059 double xvf_Vbi_ei_Vbi_ei;
1060 double xvf_Vbi_ei_Vbi_ci;
1061 double xvf_Vbi_ei_Vtnode_GND;
1062 double xvf_Vbi_ei_Vb_ci;
1065 #if defined(_DYNAMIC)
1067 #if defined(_DERIVATE)
1069 double qjcx_Vtnode_GND;
1074 #if defined(_DERIVATE)
1079 double qj3_Vtnode_GND;
1083 #if defined(_DERIVATE)
1088 double qj2_Vtnode_GND;
1092 #if defined(_DERIVATE)
1097 double qj1_Vtnode_GND;
1101 #if defined(_DERIVATE)
1106 double vdj2_Vtnode_GND;
1110 #if defined(_DERIVATE)
1115 double vdj1_Vtnode_GND;
1121 #if defined(_DERIVATE)
1127 double vj4_Vtnode_GND;
1130 #if defined(_DERIVATE)
1135 double vj2_Vtnode_GND;
1139 #if defined(_DERIVATE)
1144 double vr_Vtnode_GND;
1148 #if defined(_DERIVATE)
1153 double vj1_Vtnode_GND;
1157 #if defined(_DERIVATE)
1162 double ee1_Vtnode_GND;
1166 #if defined(_DERIVATE)
1171 double ex1_Vtnode_GND;
1175 #if defined(_DERIVATE)
1180 double ve_Vtnode_GND;
1184 #if defined(_DERIVATE)
1189 double a_Vtnode_GND;
1192 #if defined(_DERIVATE)
1193 double cr_Vtnode_GND;
1196 #if defined(_DERIVATE)
1197 double cmax_Vtnode_GND;
1200 #if defined(_DERIVATE)
1201 double vf_Vtnode_GND;
1204 #if defined(_DERIVATE)
1205 double vp_Vtnode_GND;
1209 #if defined(_DERIVATE)
1210 double cjcx0_t_i_Vtnode_GND;
1212 #if defined(_DYNAMIC)
1214 #if defined(_DERIVATE)
1215 double qjcxi_Vbi_ci;
1216 double qjcxi_Vtnode_GND;
1221 #if defined(_DERIVATE)
1222 double cjci0_t_ii_Vtnode_GND;
1225 #if defined(_DERIVATE)
1226 double kavl_t_Vtnode_GND;
1229 #if defined(_DERIVATE)
1230 double eavl_t_Vtnode_GND;
1233 #if defined(_DERIVATE)
1234 double re_t_Vtnode_GND;
1237 #if defined(_DERIVATE)
1238 double rbi0_t_Vtnode_GND;
1241 #if defined(_DERIVATE)
1242 double rcx_t_Vtnode_GND;
1245 #if defined(_DERIVATE)
1246 double rbx_t_Vtnode_GND;
1248 #if defined(_DYNAMIC)
1250 #if defined(_DERIVATE)
1251 double tef0_t_Vtnode_GND;
1254 #if defined(_DYNAMIC)
1257 #if defined(_DYNAMIC)
1260 #if defined(_DYNAMIC)
1262 #if defined(_DERIVATE)
1263 double thcs_t_Vtnode_GND;
1266 #if defined(_DYNAMIC)
1268 #if defined(_DERIVATE)
1269 double t0_t_Vtnode_GND;
1273 #if defined(_DERIVATE)
1274 double vces_t_Vtnode_GND;
1277 #if defined(_DERIVATE)
1278 double vlim_t_Vtnode_GND;
1281 #if defined(_DERIVATE)
1282 double rci0_t_Vtnode_GND;
1284 #if defined(_DYNAMIC)
1286 #if defined(_DERIVATE)
1287 double cjs0_t_Vtnode_GND;
1290 #if defined(_DYNAMIC)
1292 #if defined(_DERIVATE)
1293 double vds_t_Vtnode_GND;
1297 #if defined(_DERIVATE)
1298 double cjcx0_t_Vtnode_GND;
1301 #if defined(_DERIVATE)
1302 double vdcx_t_Vtnode_GND;
1305 #if defined(_DERIVATE)
1306 double cjci0_t_Vtnode_GND;
1309 #if defined(_DERIVATE)
1310 double vdci_t_Vtnode_GND;
1313 #if defined(_DERIVATE)
1314 double aje_t_Vtnode_GND;
1317 #if defined(_DERIVATE)
1318 double cje0_t_Vtnode_GND;
1321 #if defined(_DERIVATE)
1322 double vde_t_Vtnode_GND;
1325 #if defined(_DERIVATE)
1326 double vdjt_Vtnode_GND;
1331 #if defined(_DERIVATE)
1332 double iscs_t_Vtnode_GND;
1335 #if defined(_DERIVATE)
1336 double itss_t_Vtnode_GND;
1339 #if defined(_DERIVATE)
1340 double ibcs_t_Vtnode_GND;
1343 #if defined(_DERIVATE)
1344 double ires_t_Vtnode_GND;
1347 #if defined(_DERIVATE)
1348 double ibes_t_Vtnode_GND;
1351 #if defined(_DERIVATE)
1352 double is_t_Vtnode_GND;
1357 #if defined(_DYNAMIC)
1366 #if defined(_DERIVATE)
1367 double ln_qtt0_Vtnode_GND;
1370 #if defined(_DERIVATE)
1371 double qtt0_Vtnode_GND;
1374 #if defined(_DERIVATE)
1375 double dT_Vtnode_GND;
1378 #if defined(_DERIVATE)
1379 double VT_Vtnode_GND;
1383 #if defined(_DERIVATE)
1384 double Tdev_Vtnode_GND;
1389 #if defined(_DERIVATE)
1390 double Vrth_Vtnode_GND;
1392 #if defined(_DYNAMIC)
1394 #if defined(_DERIVATE)
1399 #if defined(_DERIVATE)
1403 #if defined(_DERIVATE)
1407 #if defined(_DERIVATE)
1411 #if defined(_DERIVATE)
1415 #if defined(_DERIVATE)
1416 double Vciei_Vci_ei;
1419 #if defined(_DERIVATEFORDDX)
1420 double Vbiei_Vbi_ei;
1421 #if defined(_DERIVATE)
1422 double Vbiei_Vbi_ei_Vbi_ei;
1426 #if defined(_DERIVATEFORDDX)
1427 double Vbici_Vbi_ci;
1428 #if defined(_DERIVATE)
1429 double Vbici_Vbi_ci_Vbi_ci;
1433 #if defined(_DERIVATE)
1436 #if defined(_DERIVATE)
1437 Vbci_Vb_ci=(HICUMtype);
1439 Vbci=(HICUMtype*
BP(
b,
ci));
1440 #if defined(_DERIVATEFORDDX)
1441 Vbici_Vbi_ci=(HICUMtype);
1442 #if defined(_DERIVATE)
1443 Vbici_Vbi_ci_Vbi_ci=(+0.0*
BP(
bi,
ci)+0.0*1.0+0.0*1.0+HICUMtype*0.0);
1446 Vbici=(HICUMtype*
BP(
bi,
ci));
1447 #if defined(_DERIVATEFORDDX)
1448 Vbiei_Vbi_ei=(HICUMtype);
1449 #if defined(_DERIVATE)
1450 Vbiei_Vbi_ei_Vbi_ei=(+0.0*
BP(
bi,
ei)+0.0*1.0+0.0*1.0+HICUMtype*0.0);
1453 Vbiei=(HICUMtype*
BP(
bi,
ei));
1454 #if defined(_DERIVATE)
1455 Vciei_Vci_ei=(HICUMtype);
1457 Vciei=(HICUMtype*
BP(
ci,
ei));
1458 #if defined(_DERIVATE)
1459 Vsci_Vs_ci=(HICUMtype);
1461 Vsci=(HICUMtype*
BP(
s,
ci));
1462 #if defined(_DERIVATE)
1466 #if defined(_DERIVATE)
1470 #if defined(_DERIVATE)
1474 #if defined(_DYNAMIC)
1475 #if defined(_DERIVATE)
1476 Vbe_Vb_e=(HICUMtype);
1478 Vbe=(HICUMtype*
BP(
b,
e));
1480 #if defined(_DERIVATE)
1481 Vrth_Vtnode_GND=1.0;
1486 #if defined(_DERIVATE)
1487 Tdev_Vtnode_GND=Vrth_Vtnode_GND;
1489 Tdev=((Tamb+dt)+Vrth);
1491 ((Tdev<((-100.0)+273.15)))
1493 #if defined(_DERIVATE)
1494 Tdev_Vtnode_GND=0.0;
1496 Tdev=((-100.0)+273.15);
1501 ((Tdev>(326.85+273.15)))
1503 #if defined(_DERIVATE)
1504 Tdev_Vtnode_GND=0.0;
1506 Tdev=(326.85+273.15);
1509 VT0=((1.3806503e-23*Tnom)/1.602176462
e-19);
1510 #if defined(_DERIVATE)
1511 VT_Vtnode_GND=((1.3806503e-23*Tdev_Vtnode_GND)/1.602176462
e-19);
1513 VT=((1.3806503e-23*Tdev)/1.602176462
e-19);
1514 #if defined(_DERIVATE)
1515 dT_Vtnode_GND=Tdev_Vtnode_GND;
1518 #if defined(_DERIVATE)
1519 qtt0_Vtnode_GND=(Tdev_Vtnode_GND/Tnom);
1524 #if defined(_DERIVATE)
1525 double m10_logE(d10_logE0,d00_logE0,qtt0)
1527 #if defined(_DERIVATE)
1528 ln_qtt0_Vtnode_GND=qtt0_Vtnode_GND*d10_logE0;
1532 #if defined(_DYNAMIC)
1535 #if defined(_DYNAMIC)
1538 k2=((f2vg*Tnom)+(k1*d00_logE0));
1544 #if defined(_DYNAMIC)
1547 mg=(3-((1.602176462e-19*f1vg)/1.3806503
e-23));
1548 zetabci=((mg+1)-zetaci);
1551 double m00_exp(d00_exp0,((zetact*ln_qtt0)+((vgb/VT)*(qtt0-1))))
1552 #if defined(_DERIVATE)
1553 #define d10_exp0 d00_exp0
1555 #if defined(_DERIVATE)
1556 is_t_Vtnode_GND=(is*((zetact*ln_qtt0_Vtnode_GND)+(((-vgb*VT_Vtnode_GND/VT/VT)*(qtt0-1))+((vgb/VT)*qtt0_Vtnode_GND)))*
d10_exp0);
1561 double m00_exp(d00_exp0,((zetabet*ln_qtt0)+((vge/VT)*(qtt0-1))))
1562 #if defined(_DERIVATE)
1563 #define d10_exp0 d00_exp0
1565 #if defined(_DERIVATE)
1566 ibes_t_Vtnode_GND=(ibes*((zetabet*ln_qtt0_Vtnode_GND)+(((-vge*VT_Vtnode_GND/VT/VT)*(qtt0-1))+((vge/VT)*qtt0_Vtnode_GND)))*
d10_exp0);
1568 ibes_t=(ibes*d00_exp0);
1571 double m00_exp(d00_exp0,(((0.5*mg)*ln_qtt0)+(((0.5*vgbe)/VT)*(qtt0-1))))
1572 #if defined(_DERIVATE)
1573 #define d10_exp0 d00_exp0
1575 #if defined(_DERIVATE)
1576 ires_t_Vtnode_GND=(ires*(((0.5*mg)*ln_qtt0_Vtnode_GND)+(((-(0.5*vgbe)*VT_Vtnode_GND/VT/VT)*(qtt0-1))+(((0.5*vgbe)/VT)*qtt0_Vtnode_GND)))*d10_exp0);
1578 ires_t=(ires*d00_exp0);
1581 double m00_exp(d00_exp0,((zetabci*ln_qtt0)+((vgc/VT)*(qtt0-1))))
1582 #if defined(_DERIVATE)
1583 #define d10_exp0 d00_exp0
1585 #if defined(_DERIVATE)
1586 ibcs_t_Vtnode_GND=(ibcs*((zetabci*ln_qtt0_Vtnode_GND)+(((-vgc*VT_Vtnode_GND/VT/VT)*(qtt0-1))+((vgc/VT)*qtt0_Vtnode_GND)))*
d10_exp0);
1588 ibcs_t=(ibcs*d00_exp0);
1591 double m00_exp(d00_exp0,((zetasct*ln_qtt0)+((vgc/VT)*(qtt0-1))))
1592 #if defined(_DERIVATE)
1593 #define d10_exp0 d00_exp0
1595 #if defined(_DERIVATE)
1596 itss_t_Vtnode_GND=(itss*((zetasct*ln_qtt0_Vtnode_GND)+(((-vgc*VT_Vtnode_GND/VT/VT)*(qtt0-1))+((vgc/VT)*qtt0_Vtnode_GND)))*
d10_exp0);
1598 itss_t=(itss*d00_exp0);
1601 double m00_exp(d00_exp0,((zetasct*ln_qtt0)+((vgs/VT)*(qtt0-1))))
1602 #if defined(_DERIVATE)
1603 #define d10_exp0 d00_exp0
1605 #if defined(_DERIVATE)
1606 iscs_t_Vtnode_GND=(iscs*((zetasct*ln_qtt0_Vtnode_GND)+(((-vgs*VT_Vtnode_GND/VT/VT)*(qtt0-1))+((vgs/VT)*qtt0_Vtnode_GND)))*
d10_exp0);
1608 iscs_t=(iscs*d00_exp0);
1610 arg=((0.5*vde)/VT0);
1613 double
m00_exp(d00_exp1,(-arg))
1614 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1615 vdj0=((2*VT0)*d00_logE2);
1617 #if defined(_DERIVATE)
1618 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgbe*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1620 vdjt=(((vdj0*qtt0)+(vgbe*(1-qtt0)))-((mg*VT)*ln_qtt0));
1622 double m00_exp(d00_exp0,((-vdjt)/VT))
1623 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1624 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1625 #if defined(_DERIVATE)
1626 #define d10_exp0 d00_exp0
1627 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1628 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1630 #if defined(_DERIVATE)
1631 vde_t_Vtnode_GND=(vdjt_Vtnode_GND+(((2*VT_Vtnode_GND)*d00_logE2)+((2*VT)*(0.5*(4*(((-vdjt_Vtnode_GND)*VT-(-vdjt)*VT_Vtnode_GND)/VT/VT)*d10_exp0)*d10_sqrt1)*d10_logE2)));
1633 vde_t=(vdjt+((2*VT)*d00_logE2));
1636 double m00_logE(d00_logE0,(vde/vde_t))
1637 double
m00_exp(d00_exp1,(ze*d00_logE0))
1638 #if defined(_DERIVATE)
1639 double m10_logE(d10_logE0,d00_logE0,(vde/vde_t))
1640 #define d10_exp1 d00_exp1
1642 #if defined(_DERIVATE)
1643 cje0_t_Vtnode_GND=(cje0*(ze*(-vde*vde_t_Vtnode_GND/vde_t/vde_t)*d10_logE0)*
d10_exp1);
1645 cje0_t=(cje0*d00_exp1);
1647 #if defined(_DERIVATE)
1648 aje_t_Vtnode_GND=((aje*vde_t_Vtnode_GND)/vde);
1650 aje_t=((aje*vde_t)/vde);
1651 arg=((0.5*vdci)/VT0);
1654 double
m00_exp(d00_exp1,(-arg))
1655 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1656 vdj0=((2*VT0)*d00_logE2);
1658 #if defined(_DERIVATE)
1659 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgbc*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1661 vdjt=(((vdj0*qtt0)+(vgbc*(1-qtt0)))-((mg*VT)*ln_qtt0));
1663 double m00_exp(d00_exp0,((-vdjt)/VT))
1664 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1665 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1666 #if defined(_DERIVATE)
1667 #define d10_exp0 d00_exp0
1668 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1669 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1671 #if defined(_DERIVATE)
1672 vdci_t_Vtnode_GND=(vdjt_Vtnode_GND+(((2*VT_Vtnode_GND)*d00_logE2)+((2*VT)*(0.5*(4*(((-vdjt_Vtnode_GND)*VT-(-vdjt)*VT_Vtnode_GND)/VT/VT)*d10_exp0)*d10_sqrt1)*d10_logE2)));
1674 vdci_t=(vdjt+((2*VT)*d00_logE2));
1677 double m00_logE(d00_logE0,(vdci/vdci_t))
1678 double
m00_exp(d00_exp1,(zci*d00_logE0))
1679 #if defined(_DERIVATE)
1680 double m10_logE(d10_logE0,d00_logE0,(vdci/vdci_t))
1681 #define d10_exp1 d00_exp1
1683 #if defined(_DERIVATE)
1684 cjci0_t_Vtnode_GND=(cjci0*(zci*(-vdci*vdci_t_Vtnode_GND/vdci_t/vdci_t)*d10_logE0)*
d10_exp1);
1686 cjci0_t=(cjci0*d00_exp1);
1688 arg=((0.5*vdcx)/VT0);
1691 double
m00_exp(d00_exp1,(-arg))
1692 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1693 vdj0=((2*VT0)*d00_logE2);
1695 #if defined(_DERIVATE)
1696 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgbc*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1698 vdjt=(((vdj0*qtt0)+(vgbc*(1-qtt0)))-((mg*VT)*ln_qtt0));
1700 double m00_exp(d00_exp0,((-vdjt)/VT))
1701 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1702 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1703 #if defined(_DERIVATE)
1704 #define d10_exp0 d00_exp0
1705 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1706 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1708 #if defined(_DERIVATE)
1709 vdcx_t_Vtnode_GND=(vdjt_Vtnode_GND+(((2*VT_Vtnode_GND)*d00_logE2)+((2*VT)*(0.5*(4*(((-vdjt_Vtnode_GND)*VT-(-vdjt)*VT_Vtnode_GND)/VT/VT)*d10_exp0)*d10_sqrt1)*d10_logE2)));
1711 vdcx_t=(vdjt+((2*VT)*d00_logE2));
1714 double m00_logE(d00_logE0,(vdcx/vdcx_t))
1715 double
m00_exp(d00_exp1,(zcx*d00_logE0))
1716 #if defined(_DERIVATE)
1717 double m10_logE(d10_logE0,d00_logE0,(vdcx/vdcx_t))
1718 #define d10_exp1 d00_exp1
1720 #if defined(_DERIVATE)
1721 cjcx0_t_Vtnode_GND=(cjcx0*(zcx*(-vdcx*vdcx_t_Vtnode_GND/vdcx_t/vdcx_t)*d10_logE0)*
d10_exp1);
1723 cjcx0_t=(cjcx0*d00_exp1);
1725 #if defined(_DYNAMIC)
1726 arg=((0.5*vds)/VT0);
1728 #if defined(_DYNAMIC)
1731 double
m00_exp(d00_exp1,(-arg))
1732 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1733 vdj0=((2*VT0)*d00_logE2);
1736 #if defined(_DYNAMIC)
1737 #if defined(_DERIVATE)
1738 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgsc*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1740 vdjt=(((vdj0*qtt0)+(vgsc*(1-qtt0)))-((mg*VT)*ln_qtt0));
1742 #if defined(_DYNAMIC)
1744 double m00_exp(d00_exp0,((-vdjt)/VT))
1745 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1746 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1747 #if defined(_DERIVATE)
1748 #define d10_exp0 d00_exp0
1749 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1750 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1752 #if defined(_DERIVATE)
1753 vds_t_Vtnode_GND=(vdjt_Vtnode_GND+(((2*VT_Vtnode_GND)*d00_logE2)+((2*VT)*(0.5*(4*(((-vdjt_Vtnode_GND)*VT-(-vdjt)*VT_Vtnode_GND)/VT/VT)*d10_exp0)*d10_sqrt1)*d10_logE2)));
1755 vds_t=(vdjt+((2*VT)*d00_logE2));
1758 #if defined(_DYNAMIC)
1760 double m00_logE(d00_logE0,(vds/vds_t))
1761 double
m00_exp(d00_exp1,(zs*d00_logE0))
1762 #if defined(_DERIVATE)
1763 double m10_logE(d10_logE0,d00_logE0,(vds/vds_t))
1764 #define d10_exp1 d00_exp1
1766 #if defined(_DERIVATE)
1767 cjs0_t_Vtnode_GND=(cjs0*(zs*(-vds*vds_t_Vtnode_GND/vds_t/vds_t)*d10_logE0)*
d10_exp1);
1769 cjs0_t=(cjs0*d00_exp1);
1773 double m00_exp(d00_exp0,(zetaci*ln_qtt0))
1774 #if defined(_DERIVATE)
1775 #define d10_exp0 d00_exp0
1777 #if defined(_DERIVATE)
1778 rci0_t_Vtnode_GND=(rci0*(zetaci*ln_qtt0_Vtnode_GND)*d10_exp0);
1780 rci0_t=(rci0*d00_exp0);
1783 double m00_exp(d00_exp0,((zetaci-avs)*ln_qtt0))
1784 #if defined(_DERIVATE)
1785 #define d10_exp0 d00_exp0
1787 #if defined(_DERIVATE)
1788 vlim_t_Vtnode_GND=(vlim*((zetaci-avs)*ln_qtt0_Vtnode_GND)*
d10_exp0);
1790 vlim_t=(vlim*d00_exp0);
1792 #if defined(_DERIVATE)
1793 vces_t_Vtnode_GND=(vces*(alces*dT_Vtnode_GND));
1795 vces_t=(vces*(1+(alces*dT)));
1796 #if defined(_DYNAMIC)
1797 #if defined(_DERIVATE)
1798 t0_t_Vtnode_GND=(t0*((alt0*dT_Vtnode_GND)+(((kt0*dT_Vtnode_GND)*dT)+((kt0*dT)*dT_Vtnode_GND))));
1800 t0_t=(t0*((1+(alt0*dT))+((kt0*dT)*dT)));
1802 #if defined(_DYNAMIC)
1804 double m00_exp(d00_exp0,((zetaci-1)*ln_qtt0))
1805 #if defined(_DERIVATE)
1806 #define d10_exp0 d00_exp0
1808 #if defined(_DERIVATE)
1809 thcs_t_Vtnode_GND=(thcs*((zetaci-1)*ln_qtt0_Vtnode_GND)*
d10_exp0);
1811 thcs_t=(thcs*d00_exp0);
1814 #if defined(_DYNAMIC)
1815 zetatef=((zetabet-zetact)-0.5);
1817 #if defined(_DYNAMIC)
1820 #if defined(_DYNAMIC)
1822 double m00_exp(d00_exp0,((zetatef*ln_qtt0)-((dvg/VT)*(qtt0-1))))
1823 #if defined(_DERIVATE)
1824 #define d10_exp0 d00_exp0
1826 #if defined(_DERIVATE)
1827 tef0_t_Vtnode_GND=(tef0*((zetatef*ln_qtt0_Vtnode_GND)-(((-dvg*VT_Vtnode_GND/VT/VT)*(qtt0-1))+((dvg/VT)*qtt0_Vtnode_GND)))*
d10_exp0);
1829 tef0_t=(tef0*d00_exp0);
1833 double m00_exp(d00_exp0,(zetarbx*ln_qtt0))
1834 #if defined(_DERIVATE)
1835 #define d10_exp0 d00_exp0
1837 #if defined(_DERIVATE)
1838 rbx_t_Vtnode_GND=(rbx*(zetarbx*ln_qtt0_Vtnode_GND)*d10_exp0);
1840 rbx_t=(rbx*d00_exp0);
1843 double m00_exp(d00_exp0,(zetarcx*ln_qtt0))
1844 #if defined(_DERIVATE)
1845 #define d10_exp0 d00_exp0
1847 #if defined(_DERIVATE)
1848 rcx_t_Vtnode_GND=(rcx*(zetarcx*ln_qtt0_Vtnode_GND)*d10_exp0);
1850 rcx_t=(rcx*d00_exp0);
1853 double m00_exp(d00_exp0,(zetarbi*ln_qtt0))
1854 #if defined(_DERIVATE)
1855 #define d10_exp0 d00_exp0
1857 #if defined(_DERIVATE)
1858 rbi0_t_Vtnode_GND=(rbi0*(zetarbi*ln_qtt0_Vtnode_GND)*d10_exp0);
1860 rbi0_t=(rbi0*d00_exp0);
1863 double m00_exp(d00_exp0,(zetare*ln_qtt0))
1864 #if defined(_DERIVATE)
1865 #define d10_exp0 d00_exp0
1867 #if defined(_DERIVATE)
1868 re_t_Vtnode_GND=(re*(zetare*ln_qtt0_Vtnode_GND)*d10_exp0);
1873 double m00_exp(d00_exp0,(aleav*dT))
1874 #if defined(_DERIVATE)
1875 #define d10_exp0 d00_exp0
1877 #if defined(_DERIVATE)
1878 eavl_t_Vtnode_GND=(eavl*(aleav*dT_Vtnode_GND)*d10_exp0);
1880 eavl_t=(eavl*d00_exp0);
1883 double m00_exp(d00_exp0,(alkav*dT))
1884 #if defined(_DERIVATE)
1885 #define d10_exp0 d00_exp0
1887 #if defined(_DERIVATE)
1888 kavl_t_Vtnode_GND=(kavl*(alkav*dT_Vtnode_GND)*d10_exp0);
1890 kavl_t=(kavl*d00_exp0);
1895 #if defined(_DERIVATE)
1896 cjci0_t_ii_Vtnode_GND=cjci0_t_Vtnode_GND*fbc;
1898 cjci0_t_ii=(cjci0_t*fbc);
1899 #if defined(_DYNAMIC)
1900 #if defined(_DERIVATE)
1902 qjcxi_Vtnode_GND=0.0;
1907 #if defined(_DERIVATE)
1908 cjcx0_t_i_Vtnode_GND=cjci0_t_Vtnode_GND*(1-fbc);
1910 cjcx0_t_i=(cjci0_t*(1-fbc));
1918 #if defined(_DERIVATE)
1919 vp_Vtnode_GND=(-vdci_t_Vtnode_GND);
1924 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
1925 #if defined(_DERIVATE)
1926 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
1928 vf=(vdci_t*(1.0-d00_exp1));
1930 #if defined(_DERIVATE)
1931 cmax_Vtnode_GND=(2.4*cjcx0_t_i_Vtnode_GND);
1933 cmax=(2.4*cjcx0_t_i);
1935 double m00_logE(d00_logE0,(vdci_t/vptci))
1936 double
m00_exp(d00_exp1,((zci-zr)*d00_logE0))
1937 #if defined(_DERIVATE)
1938 double m10_logE(d10_logE0,d00_logE0,(vdci_t/vptci))
1939 #define d10_exp1 d00_exp1
1941 #if defined(_DERIVATE)
1942 cr_Vtnode_GND=((cjcx0_t_i_Vtnode_GND*d00_exp1)+(cjcx0_t_i*((zci-zr)*(vdci_t_Vtnode_GND/vptci)*d10_logE0)*
d10_exp1));
1944 cr=(cjcx0_t_i*d00_exp1);
1946 #if defined(_DERIVATE)
1951 a_Vtnode_GND=VT_Vtnode_GND;
1954 #if defined(_DERIVATE)
1959 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbci)*a_Vtnode_GND)/a/a);
1960 ve_Vb_ci=(((-Vbci_Vb_ci)*a-(vf-Vbci)*a_Vb_ci)/a/a);
1968 #if defined(_DERIVATE)
1969 #define d10_exp0 d00_exp0
1971 #if defined(_DERIVATE)
1976 ex1_Vtnode_GND=ve_Vtnode_GND*
d10_exp0;
1977 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
1981 #if defined(_DERIVATE)
1986 ee1_Vtnode_GND=ex1_Vtnode_GND;
1987 ee1_Vb_ci=ex1_Vb_ci;
1992 #if defined(_DERIVATE)
1993 double m10_logE(d10_logE0,d00_logE0,ee1)
1995 #if defined(_DERIVATE)
2000 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2001 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
2003 vj1=(vf-(a*d00_logE0));
2008 #if defined(_DERIVATE)
2014 vj1_Vb_ci=Vbci_Vb_ci;
2018 #if defined(_DERIVATE)
2023 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
2025 a=((0.1*vp)+(4.0*VT));
2026 #if defined(_DERIVATE)
2031 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
2032 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
2040 #if defined(_DERIVATE)
2041 #define d10_exp0 d00_exp0
2043 #if defined(_DERIVATE)
2048 ex1_Vtnode_GND=vr_Vtnode_GND*
d10_exp0;
2049 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
2053 #if defined(_DERIVATE)
2058 ee1_Vtnode_GND=ex1_Vtnode_GND;
2059 ee1_Vb_ci=ex1_Vb_ci;
2064 #if defined(_DERIVATE)
2065 double m10_logE(d10_logE0,d00_logE0,ee1)
2067 #if defined(_DERIVATE)
2072 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2073 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
2075 vj2=((-vp)+(a*d00_logE0));
2080 #if defined(_DERIVATE)
2085 vj2_Vtnode_GND=vj1_Vtnode_GND;
2086 vj2_Vb_ci=vj1_Vb_ci;
2090 #if defined(_DERIVATE)
2095 vj4_Vb_ci=(Vbci_Vb_ci-vj1_Vb_ci);
2096 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
2102 double m00_logE(d00_logE0,(1.0-(vj1/vdci_t)))
2103 #if defined(_DERIVATE)
2104 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdci_t)))
2106 #if defined(_DERIVATE)
2111 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdci_t-vj1*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
2112 vdj1_Vb_ci=(-(vj1_Vb_ci/vdci_t))*d10_logE0;
2117 double m00_logE(d00_logE0,(1.0-(vj2/vdci_t)))
2118 #if defined(_DERIVATE)
2119 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdci_t)))
2121 #if defined(_DERIVATE)
2126 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdci_t-vj2*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
2127 vdj2_Vb_ci=(-(vj2_Vb_ci/vdci_t))*d10_logE0;
2132 double m00_exp(d00_exp0,(vdj2*ez))
2133 #if defined(_DERIVATE)
2134 #define d10_exp0 d00_exp0
2136 #if defined(_DERIVATE)
2141 qj1_Vtnode_GND=(((cjcx0_t_i_Vtnode_GND*(1.0-d00_exp0))+(cjcx0_t_i*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
2142 qj1_Vb_ci=((cjcx0_t_i*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
2144 qj1=((cjcx0_t_i*(1.0-d00_exp0))/ez);
2147 double m00_exp(d00_exp0,(vdj1*ezr))
2148 #if defined(_DERIVATE)
2149 #define d10_exp0 d00_exp0
2151 #if defined(_DERIVATE)
2156 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2157 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
2159 qj2=((cr*(1.0-d00_exp0))/ezr);
2162 double m00_exp(d00_exp0,(vdj2*ezr))
2163 #if defined(_DERIVATE)
2164 #define d10_exp0 d00_exp0
2166 #if defined(_DERIVATE)
2171 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2172 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
2174 qj3=((cr*(1.0-d00_exp0))/ezr);
2176 #if defined(_DYNAMIC)
2177 #if defined(_DERIVATE)
2179 qjcx_Vtnode_GND=(((((qj1_Vtnode_GND+qj2_Vtnode_GND)-qj3_Vtnode_GND)*vdci_t)+(((qj1+qj2)-qj3)*vdci_t_Vtnode_GND))+((cmax_Vtnode_GND*vj4)+(cmax*vj4_Vtnode_GND)));
2180 qjcx_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdci_t+(cmax*vj4_Vb_ci));
2182 qjcx=((((qj1+qj2)-qj3)*vdci_t)+(cmax*vj4));
2187 #if defined(_DYNAMIC)
2188 #if defined(_DERIVATE)
2190 qjcx_Vtnode_GND=0.0;
2204 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
2205 #if defined(_DERIVATE)
2206 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
2208 vf=(vdci_t*(1.0-d00_exp1));
2210 #if defined(_DERIVATEFORDDX)
2211 #if defined(_DERIVATE)
2215 #if defined(_DERIVATE)
2216 xvf_Vbi_ei_Vs_ci=0.0;
2217 xvf_Vbi_ei_Vbi_ei=0.0;
2218 xvf_Vbi_ei_Vbi_ci=0.0;
2219 xvf_Vbi_ei_Vtnode_GND=0.0;
2220 xvf_Vbi_ei_Vb_ci=0.0;
2223 #if defined(_DERIVATE)
2224 xvf_Vbi_ci_Vs_ci=0.0;
2225 xvf_Vbi_ci_Vbi_ei=0.0;
2226 xvf_Vbi_ci_Vbi_ci=0.0;
2227 xvf_Vbi_ci_Vtnode_GND=0.0;
2228 xvf_Vbi_ci_Vb_ci=0.0;
2230 #if defined(_DERIVATE)
2231 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbci)*VT_Vtnode_GND)/VT/VT);
2233 #if defined(_DERIVATE)
2234 xvf_Vb_ci=((-Vbci_Vb_ci)/VT);
2239 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
2240 #if defined(_DERIVATEFORDDX)
2241 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
2243 #if defined(_DERIVATEFORDDX)
2244 #if defined(_DERIVATE)
2248 #if defined(_DERIVATE)
2249 xvf2_Vbi_ei_Vs_ci=0.0;
2250 xvf2_Vbi_ei_Vbi_ei=0.0;
2251 xvf2_Vbi_ei_Vbi_ci=0.0;
2252 xvf2_Vbi_ei_Vtnode_GND=0.0;
2253 xvf2_Vbi_ei_Vb_ci=0.0;
2256 #if defined(_DERIVATE)
2257 xvf2_Vbi_ci_Vs_ci=0.0;
2258 xvf2_Vbi_ci_Vbi_ei=0.0;
2259 xvf2_Vbi_ci_Vbi_ci=0.0;
2260 xvf2_Vbi_ci_Vtnode_GND=0.0;
2261 xvf2_Vbi_ci_Vb_ci=0.0;
2263 #if defined(_DERIVATE)
2264 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
2266 #if defined(_DERIVATE)
2267 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
2272 #if defined(_DERIVATEFORDDX)
2273 #if defined(_DERIVATE)
2277 #if defined(_DERIVATE)
2278 v_j_Vbi_ei_Vs_ci=0.0;
2279 v_j_Vbi_ei_Vbi_ei=0.0;
2280 v_j_Vbi_ei_Vbi_ci=0.0;
2281 v_j_Vbi_ei_Vtnode_GND=0.0;
2282 v_j_Vbi_ei_Vb_ci=0.0;
2285 #if defined(_DERIVATE)
2286 v_j_Vbi_ci_Vs_ci=0.0;
2287 v_j_Vbi_ci_Vbi_ei=0.0;
2288 v_j_Vbi_ci_Vbi_ci=0.0;
2289 v_j_Vbi_ci_Vtnode_GND=0.0;
2290 v_j_Vbi_ci_Vb_ci=0.0;
2292 #if defined(_DERIVATE)
2293 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
2295 #if defined(_DERIVATE)
2296 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
2299 v_j=(vf-((VT*(xvf+xvf2))*0.5));
2300 #if defined(_DERIVATE)
2306 double m00_logE(d00_logE0,(1.0-(v_j/vdci_t)))
2307 double
m00_exp(d00_exp1,(x*d00_logE0))
2308 #if defined(_DERIVATEFORDDX)
2309 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdci_t)))
2310 #define d10_exp1 d00_exp1
2312 #if defined(_DERIVATEFORDDX)
2313 #if defined(_DERIVATE)
2316 #if defined(_DERIVATE)
2320 #if defined(_DERIVATE)
2321 y_Vbi_ei_Vci_ei=0.0;
2323 y_Vbi_ei_Vbi_ei=0.0;
2324 y_Vbi_ei_Vbi_ci=0.0;
2325 y_Vbi_ei_Vtnode_GND=0.0;
2329 #if defined(_DERIVATE)
2330 y_Vbi_ci_Vci_ei=0.0;
2332 y_Vbi_ci_Vbi_ei=0.0;
2333 y_Vbi_ci_Vbi_ci=0.0;
2334 y_Vbi_ci_Vtnode_GND=0.0;
2337 #if defined(_DERIVATE)
2338 y_Vtnode_GND=(-((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vdci_t-v_j*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0))*
d10_exp1);
2340 #if defined(_DERIVATE)
2341 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vdci_t))*d10_logE0)*d10_exp1);
2346 #if defined(_DYNAMIC)
2347 #if defined(_DERIVATE)
2349 qjcx_Vtnode_GND=(((((((cjcx0_t_i_Vtnode_GND*vdci_t)+(cjcx0_t_i*vdci_t_Vtnode_GND))*y)+((cjcx0_t_i*vdci_t)*y_Vtnode_GND))*x-((cjcx0_t_i*vdci_t)*y)*x_Vtnode_GND)/x/
x)+(((2.4*cjcx0_t_i_Vtnode_GND)*(Vbci-v_j))+((2.4*cjcx0_t_i)*(-v_j_Vtnode_GND))));
2350 qjcx_Vb_ci=((((cjcx0_t_i*vdci_t)*y_Vb_ci)/
x)+((2.4*cjcx0_t_i)*(Vbci_Vb_ci-v_j_Vb_ci)));
2352 qjcx=((((cjcx0_t_i*vdci_t)*y)/
x)+((2.4*cjcx0_t_i)*(Vbci-v_j)));
2357 #if defined(_DYNAMIC)
2358 #if defined(_DERIVATE)
2360 qjcx_Vtnode_GND=0.0;
2370 #if defined(_DERIVATE)
2371 cjci0_t_ii_Vtnode_GND=cjci0_t_Vtnode_GND;
2374 #if defined(_DERIVATE)
2375 cjcx0_t_ii_Vtnode_GND=cjcx0_t_Vtnode_GND*fbc;
2377 cjcx0_t_ii=(cjcx0_t*fbc);
2385 #if defined(_DERIVATE)
2386 vp_Vtnode_GND=(-vdcx_t_Vtnode_GND);
2391 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
2392 #if defined(_DERIVATE)
2393 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
2395 vf=(vdcx_t*(1.0-d00_exp1));
2397 #if defined(_DERIVATE)
2398 cmax_Vtnode_GND=(2.4*cjcx0_t_ii_Vtnode_GND);
2400 cmax=(2.4*cjcx0_t_ii);
2402 double m00_logE(d00_logE0,(vdcx_t/vptcx))
2403 double
m00_exp(d00_exp1,((zcx-zr)*d00_logE0))
2404 #if defined(_DERIVATE)
2405 double m10_logE(d10_logE0,d00_logE0,(vdcx_t/vptcx))
2406 #define d10_exp1 d00_exp1
2408 #if defined(_DERIVATE)
2409 cr_Vtnode_GND=((cjcx0_t_ii_Vtnode_GND*d00_exp1)+(cjcx0_t_ii*((zcx-zr)*(vdcx_t_Vtnode_GND/vptcx)*d10_logE0)*
d10_exp1));
2411 cr=(cjcx0_t_ii*d00_exp1);
2413 #if defined(_DERIVATE)
2418 a_Vtnode_GND=VT_Vtnode_GND;
2421 #if defined(_DERIVATE)
2425 ve_Vbi_ci=(((-Vbici_Vbi_ci)*a-(vf-Vbici)*a_Vbi_ci)/a/a);
2426 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbici)*a_Vtnode_GND)/a/a);
2435 #if defined(_DERIVATE)
2436 #define d10_exp0 d00_exp0
2438 #if defined(_DERIVATE)
2443 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
2444 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
2448 #if defined(_DERIVATE)
2452 ee1_Vbi_ci=ex1_Vbi_ci;
2453 ee1_Vtnode_GND=ex1_Vtnode_GND;
2454 ee1_Vb_ci=ex1_Vb_ci;
2459 #if defined(_DERIVATE)
2460 double m10_logE(d10_logE0,d00_logE0,ee1)
2462 #if defined(_DERIVATE)
2466 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
2467 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2468 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
2470 vj1=(vf-(a*d00_logE0));
2475 #if defined(_DERIVATE)
2479 vj1_Vbi_ci=Vbici_Vbi_ci;
2485 #if defined(_DERIVATE)
2490 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
2492 a=((0.1*vp)+(4.0*VT));
2493 #if defined(_DERIVATE)
2497 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
2498 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
2499 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
2507 #if defined(_DERIVATE)
2508 #define d10_exp0 d00_exp0
2510 #if defined(_DERIVATE)
2515 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
2516 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
2520 #if defined(_DERIVATE)
2524 ee1_Vbi_ci=ex1_Vbi_ci;
2525 ee1_Vtnode_GND=ex1_Vtnode_GND;
2526 ee1_Vb_ci=ex1_Vb_ci;
2531 #if defined(_DERIVATE)
2532 double m10_logE(d10_logE0,d00_logE0,ee1)
2534 #if defined(_DERIVATE)
2538 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
2539 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2540 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
2542 vj2=((-vp)+(a*d00_logE0));
2547 #if defined(_DERIVATE)
2551 vj2_Vbi_ci=vj1_Vbi_ci;
2552 vj2_Vtnode_GND=vj1_Vtnode_GND;
2553 vj2_Vb_ci=vj1_Vb_ci;
2557 #if defined(_DERIVATE)
2561 vj4_Vbi_ci=(Vbici_Vbi_ci-vj1_Vbi_ci);
2562 vj4_Vb_ci=(-vj1_Vb_ci);
2563 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
2569 double m00_logE(d00_logE0,(1.0-(vj1/vdcx_t)))
2570 #if defined(_DERIVATE)
2571 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdcx_t)))
2573 #if defined(_DERIVATE)
2577 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vdcx_t))*d10_logE0;
2578 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdcx_t-vj1*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
2579 vdj1_Vb_ci=(-(vj1_Vb_ci/vdcx_t))*d10_logE0;
2584 double m00_logE(d00_logE0,(1.0-(vj2/vdcx_t)))
2585 #if defined(_DERIVATE)
2586 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdcx_t)))
2588 #if defined(_DERIVATE)
2592 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vdcx_t))*d10_logE0;
2593 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdcx_t-vj2*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
2594 vdj2_Vb_ci=(-(vj2_Vb_ci/vdcx_t))*d10_logE0;
2599 double m00_exp(d00_exp0,(vdj2*ez))
2600 #if defined(_DERIVATE)
2601 #define d10_exp0 d00_exp0
2603 #if defined(_DERIVATE)
2607 qj1_Vbi_ci=((cjcx0_t_ii*(-vdj2_Vbi_ci*ez*
d10_exp0))/ez);
2608 qj1_Vtnode_GND=(((cjcx0_t_ii_Vtnode_GND*(1.0-d00_exp0))+(cjcx0_t_ii*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
2609 qj1_Vb_ci=((cjcx0_t_ii*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
2611 qj1=((cjcx0_t_ii*(1.0-d00_exp0))/ez);
2614 double m00_exp(d00_exp0,(vdj1*ezr))
2615 #if defined(_DERIVATE)
2616 #define d10_exp0 d00_exp0
2618 #if defined(_DERIVATE)
2622 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*
d10_exp0))/ezr);
2623 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2624 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
2626 qj2=((cr*(1.0-d00_exp0))/ezr);
2629 double m00_exp(d00_exp0,(vdj2*ezr))
2630 #if defined(_DERIVATE)
2631 #define d10_exp0 d00_exp0
2633 #if defined(_DERIVATE)
2637 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*
d10_exp0))/ezr);
2638 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2639 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
2641 qj3=((cr*(1.0-d00_exp0))/ezr);
2643 #if defined(_DYNAMIC)
2644 #if defined(_DERIVATE)
2645 qjcxi_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vdcx_t+(cmax*vj4_Vbi_ci));
2646 qjcxi_Vtnode_GND=(((((qj1_Vtnode_GND+qj2_Vtnode_GND)-qj3_Vtnode_GND)*vdcx_t)+(((qj1+qj2)-qj3)*vdcx_t_Vtnode_GND))+((cmax_Vtnode_GND*vj4)+(cmax*vj4_Vtnode_GND)));
2647 qjcxi_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdcx_t+(cmax*vj4_Vb_ci));
2649 qjcxi=((((qj1+qj2)-qj3)*vdcx_t)+(cmax*vj4));
2654 #if defined(_DYNAMIC)
2655 #if defined(_DERIVATE)
2657 qjcxi_Vtnode_GND=0.0;
2671 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
2672 #if defined(_DERIVATE)
2673 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
2675 vf=(vdcx_t*(1.0-d00_exp1));
2677 #if defined(_DERIVATEFORDDX)
2678 #if defined(_DERIVATE)
2682 #if defined(_DERIVATE)
2683 xvf_Vbi_ei_Vs_ci=0.0;
2684 xvf_Vbi_ei_Vbi_ei=0.0;
2685 xvf_Vbi_ei_Vbi_ci=0.0;
2686 xvf_Vbi_ei_Vtnode_GND=0.0;
2687 xvf_Vbi_ei_Vb_ci=0.0;
2689 xvf_Vbi_ci=((-Vbici_Vbi_ci)/VT);
2690 #if defined(_DERIVATE)
2691 xvf_Vbi_ci_Vs_ci=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*0.0+0.0*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
2692 xvf_Vbi_ci_Vbi_ei=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*0.0+0.0*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
2693 xvf_Vbi_ci_Vbi_ci=((+0.0-Vbici_Vbi_ci_Vbi_ci)/VT-((-Vbici_Vbi_ci)*0.0+(-Vbici_Vbi_ci)*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
2694 xvf_Vbi_ci_Vtnode_GND=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*VT_Vtnode_GND+vf_Vtnode_GND*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*VT_Vtnode_GND/VT/VT/VT);
2695 xvf_Vbi_ci_Vb_ci=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*0.0+0.0*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
2697 #if defined(_DERIVATE)
2698 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbici)*VT_Vtnode_GND)/VT/VT);
2700 #if defined(_DERIVATE)
2704 xvf=((vf-Vbici)/VT);
2706 double m00_sqrt(d00_sqrt0,((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bi_ci*xvf_Vbi_ci+xvf*xvf_Vbi_ci_Vbi_ci)+0.0));
2727 xvf2_Vbi_ci_Vtnode_GND=(
m20_sqrt(((xvf*xvf)+1.921812))*(((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND)))*((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))+d10_sqrt0*(+(+xvf_Vbi_ci_Vtnode_GND*xvf+xvf_Vbi_ci*xvf_Vtnode_GND+xvf_Vtnode_GND*xvf_Vbi_ci+xvf*xvf_Vbi_ci_Vtnode_GND)+0.0));
2728 xvf2_Vbi_ci_Vb_ci=(
m20_sqrt(((xvf*xvf)+1.921812))*(((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci)))*((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))+d10_sqrt0*(+(+xvf_Vbi_ci_Vb_ci*xvf+xvf_Vbi_ci*xvf_Vb_ci+xvf_Vb_ci*xvf_Vbi_ci+xvf*xvf_Vbi_ci_Vb_ci)+0.0));
2730 #if defined(_DERIVATE)
2731 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
2733 #if defined(_DERIVATE)
2734 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
2739 #if defined(_DERIVATEFORDDX)
2740 #if defined(_DERIVATE)
2744 #if defined(_DERIVATE)
2745 v_j_Vbi_ei_Vs_ci=0.0;
2746 v_j_Vbi_ei_Vbi_ei=0.0;
2747 v_j_Vbi_ei_Vbi_ci=0.0;
2748 v_j_Vbi_ei_Vtnode_GND=0.0;
2749 v_j_Vbi_ei_Vb_ci=0.0;
2751 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
2752 #if defined(_DERIVATE)
2753 v_j_Vbi_ci_Vs_ci=(+0.0-(+(+0.0*(xvf+xvf2)+0.0*(xvf_Vs_ci+xvf2_Vs_ci)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b_ci+xvf2_Vb_ci)+0.0*(xvf_Vbi_ci+xvf2_Vbi_ci)+VT*(+xvf_Vbi_ci_Vb_ci+xvf2_Vbi_ci_Vb_ci))*0.5+(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.0+((VT*(xvf_Vb_ci+xvf2_Vb_ci)))*0.0+(VT*(xvf+xvf2))*0.0));
2759 #if defined(_DERIVATE)
2760 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
2762 #if defined(_DERIVATE)
2763 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
2766 v_j=(vf-((VT*(xvf+xvf2))*0.5));
2767 #if defined(_DERIVATE)
2773 double m00_logE(d00_logE0,(1.0-(v_j/vdcx_t)))
2774 double
m00_exp(d00_exp1,(x*d00_logE0))
2775 #if defined(_DERIVATEFORDDX)
2776 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdcx_t)))
2777 #define d10_exp1 d00_exp1
2779 #if defined(_DERIVATEFORDDX)
2780 #if defined(_DERIVATE)
2783 #if defined(_DERIVATE)
2787 #if defined(_DERIVATE)
2788 y_Vbi_ei_Vci_ei=0.0;
2790 y_Vbi_ei_Vbi_ei=0.0;
2791 y_Vbi_ei_Vbi_ci=0.0;
2792 y_Vbi_ei_Vtnode_GND=0.0;
2795 y_Vbi_ci=(-(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)*d10_exp1);
2796 #if defined(_DERIVATE)
2797 y_Vbi_ci_Vci_ei=(+0.0-(
m20_exp((x*d00_logE0))*(x_Vci_ei*d00_logE0)*(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*0.0+x_Vci_ei*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0+x*0.0)));
2798 y_Vbi_ci_Vs_ci=(+0.0-(
m20_exp((x*d00_logE0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(-(v_j_Vbi_ci/vdcx_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vbi_ci/vdcx_t-(v_j_Vbi_ci*0.0+v_j_Vbi_ci*0.0+v_j*0.0)/vdcx_t/vdcx_t+2*v_j*0.0*0.0/vdcx_t/vdcx_t/vdcx_t))))));
2801 y_Vbi_ci_Vtnode_GND=(+0.0-(
m20_exp((x*d00_logE0))*(((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vdcx_t-v_j*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0)))*(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)+
d10_exp1*(+0.0*d00_logE0+0.0*(-((v_j_Vtnode_GND*vdcx_t-v_j*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0+x_Vtnode_GND*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdcx_t)))*(-((v_j_Vtnode_GND*vdcx_t-v_j*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*(-(v_j_Vbi_ci/vdcx_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vtnode_GND/vdcx_t-(v_j_Vbi_ci*vdcx_t_Vtnode_GND+v_j_Vtnode_GND*0.0+v_j*0.0)/vdcx_t/vdcx_t+2*v_j*0.0*vdcx_t_Vtnode_GND/vdcx_t/vdcx_t/vdcx_t))))));
2802 y_Vbi_ci_Vb_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vb_ci/vdcx_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vb_ci/vdcx_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdcx_t)))*(-(v_j_Vb_ci/vdcx_t))*(-(v_j_Vbi_ci/vdcx_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vb_ci/vdcx_t-(v_j_Vbi_ci*0.0+v_j_Vb_ci*0.0+v_j*0.0)/vdcx_t/vdcx_t+2*v_j*0.0*0.0/vdcx_t/vdcx_t/vdcx_t))))));
2804 #if defined(_DERIVATE)
2805 y_Vtnode_GND=(-((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vdcx_t-v_j*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0))*
d10_exp1);
2807 #if defined(_DERIVATE)
2808 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vdcx_t))*d10_logE0)*d10_exp1);
2813 #if defined(_DYNAMIC)
2814 #if defined(_DERIVATE)
2815 qjcxi_Vbi_ci=((((cjcx0_t_ii*vdcx_t)*y_Vbi_ci)/
x)+((2.4*cjcx0_t_ii)*(Vbici_Vbi_ci-v_j_Vbi_ci)));
2816 qjcxi_Vtnode_GND=(((((((cjcx0_t_ii_Vtnode_GND*vdcx_t)+(cjcx0_t_ii*vdcx_t_Vtnode_GND))*y)+((cjcx0_t_ii*vdcx_t)*y_Vtnode_GND))*x-((cjcx0_t_ii*vdcx_t)*y)*x_Vtnode_GND)/x/
x)+(((2.4*cjcx0_t_ii_Vtnode_GND)*(Vbici-v_j))+((2.4*cjcx0_t_ii)*(-v_j_Vtnode_GND))));
2817 qjcxi_Vb_ci=((((cjcx0_t_ii*vdcx_t)*y_Vb_ci)/
x)+((2.4*cjcx0_t_ii)*(-v_j_Vb_ci)));
2819 qjcxi=((((cjcx0_t_ii*vdcx_t)*y)/
x)+((2.4*cjcx0_t_ii)*(Vbici-v_j)));
2824 #if defined(_DYNAMIC)
2825 #if defined(_DERIVATE)
2827 qjcxi_Vtnode_GND=0.0;
2834 #if defined(_DERIVATE)
2835 cjcx0_t_i_Vtnode_GND=cjcx0_t_Vtnode_GND*(1-fbc);
2837 cjcx0_t_i=(cjcx0_t*(1-fbc));
2845 #if defined(_DERIVATE)
2846 vp_Vtnode_GND=(-vdcx_t_Vtnode_GND);
2851 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
2852 #if defined(_DERIVATE)
2853 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
2855 vf=(vdcx_t*(1.0-d00_exp1));
2857 #if defined(_DERIVATE)
2858 cmax_Vtnode_GND=(2.4*cjcx0_t_i_Vtnode_GND);
2860 cmax=(2.4*cjcx0_t_i);
2862 double m00_logE(d00_logE0,(vdcx_t/vptcx))
2863 double
m00_exp(d00_exp1,((zcx-zr)*d00_logE0))
2864 #if defined(_DERIVATE)
2865 double m10_logE(d10_logE0,d00_logE0,(vdcx_t/vptcx))
2866 #define d10_exp1 d00_exp1
2868 #if defined(_DERIVATE)
2869 cr_Vtnode_GND=((cjcx0_t_i_Vtnode_GND*d00_exp1)+(cjcx0_t_i*((zcx-zr)*(vdcx_t_Vtnode_GND/vptcx)*d10_logE0)*
d10_exp1));
2871 cr=(cjcx0_t_i*d00_exp1);
2873 #if defined(_DERIVATE)
2878 a_Vtnode_GND=VT_Vtnode_GND;
2881 #if defined(_DERIVATE)
2886 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbci)*a_Vtnode_GND)/a/a);
2887 ve_Vb_ci=(((-Vbci_Vb_ci)*a-(vf-Vbci)*a_Vb_ci)/a/a);
2895 #if defined(_DERIVATE)
2896 #define d10_exp0 d00_exp0
2898 #if defined(_DERIVATE)
2903 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
2904 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
2908 #if defined(_DERIVATE)
2912 ee1_Vbi_ci=ex1_Vbi_ci;
2913 ee1_Vtnode_GND=ex1_Vtnode_GND;
2914 ee1_Vb_ci=ex1_Vb_ci;
2919 #if defined(_DERIVATE)
2920 double m10_logE(d10_logE0,d00_logE0,ee1)
2922 #if defined(_DERIVATE)
2926 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
2927 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2928 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
2930 vj1=(vf-(a*d00_logE0));
2935 #if defined(_DERIVATE)
2941 vj1_Vb_ci=Vbci_Vb_ci;
2945 #if defined(_DERIVATE)
2950 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
2952 a=((0.1*vp)+(4.0*VT));
2953 #if defined(_DERIVATE)
2957 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
2958 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
2959 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
2967 #if defined(_DERIVATE)
2968 #define d10_exp0 d00_exp0
2970 #if defined(_DERIVATE)
2975 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
2976 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
2980 #if defined(_DERIVATE)
2984 ee1_Vbi_ci=ex1_Vbi_ci;
2985 ee1_Vtnode_GND=ex1_Vtnode_GND;
2986 ee1_Vb_ci=ex1_Vb_ci;
2991 #if defined(_DERIVATE)
2992 double m10_logE(d10_logE0,d00_logE0,ee1)
2994 #if defined(_DERIVATE)
2998 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
2999 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
3000 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
3002 vj2=((-vp)+(a*d00_logE0));
3007 #if defined(_DERIVATE)
3011 vj2_Vbi_ci=vj1_Vbi_ci;
3012 vj2_Vtnode_GND=vj1_Vtnode_GND;
3013 vj2_Vb_ci=vj1_Vb_ci;
3017 #if defined(_DERIVATE)
3021 vj4_Vbi_ci=(-vj1_Vbi_ci);
3022 vj4_Vb_ci=(Vbci_Vb_ci-vj1_Vb_ci);
3023 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
3029 double m00_logE(d00_logE0,(1.0-(vj1/vdcx_t)))
3030 #if defined(_DERIVATE)
3031 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdcx_t)))
3033 #if defined(_DERIVATE)
3037 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vdcx_t))*d10_logE0;
3038 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdcx_t-vj1*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
3039 vdj1_Vb_ci=(-(vj1_Vb_ci/vdcx_t))*d10_logE0;
3044 double m00_logE(d00_logE0,(1.0-(vj2/vdcx_t)))
3045 #if defined(_DERIVATE)
3046 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdcx_t)))
3048 #if defined(_DERIVATE)
3052 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vdcx_t))*d10_logE0;
3053 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdcx_t-vj2*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
3054 vdj2_Vb_ci=(-(vj2_Vb_ci/vdcx_t))*d10_logE0;
3059 double m00_exp(d00_exp0,(vdj2*ez))
3060 #if defined(_DERIVATE)
3061 #define d10_exp0 d00_exp0
3063 #if defined(_DERIVATE)
3067 qj1_Vbi_ci=((cjcx0_t_i*(-vdj2_Vbi_ci*ez*
d10_exp0))/ez);
3068 qj1_Vtnode_GND=(((cjcx0_t_i_Vtnode_GND*(1.0-d00_exp0))+(cjcx0_t_i*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
3069 qj1_Vb_ci=((cjcx0_t_i*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
3071 qj1=((cjcx0_t_i*(1.0-d00_exp0))/ez);
3074 double m00_exp(d00_exp0,(vdj1*ezr))
3075 #if defined(_DERIVATE)
3076 #define d10_exp0 d00_exp0
3078 #if defined(_DERIVATE)
3082 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*
d10_exp0))/ezr);
3083 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3084 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
3086 qj2=((cr*(1.0-d00_exp0))/ezr);
3089 double m00_exp(d00_exp0,(vdj2*ezr))
3090 #if defined(_DERIVATE)
3091 #define d10_exp0 d00_exp0
3093 #if defined(_DERIVATE)
3097 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*
d10_exp0))/ezr);
3098 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3099 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
3101 qj3=((cr*(1.0-d00_exp0))/ezr);
3103 #if defined(_DYNAMIC)
3104 #if defined(_DERIVATE)
3105 qjcx_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vdcx_t+(cmax*vj4_Vbi_ci));
3106 qjcx_Vtnode_GND=(((((qj1_Vtnode_GND+qj2_Vtnode_GND)-qj3_Vtnode_GND)*vdcx_t)+(((qj1+qj2)-qj3)*vdcx_t_Vtnode_GND))+((cmax_Vtnode_GND*vj4)+(cmax*vj4_Vtnode_GND)));
3107 qjcx_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdcx_t+(cmax*vj4_Vb_ci));
3109 qjcx=((((qj1+qj2)-qj3)*vdcx_t)+(cmax*vj4));
3114 #if defined(_DYNAMIC)
3115 #if defined(_DERIVATE)
3117 qjcx_Vtnode_GND=0.0;
3131 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
3132 #if defined(_DERIVATE)
3133 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
3135 vf=(vdcx_t*(1.0-d00_exp1));
3137 #if defined(_DERIVATEFORDDX)
3138 #if defined(_DERIVATE)
3142 #if defined(_DERIVATE)
3143 xvf_Vbi_ei_Vs_ci=0.0;
3144 xvf_Vbi_ei_Vbi_ei=0.0;
3145 xvf_Vbi_ei_Vbi_ci=0.0;
3146 xvf_Vbi_ei_Vtnode_GND=0.0;
3147 xvf_Vbi_ei_Vb_ci=0.0;
3150 #if defined(_DERIVATE)
3151 xvf_Vbi_ci_Vs_ci=0.0;
3152 xvf_Vbi_ci_Vbi_ei=0.0;
3153 xvf_Vbi_ci_Vbi_ci=0.0;
3154 xvf_Vbi_ci_Vtnode_GND=0.0;
3155 xvf_Vbi_ci_Vb_ci=0.0;
3157 #if defined(_DERIVATE)
3158 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbci)*VT_Vtnode_GND)/VT/VT);
3160 #if defined(_DERIVATE)
3161 xvf_Vb_ci=((-Vbci_Vb_ci)/VT);
3166 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3167 #if defined(_DERIVATEFORDDX)
3168 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3170 #if defined(_DERIVATEFORDDX)
3171 #if defined(_DERIVATE)
3175 #if defined(_DERIVATE)
3176 xvf2_Vbi_ei_Vs_ci=0.0;
3177 xvf2_Vbi_ei_Vbi_ei=0.0;
3178 xvf2_Vbi_ei_Vbi_ci=0.0;
3179 xvf2_Vbi_ei_Vtnode_GND=0.0;
3180 xvf2_Vbi_ei_Vb_ci=0.0;
3182 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
3183 #if defined(_DERIVATE)
3184 xvf2_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(vf-((VT*(xvf+xvf2))*0.5));
3227 #if defined(_DERIVATE)
3233 double m00_logE(d00_logE0,(1.0-(v_j/vdcx_t)))
3234 double
m00_exp(d00_exp1,(x*d00_logE0))
3235 #if defined(_DERIVATEFORDDX)
3236 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdcx_t)))
3237 #define d10_exp1 d00_exp1
3239 #if defined(_DERIVATEFORDDX)
3240 #if defined(_DERIVATE)
3243 #if defined(_DERIVATE)
3247 #if defined(_DERIVATE)
3248 y_Vbi_ei_Vci_ei=0.0;
3250 y_Vbi_ei_Vbi_ei=0.0;
3251 y_Vbi_ei_Vbi_ci=0.0;
3252 y_Vbi_ei_Vtnode_GND=0.0;
3255 y_Vbi_ci=(-(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)*d10_exp1);
3256 #if defined(_DERIVATE)
3257 y_Vbi_ci_Vci_ei=(+0.0-(
m20_exp((x*d00_logE0))*(x_Vci_ei*d00_logE0)*(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*0.0+x_Vci_ei*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0+x*0.0)));
3258 y_Vbi_ci_Vs_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vs_ci/vdcx_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vs_ci/vdcx_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdcx_t)))*(-(v_j_Vs_ci/vdcx_t))*(-(v_j_Vbi_ci/vdcx_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vs_ci/vdcx_t-(v_j_Vbi_ci*0.0+v_j_Vs_ci*0.0+v_j*0.0)/vdcx_t/vdcx_t+2*v_j*0.0*0.0/vdcx_t/vdcx_t/vdcx_t))))));
3259 y_Vbi_ci_Vbi_ei=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ei/vdcx_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ei/vdcx_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdcx_t)))*(-(v_j_Vbi_ei/vdcx_t))*(-(v_j_Vbi_ci/vdcx_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vbi_ei/vdcx_t-(v_j_Vbi_ci*0.0+v_j_Vbi_ei*0.0+v_j*0.0)/vdcx_t/vdcx_t+2*v_j*0.0*0.0/vdcx_t/vdcx_t/vdcx_t))))));
3260 y_Vbi_ci_Vbi_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdcx_t)))*(-(v_j_Vbi_ci/vdcx_t))*(-(v_j_Vbi_ci/vdcx_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vbi_ci/vdcx_t-(v_j_Vbi_ci*0.0+v_j_Vbi_ci*0.0+v_j*0.0)/vdcx_t/vdcx_t+2*v_j*0.0*0.0/vdcx_t/vdcx_t/vdcx_t))))));
3261 y_Vbi_ci_Vtnode_GND=(+0.0-(
m20_exp((x*d00_logE0))*(((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vdcx_t-v_j*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0)))*(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)+
d10_exp1*(+0.0*d00_logE0+0.0*(-((v_j_Vtnode_GND*vdcx_t-v_j*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0+x_Vtnode_GND*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdcx_t)))*(-((v_j_Vtnode_GND*vdcx_t-v_j*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*(-(v_j_Vbi_ci/vdcx_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vtnode_GND/vdcx_t-(v_j_Vbi_ci*vdcx_t_Vtnode_GND+v_j_Vtnode_GND*0.0+v_j*0.0)/vdcx_t/vdcx_t+2*v_j*0.0*vdcx_t_Vtnode_GND/vdcx_t/vdcx_t/vdcx_t))))));
3262 y_Vbi_ci_Vb_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vb_ci/vdcx_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vb_ci/vdcx_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdcx_t)))*(-(v_j_Vb_ci/vdcx_t))*(-(v_j_Vbi_ci/vdcx_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vb_ci/vdcx_t-(v_j_Vbi_ci*0.0+v_j_Vb_ci*0.0+v_j*0.0)/vdcx_t/vdcx_t+2*v_j*0.0*0.0/vdcx_t/vdcx_t/vdcx_t))))));
3264 #if defined(_DERIVATE)
3265 y_Vtnode_GND=(-((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vdcx_t-v_j*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0))*
d10_exp1);
3267 #if defined(_DERIVATE)
3268 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vdcx_t))*d10_logE0)*d10_exp1);
3273 #if defined(_DYNAMIC)
3274 #if defined(_DERIVATE)
3275 qjcx_Vbi_ci=((((cjcx0_t_i*vdcx_t)*y_Vbi_ci)/
x)+((2.4*cjcx0_t_i)*(-v_j_Vbi_ci)));
3276 qjcx_Vtnode_GND=(((((((cjcx0_t_i_Vtnode_GND*vdcx_t)+(cjcx0_t_i*vdcx_t_Vtnode_GND))*y)+((cjcx0_t_i*vdcx_t)*y_Vtnode_GND))*x-((cjcx0_t_i*vdcx_t)*y)*x_Vtnode_GND)/x/
x)+(((2.4*cjcx0_t_i_Vtnode_GND)*(Vbci-v_j))+((2.4*cjcx0_t_i)*(-v_j_Vtnode_GND))));
3277 qjcx_Vb_ci=((((cjcx0_t_i*vdcx_t)*y_Vb_ci)/
x)+((2.4*cjcx0_t_i)*(Vbci_Vb_ci-v_j_Vb_ci)));
3279 qjcx=((((cjcx0_t_i*vdcx_t)*y)/
x)+((2.4*cjcx0_t_i)*(Vbci-v_j)));
3284 #if defined(_DYNAMIC)
3285 #if defined(_DERIVATE)
3287 qjcx_Vtnode_GND=0.0;
3302 #if defined(_DERIVATE)
3303 vp_Vtnode_GND=(-vdci_t_Vtnode_GND);
3308 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
3309 #if defined(_DERIVATE)
3310 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
3312 vf=(vdci_t*(1.0-d00_exp1));
3314 #if defined(_DERIVATE)
3315 cmax_Vtnode_GND=(2.4*cjci0_t_ii_Vtnode_GND);
3317 cmax=(2.4*cjci0_t_ii);
3319 double m00_logE(d00_logE0,(vdci_t/vptci))
3320 double
m00_exp(d00_exp1,((zci-zr)*d00_logE0))
3321 #if defined(_DERIVATE)
3322 double m10_logE(d10_logE0,d00_logE0,(vdci_t/vptci))
3323 #define d10_exp1 d00_exp1
3325 #if defined(_DERIVATE)
3326 cr_Vtnode_GND=((cjci0_t_ii_Vtnode_GND*d00_exp1)+(cjci0_t_ii*((zci-zr)*(vdci_t_Vtnode_GND/vptci)*d10_logE0)*
d10_exp1));
3328 cr=(cjci0_t_ii*d00_exp1);
3330 #if defined(_DERIVATE)
3335 a_Vtnode_GND=VT_Vtnode_GND;
3338 #if defined(_DERIVATE)
3342 ve_Vbi_ci=(((-Vbici_Vbi_ci)*a-(vf-Vbici)*a_Vbi_ci)/a/a);
3343 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbici)*a_Vtnode_GND)/a/a);
3352 #if defined(_DERIVATE)
3353 #define d10_exp0 d00_exp0
3355 #if defined(_DERIVATE)
3360 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
3361 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
3365 #if defined(_DERIVATE)
3369 ee1_Vbi_ci=ex1_Vbi_ci;
3370 ee1_Vtnode_GND=ex1_Vtnode_GND;
3371 ee1_Vb_ci=ex1_Vb_ci;
3376 #if defined(_DERIVATE)
3377 double m10_logE(d10_logE0,d00_logE0,ee1)
3379 #if defined(_DERIVATE)
3383 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
3384 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
3385 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
3387 vj1=(vf-(a*d00_logE0));
3392 #if defined(_DERIVATE)
3396 vj1_Vbi_ci=Vbici_Vbi_ci;
3402 #if defined(_DERIVATE)
3407 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
3409 a=((0.1*vp)+(4.0*VT));
3410 #if defined(_DERIVATE)
3414 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
3415 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
3416 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
3424 #if defined(_DERIVATE)
3425 #define d10_exp0 d00_exp0
3427 #if defined(_DERIVATE)
3432 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
3433 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
3437 #if defined(_DERIVATE)
3441 ee1_Vbi_ci=ex1_Vbi_ci;
3442 ee1_Vtnode_GND=ex1_Vtnode_GND;
3443 ee1_Vb_ci=ex1_Vb_ci;
3448 #if defined(_DERIVATE)
3449 double m10_logE(d10_logE0,d00_logE0,ee1)
3451 #if defined(_DERIVATE)
3455 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
3456 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
3457 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
3459 vj2=((-vp)+(a*d00_logE0));
3464 #if defined(_DERIVATE)
3468 vj2_Vbi_ci=vj1_Vbi_ci;
3469 vj2_Vtnode_GND=vj1_Vtnode_GND;
3470 vj2_Vb_ci=vj1_Vb_ci;
3474 #if defined(_DERIVATE)
3478 vj4_Vbi_ci=(Vbici_Vbi_ci-vj1_Vbi_ci);
3479 vj4_Vb_ci=(-vj1_Vb_ci);
3480 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
3486 double m00_logE(d00_logE0,(1.0-(vj1/vdci_t)))
3487 #if defined(_DERIVATE)
3488 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdci_t)))
3490 #if defined(_DERIVATE)
3494 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vdci_t))*d10_logE0;
3495 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdci_t-vj1*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
3496 vdj1_Vb_ci=(-(vj1_Vb_ci/vdci_t))*d10_logE0;
3501 double m00_logE(d00_logE0,(1.0-(vj2/vdci_t)))
3502 #if defined(_DERIVATE)
3503 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdci_t)))
3505 #if defined(_DERIVATE)
3509 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vdci_t))*d10_logE0;
3510 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdci_t-vj2*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
3511 vdj2_Vb_ci=(-(vj2_Vb_ci/vdci_t))*d10_logE0;
3516 double m00_exp(d00_exp0,(vdj2*ez))
3517 #if defined(_DERIVATE)
3518 #define d10_exp0 d00_exp0
3520 #if defined(_DERIVATE)
3524 qj1_Vbi_ci=((cjci0_t_ii*(-vdj2_Vbi_ci*ez*
d10_exp0))/ez);
3525 qj1_Vtnode_GND=(((cjci0_t_ii_Vtnode_GND*(1.0-d00_exp0))+(cjci0_t_ii*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
3526 qj1_Vb_ci=((cjci0_t_ii*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
3528 qj1=((cjci0_t_ii*(1.0-d00_exp0))/ez);
3531 double m00_exp(d00_exp0,(vdj1*ezr))
3532 #if defined(_DERIVATE)
3533 #define d10_exp0 d00_exp0
3535 #if defined(_DERIVATE)
3539 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*
d10_exp0))/ezr);
3540 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3541 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
3543 qj2=((cr*(1.0-d00_exp0))/ezr);
3546 double m00_exp(d00_exp0,(vdj2*ezr))
3547 #if defined(_DERIVATE)
3548 #define d10_exp0 d00_exp0
3550 #if defined(_DERIVATE)
3554 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*
d10_exp0))/ezr);
3555 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3556 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
3558 qj3=((cr*(1.0-d00_exp0))/ezr);
3560 #if defined(_DERIVATE)
3561 qjci_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vdci_t+(cmax*vj4_Vbi_ci));
3562 qjci_Vtnode_GND=(((((qj1_Vtnode_GND+qj2_Vtnode_GND)-qj3_Vtnode_GND)*vdci_t)+(((qj1+qj2)-qj3)*vdci_t_Vtnode_GND))+((cmax_Vtnode_GND*vj4)+(cmax*vj4_Vtnode_GND)));
3563 qjci_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdci_t+(cmax*vj4_Vb_ci));
3565 qjci=((((qj1+qj2)-qj3)*vdci_t)+(cmax*vj4));
3569 #if defined(_DERIVATE)
3571 qjci_Vtnode_GND=0.0;
3584 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
3585 #if defined(_DERIVATE)
3586 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
3588 vf=(vdci_t*(1.0-d00_exp1));
3590 #if defined(_DERIVATEFORDDX)
3591 #if defined(_DERIVATE)
3595 #if defined(_DERIVATE)
3596 xvf_Vbi_ei_Vs_ci=0.0;
3597 xvf_Vbi_ei_Vbi_ei=0.0;
3598 xvf_Vbi_ei_Vbi_ci=0.0;
3599 xvf_Vbi_ei_Vtnode_GND=0.0;
3600 xvf_Vbi_ei_Vb_ci=0.0;
3602 xvf_Vbi_ci=((-Vbici_Vbi_ci)/VT);
3603 #if defined(_DERIVATE)
3604 xvf_Vbi_ci_Vs_ci=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*0.0+0.0*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
3605 xvf_Vbi_ci_Vbi_ei=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*0.0+0.0*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
3606 xvf_Vbi_ci_Vbi_ci=((+0.0-Vbici_Vbi_ci_Vbi_ci)/VT-((-Vbici_Vbi_ci)*0.0+(-Vbici_Vbi_ci)*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
3607 xvf_Vbi_ci_Vtnode_GND=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*VT_Vtnode_GND+vf_Vtnode_GND*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*VT_Vtnode_GND/VT/VT/VT);
3608 xvf_Vbi_ci_Vb_ci=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*0.0+0.0*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
3610 #if defined(_DERIVATE)
3611 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbici)*VT_Vtnode_GND)/VT/VT);
3613 #if defined(_DERIVATE)
3617 xvf=((vf-Vbici)/VT);
3619 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3620 #if defined(_DERIVATEFORDDX)
3621 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3623 #if defined(_DERIVATEFORDDX)
3624 #if defined(_DERIVATE)
3628 #if defined(_DERIVATE)
3629 xvf2_Vbi_ei_Vs_ci=0.0;
3630 xvf2_Vbi_ei_Vbi_ei=0.0;
3631 xvf2_Vbi_ei_Vbi_ci=0.0;
3632 xvf2_Vbi_ei_Vtnode_GND=0.0;
3633 xvf2_Vbi_ei_Vb_ci=0.0;
3635 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
3636 #if defined(_DERIVATE)
3637 xvf2_Vbi_ci_Vs_ci=(
m20_sqrt(((xvf*xvf)+1.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ATE)
3686 double m00_logE(d00_logE0,(1.0-(v_j/vdci_t)))
3687 double
m00_exp(d00_exp1,(x*d00_logE0))
3688 #if defined(_DERIVATEFORDDX)
3689 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdci_t)))
3690 #define d10_exp1 d00_exp1
3692 #if defined(_DERIVATEFORDDX)
3693 #if defined(_DERIVATE)
3696 #if defined(_DERIVATE)
3700 #if defined(_DERIVATE)
3701 y_Vbi_ei_Vci_ei=0.0;
3703 y_Vbi_ei_Vbi_ei=0.0;
3704 y_Vbi_ei_Vbi_ci=0.0;
3705 y_Vbi_ei_Vtnode_GND=0.0;
3708 y_Vbi_ci=(-(x*(-(v_j_Vbi_ci/vdci_t))*d10_logE0)*d10_exp1);
3709 #if defined(_DERIVATE)
3710 y_Vbi_ci_Vci_ei=(+0.0-(
m20_exp((x*d00_logE0))*(x_Vci_ei*d00_logE0)*(x*(-(v_j_Vbi_ci/vdci_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*0.0+x_Vci_ei*(-(v_j_Vbi_ci/vdci_t))*d10_logE0+x*0.0)));
3711 y_Vbi_ci_Vs_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vs_ci/vdci_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vdci_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vs_ci/vdci_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vdci_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdci_t)))*(-(v_j_Vs_ci/vdci_t))*(-(v_j_Vbi_ci/vdci_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vs_ci/vdci_t-(v_j_Vbi_ci*0.0+v_j_Vs_ci*0.0+v_j*0.0)/vdci_t/vdci_t+2*v_j*0.0*0.0/vdci_t/vdci_t/vdci_t))))));
3712 y_Vbi_ci_Vbi_ei=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ei/vdci_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vdci_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ei/vdci_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vdci_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdci_t)))*(-(v_j_Vbi_ei/vdci_t))*(-(v_j_Vbi_ci/vdci_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vbi_ei/vdci_t-(v_j_Vbi_ci*0.0+v_j_Vbi_ei*0.0+v_j*0.0)/vdci_t/vdci_t+2*v_j*0.0*0.0/vdci_t/vdci_t/vdci_t))))));
3713 y_Vbi_ci_Vbi_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ci/vdci_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vdci_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ci/vdci_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vdci_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdci_t)))*(-(v_j_Vbi_ci/vdci_t))*(-(v_j_Vbi_ci/vdci_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vbi_ci/vdci_t-(v_j_Vbi_ci*0.0+v_j_Vbi_ci*0.0+v_j*0.0)/vdci_t/vdci_t+2*v_j*0.0*0.0/vdci_t/vdci_t/vdci_t))))));
3714 y_Vbi_ci_Vtnode_GND=(+0.0-(
m20_exp((x*d00_logE0))*(((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vdci_t-v_j*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0)))*(x*(-(v_j_Vbi_ci/vdci_t))*d10_logE0)+
d10_exp1*(+0.0*d00_logE0+0.0*(-((v_j_Vtnode_GND*vdci_t-v_j*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0+x_Vtnode_GND*(-(v_j_Vbi_ci/vdci_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdci_t)))*(-((v_j_Vtnode_GND*vdci_t-v_j*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*(-(v_j_Vbi_ci/vdci_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vtnode_GND/vdci_t-(v_j_Vbi_ci*vdci_t_Vtnode_GND+v_j_Vtnode_GND*0.0+v_j*0.0)/vdci_t/vdci_t+2*v_j*0.0*vdci_t_Vtnode_GND/vdci_t/vdci_t/vdci_t))))));
3715 y_Vbi_ci_Vb_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vb_ci/vdci_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vdci_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vb_ci/vdci_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vdci_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vdci_t)))*(-(v_j_Vb_ci/vdci_t))*(-(v_j_Vbi_ci/vdci_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vb_ci/vdci_t-(v_j_Vbi_ci*0.0+v_j_Vb_ci*0.0+v_j*0.0)/vdci_t/vdci_t+2*v_j*0.0*0.0/vdci_t/vdci_t/vdci_t))))));
3717 #if defined(_DERIVATE)
3718 y_Vtnode_GND=(-((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vdci_t-v_j*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0))*
d10_exp1);
3720 #if defined(_DERIVATE)
3721 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vdci_t))*d10_logE0)*d10_exp1);
3726 #if defined(_DERIVATE)
3727 qjci_Vbi_ci=((((cjci0_t_ii*vdci_t)*y_Vbi_ci)/
x)+((2.4*cjci0_t_ii)*(Vbici_Vbi_ci-v_j_Vbi_ci)));
3728 qjci_Vtnode_GND=(((((((cjci0_t_ii_Vtnode_GND*vdci_t)+(cjci0_t_ii*vdci_t_Vtnode_GND))*y)+((cjci0_t_ii*vdci_t)*y_Vtnode_GND))*x-((cjci0_t_ii*vdci_t)*y)*x_Vtnode_GND)/x/
x)+(((2.4*cjci0_t_ii_Vtnode_GND)*(Vbici-v_j))+((2.4*cjci0_t_ii)*(-v_j_Vtnode_GND))));
3729 qjci_Vb_ci=((((cjci0_t_ii*vdci_t)*y_Vb_ci)/
x)+((2.4*cjci0_t_ii)*(-v_j_Vb_ci)));
3731 qjci=((((cjci0_t_ii*vdci_t)*y)/
x)+((2.4*cjci0_t_ii)*(Vbici-v_j)));
3735 #if defined(_DERIVATE)
3737 qjci_Vtnode_GND=0.0;
3743 #if defined(_DYNAMIC)
3744 #if defined(_DERIVATE)
3745 qjcii_Vbi_ci=(qjci_Vbi_ci+qjcxi_Vbi_ci);
3746 qjcii_Vtnode_GND=(qjci_Vtnode_GND+qjcxi_Vtnode_GND);
3747 qjcii_Vb_ci=(qjci_Vb_ci+qjcxi_Vb_ci);
3756 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
3757 #if defined(_DERIVATE)
3758 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
3760 vf=(vdci_t*(1.0-d00_exp1));
3762 #if defined(_DERIVATEFORDDX)
3763 #if defined(_DERIVATE)
3767 #if defined(_DERIVATE)
3768 xvf_Vbi_ei_Vs_ci=0.0;
3769 xvf_Vbi_ei_Vbi_ei=0.0;
3770 xvf_Vbi_ei_Vbi_ci=0.0;
3771 xvf_Vbi_ei_Vtnode_GND=0.0;
3772 xvf_Vbi_ei_Vb_ci=0.0;
3774 xvf_Vbi_ci=((-Vbici_Vbi_ci)/VT);
3775 #if defined(_DERIVATE)
3776 xvf_Vbi_ci_Vs_ci=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*0.0+0.0*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
3777 xvf_Vbi_ci_Vbi_ei=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*0.0+0.0*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
3778 xvf_Vbi_ci_Vbi_ci=((+0.0-Vbici_Vbi_ci_Vbi_ci)/VT-((-Vbici_Vbi_ci)*0.0+(-Vbici_Vbi_ci)*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
3779 xvf_Vbi_ci_Vtnode_GND=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*VT_Vtnode_GND+vf_Vtnode_GND*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*VT_Vtnode_GND/VT/VT/VT);
3780 xvf_Vbi_ci_Vb_ci=((+0.0-0.0)/VT-((-Vbici_Vbi_ci)*0.0+0.0*0.0+(vf-Vbici)*0.0)/VT/VT+2*(vf-Vbici)*0.0*0.0/VT/VT/VT);
3782 #if defined(_DERIVATE)
3783 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbici)*VT_Vtnode_GND)/VT/VT);
3785 #if defined(_DERIVATE)
3789 xvf=((vf-Vbici)/VT);
3791 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3792 #if defined(_DERIVATEFORDDX)
3793 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3795 #if defined(_DERIVATEFORDDX)
3796 #if defined(_DERIVATE)
3800 #if defined(_DERIVATE)
3801 xvf2_Vbi_ei_Vs_ci=0.0;
3802 xvf2_Vbi_ei_Vbi_ei=0.0;
3803 xvf2_Vbi_ei_Vbi_ci=0.0;
3804 xvf2_Vbi_ei_Vtnode_GND=0.0;
3805 xvf2_Vbi_ei_Vb_ci=0.0;
3807 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
3808 #if defined(_DERIVATE)
3809 xvf2_Vbi_ci_Vs_ci=(
m20_sqrt(((xvf*xvf)+1.921812))*(((xvf_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_Vbi_ci=(((0.5*(xvf_Vbi_ci+xvf2_Vbi_ci))*xvf2-(0.5*(xvf+xvf2))*xvf2_Vbi_ci)/xvf2/xvf2);
3854 dvj_Vtnode_GND=(((0.5*(xvf_Vtnode_GND+xvf2_Vtnode_GND))*xvf2-(0.5*(xvf+xvf2))*xvf2_Vtnode_GND)/xvf2/xvf2);
3855 dvj_Vb_ci=(((0.5*(xvf_Vb_ci+xvf2_Vb_ci))*xvf2-(0.5*(xvf+xvf2))*xvf2_Vb_ci)/xvf2/xvf2);
3857 dvj=((0.5*(xvf+xvf2))/xvf2);
3859 double m00_logE(d00_logE0,(1-(v_j/vdci_t)))
3860 double
m00_exp(d00_exp1,((-zci)*d00_logE0))
3861 #if defined(_DERIVATE)
3862 double m10_logE(d10_logE0,d00_logE0,(1-(v_j/vdci_t)))
3863 #define d10_exp1 d00_exp1
3865 #if defined(_DERIVATE)
3866 cjcii_Vtnode_GND=(((((cjci0_t_ii_Vtnode_GND*d00_exp1)+(cjci0_t_ii*((-zci)*(-((v_j_Vtnode_GND*vdci_t-v_j*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0)*
d10_exp1))*dvj)+((cjci0_t_ii*d00_exp1)*dvj_Vtnode_GND))+(((2.4*cjci0_t_ii_Vtnode_GND)*(1-dvj))+((2.4*cjci0_t_ii)*(-dvj_Vtnode_GND))));
3867 cjcii_Vbi_ci=((((cjci0_t_ii*((-zci)*(-(v_j_Vbi_ci/vdci_t))*d10_logE0)*
d10_exp1)*dvj)+((cjci0_t_ii*d00_exp1)*dvj_Vbi_ci))+((2.4*cjci0_t_ii)*(-dvj_Vbi_ci)));
3868 cjcii_Vb_ci=((((cjci0_t_ii*((-zci)*(-(v_j_Vb_ci/vdci_t))*d10_logE0)*
d10_exp1)*dvj)+((cjci0_t_ii*d00_exp1)*dvj_Vb_ci))+((2.4*cjci0_t_ii)*(-dvj_Vb_ci)));
3870 cjcii=(((cjci0_t_ii*d00_exp1)*dvj)+((2.4*cjci0_t_ii)*(1-dvj)));
3875 #if defined(_DERIVATE)
3876 cjcii_Vtnode_GND=0.0;
3887 double
m00_exp(d00_exp1,((-d00_logE0)/ze))
3888 #if defined(_DERIVATE)
3889 double m10_logE(d10_logE0,d00_logE0,aje_t)
3890 #define d10_exp1 d00_exp1
3892 #if defined(_DERIVATE)
3893 vf_Vtnode_GND=((vde_t_Vtnode_GND*(1.0-d00_exp1))+(vde_t*(-((-aje_t_Vtnode_GND*d10_logE0)/ze)*
d10_exp1)));
3895 vf=(vde_t*(1.0-d00_exp1));
3897 #if defined(_DERIVATEFORDDX)
3898 #if defined(_DERIVATE)
3901 xvf_Vbi_ei=((-Vbiei_Vbi_ei)/VT);
3902 #if defined(_DERIVATE)
3903 xvf_Vbi_ei_Vs_ci=((+0.0-0.0)/VT-((-Vbiei_Vbi_ei)*0.0+0.0*0.0+(vf-Vbiei)*0.0)/VT/VT+2*(vf-Vbiei)*0.0*0.0/VT/VT/VT);
3904 xvf_Vbi_ei_Vbi_ei=((+0.0-Vbiei_Vbi_ei_Vbi_ei)/VT-((-Vbiei_Vbi_ei)*0.0+(-Vbiei_Vbi_ei)*0.0+(vf-Vbiei)*0.0)/VT/VT+2*(vf-Vbiei)*0.0*0.0/VT/VT/VT);
3905 xvf_Vbi_ei_Vbi_ci=((+0.0-0.0)/VT-((-Vbiei_Vbi_ei)*0.0+0.0*0.0+(vf-Vbiei)*0.0)/VT/VT+2*(vf-Vbiei)*0.0*0.0/VT/VT/VT);
3906 xvf_Vbi_ei_Vtnode_GND=((+0.0-0.0)/VT-((-Vbiei_Vbi_ei)*VT_Vtnode_GND+vf_Vtnode_GND*0.0+(vf-Vbiei)*0.0)/VT/VT+2*(vf-Vbiei)*0.0*VT_Vtnode_GND/VT/VT/VT);
3907 xvf_Vbi_ei_Vb_ci=((+0.0-0.0)/VT-((-Vbiei_Vbi_ei)*0.0+0.0*0.0+(vf-Vbiei)*0.0)/VT/VT+2*(vf-Vbiei)*0.0*0.0/VT/VT/VT);
3910 #if defined(_DERIVATE)
3911 xvf_Vbi_ci_Vs_ci=0.0;
3912 xvf_Vbi_ci_Vbi_ei=0.0;
3913 xvf_Vbi_ci_Vbi_ci=0.0;
3914 xvf_Vbi_ci_Vtnode_GND=0.0;
3915 xvf_Vbi_ci_Vb_ci=0.0;
3917 #if defined(_DERIVATE)
3918 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbiei)*VT_Vtnode_GND)/VT/VT);
3920 #if defined(_DERIVATE)
3924 xvf=((vf-Vbiei)/VT);
3926 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3927 #if defined(_DERIVATEFORDDX)
3928 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3930 #if defined(_DERIVATEFORDDX)
3931 #if defined(_DERIVATE)
3934 xvf2_Vbi_ei=((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))*d10_sqrt0;
3935 #if defined(_DERIVATE)
3936 xvf2_Vbi_ei_Vs_ci=(
m20_sqrt(((xvf*xvf)+1.921812))*(((xvf_Vs_ci*xvf)+(xvf*xvf_Vs_ci)))*((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))+d10_sqrt0*(+(+xvf_Vbi_ei_Vs_ci*xvf+xvf_Vbi_ei*xvf_Vs_ci+xvf_Vs_ci*xvf_Vbi_ei+xvf*xvf_Vbi_ei_Vs_ci)+0.0));
3937 xvf2_Vbi_ei_Vbi_ei=(
m20_sqrt(((xvf*xvf)+1.921812))*(((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei)))*((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))+d10_sqrt0*(+(+xvf_Vbi_ei_Vbi_ei*xvf+xvf_Vbi_ei*xvf_Vbi_ei+xvf_Vbi_ei*xvf_Vbi_ei+xvf*xvf_Vbi_ei_Vbi_ei)+0.0));
3938 xvf2_Vbi_ei_Vbi_ci=(
m20_sqrt(((xvf*xvf)+1.921812))*(((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d00_logE0))
3995 #if defined(_DERIVATEFORDDX)
3996 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vde_t)))
3997 #define d10_exp1 d00_exp1
3999 #if defined(_DERIVATEFORDDX)
4000 #if defined(_DERIVATE)
4003 #if defined(_DERIVATE)
4006 y_Vbi_ei=(-(x*(-(v_j_Vbi_ei/vde_t))*d10_logE0)*d10_exp1);
4007 #if defined(_DERIVATE)
4008 y_Vbi_ei_Vci_ei=(+0.0-(
m20_exp((x*d00_logE0))*(x_Vci_ei*d00_logE0)*(x*(-(v_j_Vbi_ei/vde_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*0.0+x_Vci_ei*(-(v_j_Vbi_ei/vde_t))*d10_logE0+x*0.0)));
4009 y_Vbi_ei_Vs_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vs_ci/vde_t))*d10_logE0))*(x*(-(v_j_Vbi_ei/vde_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vs_ci/vde_t))*d10_logE0+0.0*(-(v_j_Vbi_ei/vde_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vde_t)))*(-(v_j_Vs_ci/vde_t))*(-(v_j_Vbi_ei/vde_t))+d10_logE0*(+0.0-(v_j_Vbi_ei_Vs_ci/vde_t-(v_j_Vbi_ei*0.0+v_j_Vs_ci*0.0+v_j*0.0)/vde_t/vde_t+2*v_j*0.0*0.0/vde_t/vde_t/vde_t))))));
4010 y_Vbi_ei_Vbi_ei=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ei/vde_t))*d10_logE0))*(x*(-(v_j_Vbi_ei/vde_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ei/vde_t))*d10_logE0+0.0*(-(v_j_Vbi_ei/vde_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vde_t)))*(-(v_j_Vbi_ei/vde_t))*(-(v_j_Vbi_ei/vde_t))+d10_logE0*(+0.0-(v_j_Vbi_ei_Vbi_ei/vde_t-(v_j_Vbi_ei*0.0+v_j_Vbi_ei*0.0+v_j*0.0)/vde_t/vde_t+2*v_j*0.0*0.0/vde_t/vde_t/vde_t))))));
4011 y_Vbi_ei_Vbi_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ci/vde_t))*d10_logE0))*(x*(-(v_j_Vbi_ei/vde_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ci/vde_t))*d10_logE0+0.0*(-(v_j_Vbi_ei/vde_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vde_t)))*(-(v_j_Vbi_ci/vde_t))*(-(v_j_Vbi_ei/vde_t))+d10_logE0*(+0.0-(v_j_Vbi_ei_Vbi_ci/vde_t-(v_j_Vbi_ei*0.0+v_j_Vbi_ci*0.0+v_j*0.0)/vde_t/vde_t+2*v_j*0.0*0.0/vde_t/vde_t/vde_t))))));
4012 y_Vbi_ei_Vtnode_GND=(+0.0-(
m20_exp((x*d00_logE0))*(((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vde_t-v_j*vde_t_Vtnode_GND)/vde_t/vde_t))*d10_logE0)))*(x*(-(v_j_Vbi_ei/vde_t))*d10_logE0)+
d10_exp1*(+0.0*d00_logE0+0.0*(-((v_j_Vtnode_GND*vde_t-v_j*vde_t_Vtnode_GND)/vde_t/vde_t))*d10_logE0+x_Vtnode_GND*(-(v_j_Vbi_ei/vde_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vde_t)))*(-((v_j_Vtnode_GND*vde_t-v_j*vde_t_Vtnode_GND)/vde_t/vde_t))*(-(v_j_Vbi_ei/vde_t))+d10_logE0*(+0.0-(v_j_Vbi_ei_Vtnode_GND/vde_t-(v_j_Vbi_ei*vde_t_Vtnode_GND+v_j_Vtnode_GND*0.0+v_j*0.0)/vde_t/vde_t+2*v_j*0.0*vde_t_Vtnode_GND/vde_t/vde_t/vde_t))))));
4013 y_Vbi_ei_Vb_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vb_ci/vde_t))*d10_logE0))*(x*(-(v_j_Vbi_ei/vde_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vb_ci/vde_t))*d10_logE0+0.0*(-(v_j_Vbi_ei/vde_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vde_t)))*(-(v_j_Vb_ci/vde_t))*(-(v_j_Vbi_ei/vde_t))+d10_logE0*(+0.0-(v_j_Vbi_ei_Vb_ci/vde_t-(v_j_Vbi_ei*0.0+v_j_Vb_ci*0.0+v_j*0.0)/vde_t/vde_t+2*v_j*0.0*0.0/vde_t/vde_t/vde_t))))));
4015 y_Vbi_ci=(-(x*(-(v_j_Vbi_ci/vde_t))*d10_logE0)*d10_exp1);
4016 #if defined(_DERIVATE)
4017 y_Vbi_ci_Vci_ei=(+0.0-(
m20_exp((x*d00_logE0))*(x_Vci_ei*d00_logE0)*(x*(-(v_j_Vbi_ci/vde_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*0.0+x_Vci_ei*(-(v_j_Vbi_ci/vde_t))*d10_logE0+x*0.0)));
4018 y_Vbi_ci_Vs_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vs_ci/vde_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vde_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vs_ci/vde_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vde_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vde_t)))*(-(v_j_Vs_ci/vde_t))*(-(v_j_Vbi_ci/vde_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vs_ci/vde_t-(v_j_Vbi_ci*0.0+v_j_Vs_ci*0.0+v_j*0.0)/vde_t/vde_t+2*v_j*0.0*0.0/vde_t/vde_t/vde_t))))));
4019 y_Vbi_ci_Vbi_ei=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ei/vde_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vde_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ei/vde_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vde_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vde_t)))*(-(v_j_Vbi_ei/vde_t))*(-(v_j_Vbi_ci/vde_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vbi_ei/vde_t-(v_j_Vbi_ci*0.0+v_j_Vbi_ei*0.0+v_j*0.0)/vde_t/vde_t+2*v_j*0.0*0.0/vde_t/vde_t/vde_t))))));
4020 y_Vbi_ci_Vbi_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ci/vde_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vde_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ci/vde_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vde_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vde_t)))*(-(v_j_Vbi_ci/vde_t))*(-(v_j_Vbi_ci/vde_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vbi_ci/vde_t-(v_j_Vbi_ci*0.0+v_j_Vbi_ci*0.0+v_j*0.0)/vde_t/vde_t+2*v_j*0.0*0.0/vde_t/vde_t/vde_t))))));
4021 y_Vbi_ci_Vtnode_GND=(+0.0-(
m20_exp((x*d00_logE0))*(((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vde_t-v_j*vde_t_Vtnode_GND)/vde_t/vde_t))*d10_logE0)))*(x*(-(v_j_Vbi_ci/vde_t))*d10_logE0)+
d10_exp1*(+0.0*d00_logE0+0.0*(-((v_j_Vtnode_GND*vde_t-v_j*vde_t_Vtnode_GND)/vde_t/vde_t))*d10_logE0+x_Vtnode_GND*(-(v_j_Vbi_ci/vde_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vde_t)))*(-((v_j_Vtnode_GND*vde_t-v_j*vde_t_Vtnode_GND)/vde_t/vde_t))*(-(v_j_Vbi_ci/vde_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vtnode_GND/vde_t-(v_j_Vbi_ci*vde_t_Vtnode_GND+v_j_Vtnode_GND*0.0+v_j*0.0)/vde_t/vde_t+2*v_j*0.0*vde_t_Vtnode_GND/vde_t/vde_t/vde_t))))));
4022 y_Vbi_ci_Vb_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vb_ci/vde_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vde_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vb_ci/vde_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vde_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vde_t)))*(-(v_j_Vb_ci/vde_t))*(-(v_j_Vbi_ci/vde_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vb_ci/vde_t-(v_j_Vbi_ci*0.0+v_j_Vb_ci*0.0+v_j*0.0)/vde_t/vde_t+2*v_j*0.0*0.0/vde_t/vde_t/vde_t))))));
4024 #if defined(_DERIVATE)
4025 y_Vtnode_GND=(-((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vde_t-v_j*vde_t_Vtnode_GND)/vde_t/vde_t))*d10_logE0))*
d10_exp1);
4027 #if defined(_DERIVATE)
4028 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vde_t))*d10_logE0)*d10_exp1);
4033 #if defined(_DERIVATEFORDDX)
4034 #if defined(_DERIVATE)
4035 qjei_Vtnode_GND=(((((((cje0_t_Vtnode_GND*vde_t)+(cje0_t*vde_t_Vtnode_GND))*y)+((cje0_t*vde_t)*y_Vtnode_GND))*x-((cje0_t*vde_t)*y)*x_Vtnode_GND)/x/
x)+((((aje_t_Vtnode_GND*cje0_t)+(aje_t*cje0_t_Vtnode_GND))*(Vbiei-v_j))+((aje_t*cje0_t)*(-v_j_Vtnode_GND))));
4037 qjei_Vbi_ei=((((cje0_t*vde_t)*y_Vbi_ei)/
x)+((aje_t*cje0_t)*(Vbiei_Vbi_ei-v_j_Vbi_ei)));
4038 #if defined(_DERIVATE)
4039 qjei_Vbi_ei_Vtnode_GND=(+((+(+0.0*vde_t+0.0*vde_t_Vtnode_GND+cje0_t_Vtnode_GND*0.0+cje0_t*0.0)*y+0.0*y_Vtnode_GND+(((cje0_t_Vtnode_GND*vde_t)+(cje0_t*vde_t_Vtnode_GND)))*y_Vbi_ei+(cje0_t*vde_t)*y_Vbi_ei_Vtnode_GND)/x-(((cje0_t*vde_t)*y_Vbi_ei)*x_Vtnode_GND+((((((cje0_t_Vtnode_GND*vde_t)+(cje0_t*vde_t_Vtnode_GND)))*y)+((cje0_t*vde_t)*y_Vtnode_GND)))*0.0+((cje0_t*vde_t)*y)*0.0)/x/x+2*((cje0_t*vde_t)*y)*0.0*x_Vtnode_GND/x/x/
x)+(+(+0.0*cje0_t+0.0*cje0_t_Vtnode_GND+aje_t_Vtnode_GND*0.0+aje_t*0.0)*(Vbiei-v_j)+0.0*(-v_j_Vtnode_GND)+(((aje_t_Vtnode_GND*cje0_t)+(aje_t*cje0_t_Vtnode_GND)))*(Vbiei_Vbi_ei-v_j_Vbi_ei)+(aje_t*cje0_t)*(+0.0-v_j_Vbi_ei_Vtnode_GND)));
4040 qjei_Vbi_ei_Vbi_ei=(+((+(+0.0*vde_t+0.0*0.0+0.0*0.0+cje0_t*0.0)*y+0.0*y_Vbi_ei+0.0*y_Vbi_ei+(cje0_t*vde_t)*y_Vbi_ei_Vbi_ei)/x-(((cje0_t*vde_t)*y_Vbi_ei)*0.0+(((cje0_t*vde_t)*y_Vbi_ei))*0.0+((cje0_t*vde_t)*y)*0.0)/x/x+2*((cje0_t*vde_t)*y)*0.0*0.0/x/x/
x)+(+(+0.0*cje0_t+0.0*0.0+0.0*0.0+aje_t*0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.0*y_Vbi_ci+(cje0_t*vde_t)*y_Vbi_ci_Vbi_ci)/x-(((cje0_t*vde_t)*y_Vbi_ci)*0.0+(((cje0_t*vde_t)*y_Vbi_ci))*0.0+((cje0_t*vde_t)*y)*0.0)/x/x+2*((cje0_t*vde_t)*y)*0.0*0.0/x/x/
x)+(+(+0.0*cje0_t+0.0*0.0+0.0*0.0+aje_t*0.0)*(Vbiei-v_j)+0.0*(-v_j_Vbi_ci)+0.0*(-v_j_Vbi_ci)+(aje_t*cje0_t)*(+0.0-v_j_Vbi_ci_Vbi_ci)));
4049 qjei_Vbi_ci_Vb_ci=(+((+(+0.0*vde_t+0.0*0.0+0.0*0.0+cje0_t*0.0)*y+0.0*y_Vb_ci+0.0*y_Vbi_ci+(cje0_t*vde_t)*y_Vbi_ci_Vb_ci)/x-(((cje0_t*vde_t)*y_Vbi_ci)*0.0+(((cje0_t*vde_t)*y_Vb_ci))*0.0+((cje0_t*vde_t)*y)*0.0)/x/x+2*((cje0_t*vde_t)*y)*0.0*0.0/x/x/
x)+(+(+0.0*cje0_t+0.0*0.0+0.0*0.0+aje_t*0.0)*(Vbiei-v_j)+0.0*(-v_j_Vb_ci)+0.0*(-v_j_Vbi_ci)+(aje_t*cje0_t)*(+0.0-v_j_Vbi_ci_Vb_ci)));
4051 #if defined(_DERIVATE)
4052 qjei_Vb_ci=((((cje0_t*vde_t)*y_Vb_ci)/
x)+((aje_t*cje0_t)*(-v_j_Vb_ci)));
4055 qjei=((((cje0_t*vde_t)*y)/
x)+((aje_t*cje0_t)*(Vbiei-v_j)));
4059 #if defined(_DERIVATEFORDDX)
4060 #if defined(_DERIVATE)
4061 qjei_Vtnode_GND=0.0;
4064 #if defined(_DERIVATE)
4065 qjei_Vbi_ei_Vtnode_GND=0.0;
4066 qjei_Vbi_ei_Vbi_ei=0.0;
4067 qjei_Vbi_ei_Vbi_ci=0.0;
4068 qjei_Vbi_ei_Vb_ci=0.0;
4071 #if defined(_DERIVATE)
4072 qjei_Vbi_ci_Vtnode_GND=0.0;
4073 qjei_Vbi_ci_Vbi_ei=0.0;
4074 qjei_Vbi_ci_Vbi_ci=0.0;
4075 qjei_Vbi_ci_Vb_ci=0.0;
4077 #if defined(_DERIVATE)
4083 #if defined(_DYNAMIC)
4085 cjei=+(qjei_Vbi_ei)+(qjei_Vbi_ci);
4088 #if defined(_DERIVATE)
4089 vc_Vci_ei=Vciei_Vci_ei;
4090 vc_Vtnode_GND=(-vces_t_Vtnode_GND);
4093 #if defined(_DERIVATE)
4094 uvc_Vci_ei=(vc_Vci_ei/VT);
4095 uvc_Vtnode_GND=((vc_Vtnode_GND*VT-vc*VT_Vtnode_GND)/VT/VT);
4099 double m00_sqrt(d00_sqrt0,((uvc*uvc)+1.921812))
4100 #if defined(_DERIVATE)
4101 double m10_sqrt(d10_sqrt0,d00_sqrt0,((uvc*uvc)+1.921812))
4103 #if defined(_DERIVATE)
4104 vceff_Vtnode_GND=((VT_Vtnode_GND*(1+(0.5*(uvc+d00_sqrt0))))+(VT*(0.5*(uvc_Vtnode_GND+((uvc_Vtnode_GND*uvc)+(uvc*uvc_Vtnode_GND))*d10_sqrt0))));
4105 vceff_Vci_ei=(VT*(0.5*(uvc_Vci_ei+((uvc_Vci_ei*uvc)+(uvc*uvc_Vci_ei))*d10_sqrt0)));
4107 vceff=(VT*(1+(0.5*(uvc+d00_sqrt0))));
4109 #if defined(_DERIVATE)
4110 x_Vtnode_GND=((vceff_Vtnode_GND-vlim_t_Vtnode_GND)/vpt);
4111 x_Vci_ei=(vceff_Vci_ei/vpt);
4113 x=((vceff-vlim_t)/vpt);
4116 double
m00_sqrt(d00_sqrt1,(1+(((vceff*vceff)/vlim_t)/vlim_t)))
4117 #if defined(_DERIVATE)
4118 double m10_sqrt(d10_sqrt0,d00_sqrt0,((x*x)+1
e-3))
4119 double
m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(((vceff*vceff)/vlim_t)/vlim_t)))
4121 #if defined(_DERIVATE)
4122 ick_Vtnode_GND=((((((vceff_Vtnode_GND*(1+(0.5*(x+d00_sqrt0))))+(vceff*(0.5*(x_Vtnode_GND+((x_Vtnode_GND*
x)+(x*x_Vtnode_GND))*d10_sqrt0))))*rci0_t-(vceff*(1+(0.5*(x+d00_sqrt0))))*rci0_t_Vtnode_GND)/rci0_t/rci0_t)*d00_sqrt1-((vceff*(1+(0.5*(x+d00_sqrt0))))/rci0_t)*((((((vceff_Vtnode_GND*vceff)+(vceff*vceff_Vtnode_GND))*vlim_t-(vceff*vceff)*vlim_t_Vtnode_GND)/vlim_t/vlim_t)*vlim_t-((vceff*vceff)/vlim_t)*vlim_t_Vtnode_GND)/vlim_t/vlim_t)*d10_sqrt1)/d00_sqrt1/d00_sqrt1);
4123 ick_Vci_ei=(((((vceff_Vci_ei*(1+(0.5*(x+d00_sqrt0))))+(vceff*(0.5*(x_Vci_ei+((x_Vci_ei*
x)+(x*x_Vci_ei))*d10_sqrt0))))/rci0_t)*d00_sqrt1-((vceff*(1+(0.5*(x+d00_sqrt0))))/rci0_t)*((((vceff_Vci_ei*vceff)+(vceff*vceff_Vci_ei))/vlim_t)/vlim_t)*d10_sqrt1)/d00_sqrt1/d00_sqrt1);
4125 ick=(((vceff*(1+(0.5*(x+d00_sqrt0))))/rci0_t)/d00_sqrt1);
4127 #if defined(_DERIVATE)
4128 cc_Vtnode_GND=((cjci0_t_ii_Vtnode_GND*cjcii-cjci0_t_ii*cjcii_Vtnode_GND)/cjcii/cjcii);
4129 cc_Vbi_ci=(-cjci0_t_ii*cjcii_Vbi_ci/cjcii/cjcii);
4130 cc_Vb_ci=(-cjci0_t_ii*cjcii_Vb_ci/cjcii/cjcii);
4132 cc=(cjci0_t_ii/cjcii);
4133 #if defined(_DERIVATE)
4134 qjci_Vbi_ci=(qjci_Vbi_ci/cjci0_t_ii);
4135 qjci_Vtnode_GND=((qjci_Vtnode_GND*cjci0_t_ii-qjci*cjci0_t_ii_Vtnode_GND)/cjci0_t_ii/cjci0_t_ii);
4136 qjci_Vb_ci=(qjci_Vb_ci/cjci0_t_ii);
4138 qjci=(qjci/cjci0_t_ii);
4139 #if defined(_DERIVATE)
4140 qj_2_Vbi_ci=((qjci_Vbi_ci/vef)/2);
4141 qj_2_Vtnode_GND=((qjci_Vtnode_GND/vef)/2);
4142 qj_2_Vb_ci=((qjci_Vb_ci/vef)/2);
4144 qj_2=((1+(qjci/vef))/2);
4145 #if defined(_DYNAMIC)
4146 #if defined(_DERIVATE)
4147 tf0_Vtnode_GND=((t0_t_Vtnode_GND+(dt0h*cc_Vtnode_GND))+(tbvl*(-1*cc_Vtnode_GND/cc/cc)));
4148 tf0_Vbi_ci=((dt0h*cc_Vbi_ci)+(tbvl*(-1*cc_Vbi_ci/cc/cc)));
4149 tf0_Vb_ci=((dt0h*cc_Vb_ci)+(tbvl*(-1*cc_Vb_ci/cc/cc)));
4151 tf0=((t0_t+(dt0h*(cc-1)))+(tbvl*((1/cc)-1)));
4155 #if defined(_DERIVATE)
4156 arg1_Vbi_ei=(Vbiei_Vbi_ei/(mcf*VT));
4157 arg1_Vtnode_GND=(-Vbiei*(mcf*VT_Vtnode_GND)/(mcf*VT)/(mcf*VT));
4159 arg1=(Vbiei/(mcf*VT));
4163 #if defined(_DERIVATE)
4164 le1_Vbi_ei=arg1_Vbi_ei;
4165 le1_Vtnode_GND=arg1_Vtnode_GND;
4168 #if defined(_DERIVATE)
4170 arg1_Vtnode_GND=0.0;
4176 #if defined(_DERIVATE)
4184 #if defined(_DERIVATE)
4185 double m10_limexp(d10_limexp0,d00_limexp0,arg1)
4187 #if defined(_DERIVATE)
4188 le1_Vbi_ei=((le1_Vbi_ei*d00_limexp0)+(le1*arg1_Vbi_ei*d10_limexp0));
4189 le1_Vtnode_GND=((le1_Vtnode_GND*d00_limexp0)+(le1*arg1_Vtnode_GND*d10_limexp0));
4191 le1=(le1*d00_limexp0);
4193 #if defined(_DERIVATE)
4194 itfi_Vtnode_GND=((is_t_Vtnode_GND*le1)+(is_t*le1_Vtnode_GND));
4195 itfi_Vbi_ei=(is_t*le1_Vbi_ei);
4198 #if defined(_DERIVATE)
4199 arg2_Vbi_ci=(Vbici_Vbi_ci/(mcr*VT));
4200 arg2_Vtnode_GND=(-Vbici*(mcr*VT_Vtnode_GND)/(mcr*VT)/(mcr*VT));
4202 arg2=(Vbici/(mcr*VT));
4206 #if defined(_DERIVATE)
4207 le2_Vbi_ci=arg2_Vbi_ci;
4208 le2_Vtnode_GND=arg2_Vtnode_GND;
4211 #if defined(_DERIVATE)
4213 arg2_Vtnode_GND=0.0;
4219 #if defined(_DERIVATE)
4227 #if defined(_DERIVATE)
4228 double m10_limexp(d10_limexp0,d00_limexp0,arg2)
4230 #if defined(_DERIVATE)
4231 le2_Vbi_ci=((le2_Vbi_ci*d00_limexp0)+(le2*arg2_Vbi_ci*d10_limexp0));
4232 le2_Vtnode_GND=((le2_Vtnode_GND*d00_limexp0)+(le2*arg2_Vtnode_GND*d10_limexp0));
4234 le2=(le2*d00_limexp0);
4236 #if defined(_DERIVATE)
4237 itri_Vtnode_GND=((is_t_Vtnode_GND*le2)+(is_t*le2_Vtnode_GND));
4238 itri_Vbi_ci=(is_t*le2_Vbi_ci);
4241 #if defined(_DERIVATE)
4242 qm_Vtnode_GND=((itfi_Vtnode_GND/ickf)+(itri_Vtnode_GND/ickr));
4243 qm_Vbi_ei=(itfi_Vbi_ei/ickf);
4244 qm_Vbi_ci=(itri_Vbi_ci/ickr);
4246 qm=((itfi/ickf)+(itri/ickr));
4248 double m00_sqrt(d00_sqrt0,((qj_2*qj_2)+qm))
4249 #if defined(_DERIVATE)
4250 double m10_sqrt(d10_sqrt0,d00_sqrt0,((qj_2*qj_2)+qm))
4252 #if defined(_DERIVATE)
4253 qpt_Vbi_ci=(qj_2_Vbi_ci+(((qj_2_Vbi_ci*qj_2)+(qj_2*qj_2_Vbi_ci))+qm_Vbi_ci)*d10_sqrt0);
4254 qpt_Vtnode_GND=(qj_2_Vtnode_GND+(((qj_2_Vtnode_GND*qj_2)+(qj_2*qj_2_Vtnode_GND))+qm_Vtnode_GND)*d10_sqrt0);
4255 qpt_Vb_ci=(qj_2_Vb_ci+((qj_2_Vb_ci*qj_2)+(qj_2*qj_2_Vb_ci))*d10_sqrt0);
4256 qpt_Vbi_ei=qm_Vbi_ei*d10_sqrt0;
4258 qpt=(qj_2+d00_sqrt0);
4263 #if defined(_DERIVATE)
4271 #if defined(_DERIVATE)
4272 itfl_Vtnode_GND=((itfi_Vtnode_GND*qpt-itfi*qpt_Vtnode_GND)/qpt/qpt);
4273 itfl_Vbi_ei=((itfi_Vbi_ei*qpt-itfi*qpt_Vbi_ei)/qpt/qpt);
4274 itfl_Vbi_ci=(-itfi*qpt_Vbi_ci/qpt/qpt);
4275 itfl_Vb_ci=(-itfi*qpt_Vb_ci/qpt/qpt);
4278 #if defined(_DERIVATE)
4279 itrl_Vtnode_GND=((itri_Vtnode_GND*qpt-itri*qpt_Vtnode_GND)/qpt/qpt);
4280 itrl_Vbi_ci=((itri_Vbi_ci*qpt-itri*qpt_Vbi_ci)/qpt/qpt);
4281 itrl_Vb_ci=(-itri*qpt_Vb_ci/qpt/qpt);
4282 itrl_Vbi_ei=(-itri*qpt_Vbi_ei/qpt/qpt);
4288 #if defined(_DERIVATE)
4289 itfl_Vtnode_GND=0.0;
4296 #if defined(_DERIVATE)
4297 al_Vtnode_GND=(-((ick_Vtnode_GND*itfl-ick*itfl_Vtnode_GND)/itfl/itfl));
4298 al_Vci_ei=(-(ick_Vci_ei/itfl));
4299 al_Vbi_ei=(-(-ick*itfl_Vbi_ei/itfl/itfl));
4300 al_Vbi_ci=(-(-ick*itfl_Vbi_ci/itfl/itfl));
4301 al_Vb_ci=(-(-ick*itfl_Vb_ci/itfl/itfl));
4305 double m00_sqrt(d00_sqrt0,((al*al)+ahc))
4306 #if defined(_DERIVATE)
4307 double m10_sqrt(d10_sqrt0,d00_sqrt0,((al*al)+ahc))
4309 #if defined(_DERIVATE)
4310 s3l_Vtnode_GND=((al_Vtnode_GND*al)+(al*al_Vtnode_GND))*d10_sqrt0;
4311 s3l_Vci_ei=((al_Vci_ei*al)+(al*al_Vci_ei))*d10_sqrt0;
4312 s3l_Vbi_ei=((al_Vbi_ei*al)+(al*al_Vbi_ei))*d10_sqrt0;
4313 s3l_Vbi_ci=((al_Vbi_ci*al)+(al*al_Vbi_ci))*d10_sqrt0;
4314 s3l_Vb_ci=((al_Vb_ci*al)+(al*al_Vb_ci))*d10_sqrt0;
4320 #if defined(_DERIVATE)
4321 wl_Vtnode_GND=((al_Vtnode_GND+s3l_Vtnode_GND)/(1+d00_sqrt0));
4322 wl_Vci_ei=((al_Vci_ei+s3l_Vci_ei)/(1+d00_sqrt0));
4323 wl_Vbi_ei=((al_Vbi_ei+s3l_Vbi_ei)/(1+d00_sqrt0));
4324 wl_Vbi_ci=((al_Vbi_ci+s3l_Vbi_ci)/(1+d00_sqrt0));
4325 wl_Vb_ci=((al_Vb_ci+s3l_Vb_ci)/(1+d00_sqrt0));
4327 wl=((al+s3l)/(1+d00_sqrt0));
4329 #if defined(_DERIVATE)
4330 d_qfh_Vtnode_GND=((((((wl_Vtnode_GND*wl)+(wl*wl_Vtnode_GND))+(((tfh*itfl_Vtnode_GND)*ick-(tfh*itfl)*ick_Vtnode_GND)/ick/ick))*itfl)+(((wl*wl)+((tfh*itfl)/ick))*itfl_Vtnode_GND))/iqfh);
4331 d_qfh_Vci_ei=((((wl_Vci_ei*wl)+(wl*wl_Vci_ei))+(-(tfh*itfl)*ick_Vci_ei/ick/ick))*itfl/iqfh);
4332 d_qfh_Vbi_ei=((((((wl_Vbi_ei*wl)+(wl*wl_Vbi_ei))+((tfh*itfl_Vbi_ei)/ick))*itfl)+(((wl*wl)+((tfh*itfl)/ick))*itfl_Vbi_ei))/iqfh);
4333 d_qfh_Vbi_ci=((((((wl_Vbi_ci*wl)+(wl*wl_Vbi_ci))+((tfh*itfl_Vbi_ci)/ick))*itfl)+(((wl*wl)+((tfh*itfl)/ick))*itfl_Vbi_ci))/iqfh);
4334 d_qfh_Vb_ci=((((((wl_Vb_ci*wl)+(wl*wl_Vb_ci))+((tfh*itfl_Vb_ci)/ick))*itfl)+(((wl*wl)+((tfh*itfl)/ick))*itfl_Vb_ci))/iqfh);
4336 d_qfh=((((wl*wl)+((tfh*itfl)/ick))*itfl)/iqfh);
4337 #if defined(_DERIVATE)
4338 facl_Vtnode_GND=(-1*((d_qfh_Vtnode_GND*qpt-d_qfh*qpt_Vtnode_GND)/qpt/qpt)/(1+(d_qfh/qpt))/(1+(d_qfh/qpt)));
4339 facl_Vci_ei=(-1*(d_qfh_Vci_ei/qpt)/(1+(d_qfh/qpt))/(1+(d_qfh/qpt)));
4340 facl_Vbi_ei=(-1*((d_qfh_Vbi_ei*qpt-d_qfh*qpt_Vbi_ei)/qpt/qpt)/(1+(d_qfh/qpt))/(1+(d_qfh/qpt)));
4341 facl_Vbi_ci=(-1*((d_qfh_Vbi_ci*qpt-d_qfh*qpt_Vbi_ci)/qpt/qpt)/(1+(d_qfh/qpt))/(1+(d_qfh/qpt)));
4342 facl_Vb_ci=(-1*((d_qfh_Vb_ci*qpt-d_qfh*qpt_Vb_ci)/qpt/qpt)/(1+(d_qfh/qpt))/(1+(d_qfh/qpt)));
4344 facl=(1/(1+(d_qfh/qpt)));
4345 #if defined(_DERIVATE)
4346 itf_Vtnode_GND=((itfl_Vtnode_GND*facl)+(itfl*facl_Vtnode_GND));
4347 itf_Vbi_ei=((itfl_Vbi_ei*facl)+(itfl*facl_Vbi_ei));
4348 itf_Vbi_ci=((itfl_Vbi_ci*facl)+(itfl*facl_Vbi_ci));
4349 itf_Vb_ci=((itfl_Vb_ci*facl)+(itfl*facl_Vb_ci));
4350 itf_Vci_ei=(itfl*facl_Vci_ei);
4353 #if defined(_DERIVATE)
4354 itr_Vtnode_GND=((itrl_Vtnode_GND*facl)+(itrl*facl_Vtnode_GND));
4355 itr_Vbi_ci=((itrl_Vbi_ci*facl)+(itrl*facl_Vbi_ci));
4356 itr_Vb_ci=((itrl_Vb_ci*facl)+(itrl*facl_Vb_ci));
4357 itr_Vbi_ei=((itrl_Vbi_ei*facl)+(itrl*facl_Vbi_ei));
4358 itr_Vci_ei=(itrl*facl_Vci_ei);
4364 #if defined(_DERIVATE)
4373 #if defined(_DERIVATE)
4374 it_Vtnode_GND=(itf_Vtnode_GND-itr_Vtnode_GND);
4375 it_Vbi_ei=(itf_Vbi_ei-itr_Vbi_ei);
4376 it_Vbi_ci=(itf_Vbi_ci-itr_Vbi_ci);
4377 it_Vb_ci=(itf_Vb_ci-itr_Vb_ci);
4378 it_Vci_ei=(itf_Vci_ei-itr_Vci_ei);
4381 #if defined(_DYNAMIC)
4382 #if defined(_DERIVATE)
4383 qf0_Vtnode_GND=((tf0_Vtnode_GND*itf)+(tf0*itf_Vtnode_GND));
4384 qf0_Vbi_ci=((tf0_Vbi_ci*itf)+(tf0*itf_Vbi_ci));
4385 qf0_Vb_ci=((tf0_Vb_ci*itf)+(tf0*itf_Vb_ci));
4386 qf0_Vbi_ei=(tf0*itf_Vbi_ei);
4387 qf0_Vci_ei=(tf0*itf_Vci_ei);
4391 #if defined(_DYNAMIC)
4392 #if defined(_DERIVATE)
4393 a_Vci_ei=(-((ick_Vci_ei*itf-ick*itf_Vci_ei)/itf/itf));
4394 a_Vbi_ei=(-(-ick*itf_Vbi_ei/itf/itf));
4395 a_Vbi_ci=(-(-ick*itf_Vbi_ci/itf/itf));
4396 a_Vb_ci=(-(-ick*itf_Vb_ci/itf/itf));
4397 a_Vtnode_GND=(-((ick_Vtnode_GND*itf-ick*itf_Vtnode_GND)/itf/itf));
4401 #if defined(_DYNAMIC)
4403 double m00_sqrt(d00_sqrt0,((a*a)+ahc))
4404 #if defined(_DERIVATE)
4405 double m10_sqrt(d10_sqrt0,d00_sqrt0,((a*a)+ahc))
4407 #if defined(_DERIVATE)
4408 s3_Vci_ei=((a_Vci_ei*a)+(a*a_Vci_ei))*d10_sqrt0;
4409 s3_Vbi_ei=((a_Vbi_ei*a)+(a*a_Vbi_ei))*d10_sqrt0;
4410 s3_Vbi_ci=((a_Vbi_ci*a)+(a*a_Vbi_ci))*d10_sqrt0;
4411 s3_Vb_ci=((a_Vb_ci*a)+(a*a_Vb_ci))*d10_sqrt0;
4412 s3_Vtnode_GND=((a_Vtnode_GND*a)+(a*a_Vtnode_GND))*d10_sqrt0;
4417 #if defined(_DYNAMIC)
4420 #if defined(_DERIVATE)
4421 w_Vci_ei=((a_Vci_ei+s3_Vci_ei)/(1+d00_sqrt0));
4422 w_Vbi_ei=((a_Vbi_ei+s3_Vbi_ei)/(1+d00_sqrt0));
4423 w_Vbi_ci=((a_Vbi_ci+s3_Vbi_ci)/(1+d00_sqrt0));
4424 w_Vb_ci=((a_Vb_ci+s3_Vb_ci)/(1+d00_sqrt0));
4425 w_Vtnode_GND=((a_Vtnode_GND+s3_Vtnode_GND)/(1+d00_sqrt0));
4427 w=((a+s3)/(1+d00_sqrt0));
4430 #if defined(_DYNAMIC)
4431 #if defined(_DERIVATE)
4432 tww_Vtnode_GND=((((thcs_t_Vtnode_GND*w)+(thcs_t*w_Vtnode_GND))*w)+((thcs_t*w)*w_Vtnode_GND));
4433 tww_Vci_ei=(((thcs_t*w_Vci_ei)*w)+((thcs_t*w)*w_Vci_ei));
4434 tww_Vbi_ei=(((thcs_t*w_Vbi_ei)*w)+((thcs_t*w)*w_Vbi_ei));
4435 tww_Vbi_ci=(((thcs_t*w_Vbi_ci)*w)+((thcs_t*w)*w_Vbi_ci));
4436 tww_Vb_ci=(((thcs_t*w_Vb_ci)*w)+((thcs_t*w)*w_Vb_ci));
4440 #if defined(_DYNAMIC)
4441 #if defined(_DERIVATE)
4442 dqfh_Vtnode_GND=((tww_Vtnode_GND*itf)+(tww*itf_Vtnode_GND));
4443 dqfh_Vci_ei=((tww_Vci_ei*itf)+(tww*itf_Vci_ei));
4444 dqfh_Vbi_ei=((tww_Vbi_ei*itf)+(tww*itf_Vbi_ei));
4445 dqfh_Vbi_ci=((tww_Vbi_ci*itf)+(tww*itf_Vbi_ci));
4446 dqfh_Vb_ci=((tww_Vb_ci*itf)+(tww*itf_Vb_ci));
4450 #if defined(_DYNAMIC)
4451 dtfh=(tww*(1+(((2*ick)/itf)/s3)));
4453 #if defined(_DYNAMIC)
4455 double m00_logE(d00_logE0,(itf/ick))
4456 double
m00_exp(d00_exp1,(gte*d00_logE0))
4457 #if defined(_DERIVATE)
4458 double m10_logE(d10_logE0,d00_logE0,(itf/ick))
4459 #define d10_exp1 d00_exp1
4461 #if defined(_DERIVATE)
4462 dtef_Vtnode_GND=((tef0_t_Vtnode_GND*d00_exp1)+(tef0_t*(gte*((itf_Vtnode_GND*ick-itf*ick_Vtnode_GND)/ick/ick)*d10_logE0)*
d10_exp1));
4463 dtef_Vbi_ei=(tef0_t*(gte*(itf_Vbi_ei/ick)*d10_logE0)*
d10_exp1);
4464 dtef_Vbi_ci=(tef0_t*(gte*(itf_Vbi_ci/ick)*d10_logE0)*
d10_exp1);
4465 dtef_Vb_ci=(tef0_t*(gte*(itf_Vb_ci/ick)*d10_logE0)*
d10_exp1);
4466 dtef_Vci_ei=(tef0_t*(gte*((itf_Vci_ei*ick-itf*ick_Vci_ei)/ick/ick)*d10_logE0)*d10_exp1);
4468 dtef=(tef0_t*d00_exp1);
4471 #if defined(_DYNAMIC)
4472 #if defined(_DERIVATE)
4473 dqef_Vtnode_GND=(((dtef_Vtnode_GND*itf)+(dtef*itf_Vtnode_GND))/(gte+1.0));
4474 dqef_Vbi_ei=(((dtef_Vbi_ei*itf)+(dtef*itf_Vbi_ei))/(gte+1.0));
4475 dqef_Vbi_ci=(((dtef_Vbi_ci*itf)+(dtef*itf_Vbi_ci))/(gte+1.0));
4476 dqef_Vb_ci=(((dtef_Vb_ci*itf)+(dtef*itf_Vb_ci))/(gte+1.0));
4477 dqef_Vci_ei=(((dtef_Vci_ei*itf)+(dtef*itf_Vci_ei))/(gte+1.0));
4479 dqef=((dtef*itf)/(gte+1.0));
4481 #if defined(_DYNAMIC)
4482 #if defined(_DERIVATE)
4483 qf_Vtnode_GND=((qf0_Vtnode_GND+dqef_Vtnode_GND)+dqfh_Vtnode_GND);
4484 qf_Vbi_ci=((qf0_Vbi_ci+dqef_Vbi_ci)+dqfh_Vbi_ci);
4485 qf_Vb_ci=((qf0_Vb_ci+dqef_Vb_ci)+dqfh_Vb_ci);
4486 qf_Vbi_ei=((qf0_Vbi_ei+dqef_Vbi_ei)+dqfh_Vbi_ei);
4487 qf_Vci_ei=((qf0_Vci_ei+dqef_Vci_ei)+dqfh_Vci_ei);
4489 qf=((qf0+dqef)+dqfh);
4491 #if defined(_DYNAMIC)
4492 tf=((tf0+dtfh)+dtef);
4494 #if defined(_DYNAMIC)
4495 #if defined(_DERIVATE)
4496 qr_Vtnode_GND=(tr*itr_Vtnode_GND);
4497 qr_Vbi_ci=(tr*itr_Vbi_ci);
4498 qr_Vb_ci=(tr*itr_Vb_ci);
4499 qr_Vbi_ei=(tr*itr_Vbi_ei);
4500 qr_Vci_ei=(tr*itr_Vci_ei);
4504 #if defined(_DERIVATE)
4507 DIOY_Vbi_ei=(Vbiei_Vbi_ei/(mbe*VT));
4508 DIOY_Vtnode_GND=(-Vbiei*(mbe*VT_Vtnode_GND)/(mbe*VT)/(mbe*VT));
4510 DIOY=(Vbiei/(mbe*VT));
4517 #if defined(_DERIVATE)
4520 le_Vbi_ei=DIOY_Vbi_ei;
4521 le_Vtnode_GND=DIOY_Vtnode_GND;
4524 #if defined(_DERIVATE)
4528 DIOY_Vtnode_GND=0.0;
4534 #if defined(_DERIVATE)
4544 #if defined(_DERIVATE)
4545 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
4547 #if defined(_DERIVATE)
4550 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
4551 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
4553 le=(le*d00_limexp0);
4555 #if defined(_DERIVATE)
4556 ibe_Vtnode_GND=((ibes_t_Vtnode_GND*(le-1.0))+(ibes_t*le_Vtnode_GND));
4557 ibe_Vbi_ei=(ibes_t*le_Vbi_ei);
4559 ibe=(ibes_t*(le-1.0));
4563 #if defined(_DERIVATE)
4564 ibe_Vtnode_GND=(-ibes_t_Vtnode_GND);
4572 #if defined(_DERIVATE)
4578 #if defined(_DERIVATE)
4581 DIOY_Vbi_ei=(Vbiei_Vbi_ei/(mre*VT));
4582 DIOY_Vtnode_GND=(-Vbiei*(mre*VT_Vtnode_GND)/(mre*VT)/(mre*VT));
4584 DIOY=(Vbiei/(mre*VT));
4591 #if defined(_DERIVATE)
4594 le_Vbi_ei=DIOY_Vbi_ei;
4595 le_Vtnode_GND=DIOY_Vtnode_GND;
4598 #if defined(_DERIVATE)
4602 DIOY_Vtnode_GND=0.0;
4608 #if defined(_DERIVATE)
4618 #if defined(_DERIVATE)
4619 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
4621 #if defined(_DERIVATE)
4624 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
4625 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
4627 le=(le*d00_limexp0);
4629 #if defined(_DERIVATE)
4630 ire_Vtnode_GND=((ires_t_Vtnode_GND*(le-1.0))+(ires_t*le_Vtnode_GND));
4631 ire_Vbi_ei=(ires_t*le_Vbi_ei);
4633 ire=(ires_t*(le-1.0));
4637 #if defined(_DERIVATE)
4638 ire_Vtnode_GND=(-ires_t_Vtnode_GND);
4646 #if defined(_DERIVATE)
4652 #if defined(_DERIVATE)
4653 ijbe_Vtnode_GND=(ibe_Vtnode_GND+ire_Vtnode_GND);
4654 ijbe_Vbi_ei=(ibe_Vbi_ei+ire_Vbi_ei);
4657 #if defined(_DERIVATE)
4659 DIOY_Vbi_ci=(Vbici_Vbi_ci/(mbc*VT));
4661 DIOY_Vtnode_GND=(-Vbici*(mbc*VT_Vtnode_GND)/(mbc*VT)/(mbc*VT));
4663 DIOY=(Vbici/(mbc*VT));
4670 #if defined(_DERIVATE)
4672 le_Vbi_ci=DIOY_Vbi_ci;
4673 le_Vbi_ei=DIOY_Vbi_ei;
4674 le_Vtnode_GND=DIOY_Vtnode_GND;
4677 #if defined(_DERIVATE)
4681 DIOY_Vtnode_GND=0.0;
4687 #if defined(_DERIVATE)
4697 #if defined(_DERIVATE)
4698 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
4700 #if defined(_DERIVATE)
4702 le_Vbi_ci=((le_Vbi_ci*d00_limexp0)+(le*DIOY_Vbi_ci*d10_limexp0));
4703 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
4704 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
4706 le=(le*d00_limexp0);
4708 #if defined(_DERIVATE)
4709 ijbc_Vtnode_GND=((ibcs_t_Vtnode_GND*(le-1.0))+(ibcs_t*le_Vtnode_GND));
4710 ijbc_Vbi_ci=(ibcs_t*le_Vbi_ci);
4711 ijbc_Vbi_ei=(ibcs_t*le_Vbi_ei);
4713 ijbc=(ibcs_t*(le-1.0));
4717 #if defined(_DERIVATE)
4718 ijbc_Vtnode_GND=(-ibcs_t_Vtnode_GND);
4727 #if defined(_DERIVATE)
4728 ijbc_Vtnode_GND=0.0;
4734 #if defined(_DERIVATE)
4735 ibi_Vtnode_GND=(ijbe_Vtnode_GND+ijbc_Vtnode_GND);
4736 ibi_Vbi_ei=(ijbe_Vbi_ei+ijbc_Vbi_ei);
4737 ibi_Vbi_ci=ijbc_Vbi_ci;
4743 #if defined(_DERIVATE)
4744 v_bord_Vtnode_GND=((eavl_t_Vtnode_GND*vdci_t)+(eavl_t*vdci_t_Vtnode_GND));
4746 v_bord=(eavl_t*vdci_t);
4748 (((vdci_t-Vbici)>v_bord))
4751 double m00_exp(d00_exp0,(-cc))
4752 #if defined(_DERIVATE)
4753 #define d10_exp0 d00_exp0
4755 #if defined(_DERIVATE)
4756 a_iavl_Vtnode_GND=((((kavl_t_Vtnode_GND*vdci_t-kavl_t*vdci_t_Vtnode_GND)/vdci_t/vdci_t)*d00_exp0)+((kavl_t/vdci_t)*(-cc_Vtnode_GND)*d10_exp0));
4757 a_iavl_Vbi_ci=((kavl_t/vdci_t)*(-cc_Vbi_ci)*d10_exp0);
4758 a_iavl_Vb_ci=((kavl_t/vdci_t)*(-cc_Vb_ci)*d10_exp0);
4760 a_iavl=((kavl_t/vdci_t)*d00_exp0);
4762 #if defined(_DERIVATE)
4763 iavl_Vtnode_GND=((((itf_Vtnode_GND*a_iavl)+(itf*a_iavl_Vtnode_GND))*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord))))+((itf*a_iavl)*(v_bord_Vtnode_GND+((cc_Vtnode_GND*((vdci_t-Vbici)-v_bord))+((1+cc)*(vdci_t_Vtnode_GND-v_bord_Vtnode_GND))))));
4764 iavl_Vbi_ei=itf_Vbi_ei*a_iavl*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord)));
4765 iavl_Vbi_ci=((((itf_Vbi_ci*a_iavl)+(itf*a_iavl_Vbi_ci))*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord))))+((itf*a_iavl)*((cc_Vbi_ci*((vdci_t-Vbici)-v_bord))+((1+cc)*(-Vbici_Vbi_ci)))));
4766 iavl_Vb_ci=((((itf_Vb_ci*a_iavl)+(itf*a_iavl_Vb_ci))*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord))))+((itf*a_iavl)*cc_Vb_ci*((vdci_t-Vbici)-v_bord)));
4767 iavl_Vci_ei=itf_Vci_ei*a_iavl*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord)));
4769 iavl=((itf*a_iavl)*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord))));
4775 #if defined(_DERIVATE)
4776 double m10_logE(d10_logE0,d00_logE0,(1/cc))
4778 #if defined(_DERIVATE)
4779 lncc_Vtnode_GND=(-1*cc_Vtnode_GND/cc/cc)*d10_logE0;
4780 lncc_Vbi_ci=(-1*cc_Vbi_ci/cc/cc)*d10_logE0;
4781 lncc_Vb_ci=(-1*cc_Vb_ci/cc/cc)*d10_logE0;
4786 double m00_exp(d00_exp0,(((1/zci)-1)*lncc))
4787 double
m00_exp(d00_exp1,((((-1)/zci)*lncc)-(eavl_t*d00_exp0)))
4788 #if defined(_DERIVATE)
4789 #define d10_exp0 d00_exp0
4790 #define d10_exp1 d00_exp1
4792 #if defined(_DERIVATE)
4793 iavl_Vtnode_GND=((((kavl_t_Vtnode_GND*itf)+(kavl_t*itf_Vtnode_GND))*d00_exp1)+((kavl_t*itf)*((((-1)/zci)*lncc_Vtnode_GND)-((eavl_t_Vtnode_GND*d00_exp0)+(eavl_t*(((1/zci)-1)*lncc_Vtnode_GND)*d10_exp0)))*d10_exp1));
4794 iavl_Vbi_ei=(kavl_t*itf_Vbi_ei)*d00_exp1;
4795 iavl_Vbi_ci=(((kavl_t*itf_Vbi_ci)*d00_exp1)+((kavl_t*itf)*((((-1)/zci)*lncc_Vbi_ci)-(eavl_t*(((1/zci)-1)*lncc_Vbi_ci)*d10_exp0))*d10_exp1));
4796 iavl_Vb_ci=(((kavl_t*itf_Vb_ci)*d00_exp1)+((kavl_t*itf)*((((-1)/zci)*lncc_Vb_ci)-(eavl_t*(((1/zci)-1)*lncc_Vb_ci)*d10_exp0))*d10_exp1));
4797 iavl_Vci_ei=(kavl_t*itf_Vci_ei)*d00_exp1;
4799 iavl=((kavl_t*itf)*d00_exp1);
4805 #if defined(_DERIVATE)
4806 iavl_Vtnode_GND=0.0;
4817 #if defined(_DERIVATE)
4818 qje_Vtnode_GND=((qjei_Vtnode_GND*cje0_t-qjei*cje0_t_Vtnode_GND)/cje0_t/cje0_t);
4819 qje_Vbi_ei=(qjei_Vbi_ei/cje0_t);
4820 qje_Vbi_ci=(qjei_Vbi_ci/cje0_t);
4821 qje_Vb_ci=(qjei_Vb_ci/cje0_t);
4824 #if defined(_DERIVATE)
4825 Qz_nom_Vtnode_GND=((((qje_Vtnode_GND/vr0e)+(qjci_Vtnode_GND/vr0c))+(itf_Vtnode_GND/ickf))+(itr_Vtnode_GND/ickr));
4826 Qz_nom_Vbi_ei=(((qje_Vbi_ei/vr0e)+(itf_Vbi_ei/ickf))+(itr_Vbi_ei/ickr));
4827 Qz_nom_Vbi_ci=((((qje_Vbi_ci/vr0e)+(qjci_Vbi_ci/vr0c))+(itf_Vbi_ci/ickf))+(itr_Vbi_ci/ickr));
4828 Qz_nom_Vb_ci=((((qje_Vb_ci/vr0e)+(qjci_Vb_ci/vr0c))+(itf_Vb_ci/ickf))+(itr_Vb_ci/ickr));
4829 Qz_nom_Vci_ei=((itf_Vci_ei/ickf)+(itr_Vci_ei/ickr));
4831 Qz_nom=((((1+(qje/vr0e))+(qjci/vr0c))+(itf/ickf))+(itr/ickr));
4833 double m00_sqrt(d00_sqrt0,((Qz_nom*Qz_nom)+0.01))
4834 #if defined(_DERIVATE)
4835 double m10_sqrt(d10_sqrt0,d00_sqrt0,((Qz_nom*Qz_nom)+0.01))
4837 #if defined(_DERIVATE)
4838 fQz_Vtnode_GND=(0.5*(Qz_nom_Vtnode_GND+((Qz_nom_Vtnode_GND*Qz_nom)+(Qz_nom*Qz_nom_Vtnode_GND))*d10_sqrt0));
4839 fQz_Vbi_ei=(0.5*(Qz_nom_Vbi_ei+((Qz_nom_Vbi_ei*Qz_nom)+(Qz_nom*Qz_nom_Vbi_ei))*d10_sqrt0));
4840 fQz_Vbi_ci=(0.5*(Qz_nom_Vbi_ci+((Qz_nom_Vbi_ci*Qz_nom)+(Qz_nom*Qz_nom_Vbi_ci))*d10_sqrt0));
4841 fQz_Vb_ci=(0.5*(Qz_nom_Vb_ci+((Qz_nom_Vb_ci*Qz_nom)+(Qz_nom*Qz_nom_Vb_ci))*d10_sqrt0));
4842 fQz_Vci_ei=(0.5*(Qz_nom_Vci_ei+((Qz_nom_Vci_ei*Qz_nom)+(Qz_nom*Qz_nom_Vci_ei))*d10_sqrt0));
4844 fQz=(0.5*(Qz_nom+d00_sqrt0));
4846 #if defined(_DERIVATE)
4847 rbi_Vtnode_GND=((rbi0_t_Vtnode_GND*fQz-rbi0_t*fQz_Vtnode_GND)/fQz/fQz);
4848 rbi_Vbi_ei=(-rbi0_t*fQz_Vbi_ei/fQz/fQz);
4849 rbi_Vbi_ci=(-rbi0_t*fQz_Vbi_ci/fQz/fQz);
4850 rbi_Vb_ci=(-rbi0_t*fQz_Vb_ci/fQz/fQz);
4851 rbi_Vci_ei=(-rbi0_t*fQz_Vci_ei/fQz/fQz);
4857 #if defined(_DERIVATE)
4858 eta_Vtnode_GND=(((((fgeo*rbi_Vtnode_GND)*ibi)+((fgeo*rbi)*ibi_Vtnode_GND))*VT-((fgeo*rbi)*ibi)*VT_Vtnode_GND)/VT/VT);
4859 eta_Vbi_ei=((((fgeo*rbi_Vbi_ei)*ibi)+((fgeo*rbi)*ibi_Vbi_ei))/VT);
4860 eta_Vbi_ci=((((fgeo*rbi_Vbi_ci)*ibi)+((fgeo*rbi)*ibi_Vbi_ci))/VT);
4861 eta_Vb_ci=((fgeo*rbi_Vb_ci)*ibi/VT);
4862 eta_Vci_ei=((fgeo*rbi_Vci_ei)*ibi/VT);
4864 eta=(((fgeo*rbi)*ibi)/VT);
4868 #if defined(_DERIVATE)
4869 rbi_Vtnode_GND=((rbi_Vtnode_GND*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vtnode_GND))));
4870 rbi_Vbi_ei=((rbi_Vbi_ei*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vbi_ei))));
4871 rbi_Vbi_ci=((rbi_Vbi_ci*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vbi_ci))));
4872 rbi_Vb_ci=((rbi_Vb_ci*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vb_ci))));
4873 rbi_Vci_ei=((rbi_Vci_ei*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vci_ei))));
4875 rbi=(rbi*(1-(0.5*eta)));
4881 #if defined(_DERIVATE)
4882 double m10_logE(d10_logE0,d00_logE0,(eta+1))
4884 #if defined(_DERIVATE)
4885 rbi_Vtnode_GND=((((rbi_Vtnode_GND*d00_logE0)+(rbi*eta_Vtnode_GND*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vtnode_GND)/eta/eta);
4886 rbi_Vbi_ei=((((rbi_Vbi_ei*d00_logE0)+(rbi*eta_Vbi_ei*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vbi_ei)/eta/eta);
4887 rbi_Vbi_ci=((((rbi_Vbi_ci*d00_logE0)+(rbi*eta_Vbi_ci*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vbi_ci)/eta/eta);
4888 rbi_Vb_ci=((((rbi_Vb_ci*d00_logE0)+(rbi*eta_Vb_ci*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vb_ci)/eta/eta);
4889 rbi_Vci_ei=((((rbi_Vci_ei*d00_logE0)+(rbi*eta_Vci_ei*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vci_ei)/eta/eta);
4891 rbi=((rbi*d00_logE0)/eta);
4898 #if defined(_DERIVATE)
4907 #if defined(_DERIVATE)
4908 rb_Vtnode_GND=(rbi_Vtnode_GND+rbx_t_Vtnode_GND);
4909 rb_Vbi_ei=rbi_Vbi_ei;
4910 rb_Vbi_ci=rbi_Vbi_ci;
4912 rb_Vci_ei=rbi_Vci_ei;
4918 #if defined(_DERIVATE)
4919 HSUM_Vtnode_GND=(msf*VT_Vtnode_GND);
4924 #if defined(_DERIVATE)
4925 double m10_limexp(d10_limexp0,d00_limexp0,(Vbci/HSUM))
4927 #if defined(_DERIVATE)
4928 HSa_Vb_ci=(Vbci_Vb_ci/HSUM)*d10_limexp0;
4929 HSa_Vtnode_GND=(-Vbci*HSUM_Vtnode_GND/HSUM/HSUM)*d10_limexp0;
4935 #if defined(_DERIVATE)
4936 double m10_limexp(d10_limexp0,d00_limexp0,(Vsci/HSUM))
4938 #if defined(_DERIVATE)
4939 HSb_Vs_ci=(Vsci_Vs_ci/HSUM)*d10_limexp0;
4940 HSb_Vtnode_GND=(-Vsci*HSUM_Vtnode_GND/HSUM/HSUM)*d10_limexp0;
4944 #if defined(_DERIVATE)
4945 HSI_Tsu_Vtnode_GND=((itss_t_Vtnode_GND*(HSa-HSb))+(itss_t*(HSa_Vtnode_GND-HSb_Vtnode_GND)));
4946 HSI_Tsu_Vb_ci=(itss_t*HSa_Vb_ci);
4947 HSI_Tsu_Vs_ci=(itss_t*(-HSb_Vs_ci));
4949 HSI_Tsu=(itss_t*(HSa-HSb));
4953 #if defined(_DERIVATE)
4954 HSI_Tsu_Vtnode_GND=0.0;
4960 #if defined(_DERIVATE)
4961 DIOY_Vs_ci=(Vsci_Vs_ci/(msc*VT));
4964 DIOY_Vtnode_GND=(-Vsci*(msc*VT_Vtnode_GND)/(msc*VT)/(msc*VT));
4966 DIOY=(Vsci/(msc*VT));
4973 #if defined(_DERIVATE)
4974 le_Vs_ci=DIOY_Vs_ci;
4975 le_Vbi_ci=DIOY_Vbi_ci;
4976 le_Vbi_ei=DIOY_Vbi_ei;
4977 le_Vtnode_GND=DIOY_Vtnode_GND;
4980 #if defined(_DERIVATE)
4984 DIOY_Vtnode_GND=0.0;
4990 #if defined(_DERIVATE)
5000 #if defined(_DERIVATE)
5001 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
5003 #if defined(_DERIVATE)
5004 le_Vs_ci=((le_Vs_ci*d00_limexp0)+(le*DIOY_Vs_ci*d10_limexp0));
5005 le_Vbi_ci=((le_Vbi_ci*d00_limexp0)+(le*DIOY_Vbi_ci*d10_limexp0));
5006 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
5007 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
5009 le=(le*d00_limexp0);
5011 #if defined(_DERIVATE)
5012 ijsc_Vtnode_GND=((iscs_t_Vtnode_GND*(le-1.0))+(iscs_t*le_Vtnode_GND));
5013 ijsc_Vs_ci=(iscs_t*le_Vs_ci);
5014 ijsc_Vbi_ci=(iscs_t*le_Vbi_ci);
5015 ijsc_Vbi_ei=(iscs_t*le_Vbi_ei);
5017 ijsc=(iscs_t*(le-1.0));
5021 #if defined(_DERIVATE)
5022 ijsc_Vtnode_GND=(-iscs_t_Vtnode_GND);
5032 #if defined(_DERIVATE)
5033 ijsc_Vtnode_GND=0.0;
5048 #if defined(_DYNAMIC)
5051 #if defined(_DYNAMIC)
5052 #if defined(_DERIVATE)
5053 vp_Vtnode_GND=(-vds_t_Vtnode_GND);
5057 #if defined(_DYNAMIC)
5060 double
m00_exp(d00_exp1,((-d00_logE0)/zs))
5061 #if defined(_DERIVATE)
5062 vf_Vtnode_GND=vds_t_Vtnode_GND*(1.0-d00_exp1);
5064 vf=(vds_t*(1.0-d00_exp1));
5067 #if defined(_DYNAMIC)
5068 #if defined(_DERIVATE)
5069 cmax_Vtnode_GND=(2.4*cjs0_t_Vtnode_GND);
5073 #if defined(_DYNAMIC)
5075 double m00_logE(d00_logE0,(vds_t/vpts))
5076 double
m00_exp(d00_exp1,((zs-zr)*d00_logE0))
5077 #if defined(_DERIVATE)
5078 double m10_logE(d10_logE0,d00_logE0,(vds_t/vpts))
5079 #define d10_exp1 d00_exp1
5081 #if defined(_DERIVATE)
5082 cr_Vtnode_GND=((cjs0_t_Vtnode_GND*d00_exp1)+(cjs0_t*((zs-zr)*(vds_t_Vtnode_GND/vpts)*d10_logE0)*d10_exp1));
5084 cr=(cjs0_t*d00_exp1);
5087 #if defined(_DYNAMIC)
5088 #if defined(_DERIVATE)
5093 a_Vtnode_GND=VT_Vtnode_GND;
5097 #if defined(_DYNAMIC)
5098 #if defined(_DERIVATE)
5099 ve_Vs_ci=((-Vsci_Vs_ci)/a);
5100 ve_Vci_ei=(-(vf-Vsci)*a_Vci_ei/a/a);
5101 ve_Vbi_ei=(-(vf-Vsci)*a_Vbi_ei/a/a);
5102 ve_Vbi_ci=(-(vf-Vsci)*a_Vbi_ci/a/a);
5103 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vsci)*a_Vtnode_GND)/a/a);
5104 ve_Vb_ci=(-(vf-Vsci)*a_Vb_ci/a/a);
5112 #if defined(_DYNAMIC)
5115 #if defined(_DERIVATE)
5116 #define d10_exp0 d00_exp0
5118 #if defined(_DERIVATE)
5119 ex1_Vs_ci=ve_Vs_ci*d10_exp0;
5120 ex1_Vci_ei=ve_Vci_ei*d10_exp0;
5121 ex1_Vbi_ei=ve_Vbi_ei*d10_exp0;
5122 ex1_Vbi_ci=ve_Vbi_ci*d10_exp0;
5123 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
5124 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
5129 #if defined(_DYNAMIC)
5130 #if defined(_DERIVATE)
5131 ee1_Vs_ci=ex1_Vs_ci;
5132 ee1_Vci_ei=ex1_Vci_ei;
5133 ee1_Vbi_ei=ex1_Vbi_ei;
5134 ee1_Vbi_ci=ex1_Vbi_ci;
5135 ee1_Vtnode_GND=ex1_Vtnode_GND;
5136 ee1_Vb_ci=ex1_Vb_ci;
5140 #if defined(_DYNAMIC)
5143 #if defined(_DERIVATE)
5144 double m10_logE(d10_logE0,d00_logE0,ee1)
5146 #if defined(_DERIVATE)
5147 vj1_Vci_ei=(-((a_Vci_ei*d00_logE0)+(a*ee1_Vci_ei*d10_logE0)));
5148 vj1_Vbi_ei=(-((a_Vbi_ei*d00_logE0)+(a*ee1_Vbi_ei*d10_logE0)));
5149 vj1_Vs_ci=(-(a*ee1_Vs_ci*d10_logE0));
5150 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
5151 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
5152 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
5154 vj1=(vf-(a*d00_logE0));
5160 #if defined(_DYNAMIC)
5161 #if defined(_DERIVATE)
5164 vj1_Vs_ci=Vsci_Vs_ci;
5173 #if defined(_DYNAMIC)
5174 #if defined(_DERIVATE)
5179 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
5181 a=((0.1*vp)+(4.0*VT));
5183 #if defined(_DYNAMIC)
5184 #if defined(_DERIVATE)
5185 vr_Vci_ei=((vj1_Vci_ei*a-(vp+vj1)*a_Vci_ei)/a/a);
5186 vr_Vbi_ei=((vj1_Vbi_ei*a-(vp+vj1)*a_Vbi_ei)/a/a);
5187 vr_Vs_ci=(vj1_Vs_ci/a);
5188 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
5189 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
5190 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
5198 #if defined(_DYNAMIC)
5201 #if defined(_DERIVATE)
5202 #define d10_exp0 d00_exp0
5204 #if defined(_DERIVATE)
5205 ex1_Vs_ci=vr_Vs_ci*d10_exp0;
5206 ex1_Vci_ei=vr_Vci_ei*d10_exp0;
5207 ex1_Vbi_ei=vr_Vbi_ei*d10_exp0;
5208 ex1_Vbi_ci=vr_Vbi_ci*d10_exp0;
5209 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
5210 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
5215 #if defined(_DYNAMIC)
5216 #if defined(_DERIVATE)
5217 ee1_Vs_ci=ex1_Vs_ci;
5218 ee1_Vci_ei=ex1_Vci_ei;
5219 ee1_Vbi_ei=ex1_Vbi_ei;
5220 ee1_Vbi_ci=ex1_Vbi_ci;
5221 ee1_Vtnode_GND=ex1_Vtnode_GND;
5222 ee1_Vb_ci=ex1_Vb_ci;
5226 #if defined(_DYNAMIC)
5229 #if defined(_DERIVATE)
5230 double m10_logE(d10_logE0,d00_logE0,ee1)
5232 #if defined(_DERIVATE)
5233 vj2_Vci_ei=((a_Vci_ei*d00_logE0)+(a*ee1_Vci_ei*d10_logE0));
5234 vj2_Vbi_ei=((a_Vbi_ei*d00_logE0)+(a*ee1_Vbi_ei*d10_logE0));
5235 vj2_Vs_ci=(a*ee1_Vs_ci*d10_logE0);
5236 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
5237 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
5238 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
5240 vj2=((-vp)+(a*d00_logE0));
5246 #if defined(_DYNAMIC)
5247 #if defined(_DERIVATE)
5248 vj2_Vci_ei=vj1_Vci_ei;
5249 vj2_Vbi_ei=vj1_Vbi_ei;
5250 vj2_Vs_ci=vj1_Vs_ci;
5251 vj2_Vbi_ci=vj1_Vbi_ci;
5252 vj2_Vtnode_GND=vj1_Vtnode_GND;
5253 vj2_Vb_ci=vj1_Vb_ci;
5259 #if defined(_DYNAMIC)
5260 #if defined(_DERIVATE)
5261 vj4_Vs_ci=(Vsci_Vs_ci-vj1_Vs_ci);
5262 vj4_Vci_ei=(-vj1_Vci_ei);
5263 vj4_Vbi_ei=(-vj1_Vbi_ei);
5264 vj4_Vbi_ci=(-vj1_Vbi_ci);
5265 vj4_Vb_ci=(-vj1_Vb_ci);
5266 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
5270 #if defined(_DYNAMIC)
5273 #if defined(_DYNAMIC)
5276 #if defined(_DYNAMIC)
5278 double m00_logE(d00_logE0,(1.0-(vj1/vds_t)))
5279 #if defined(_DERIVATE)
5280 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vds_t)))
5282 #if defined(_DERIVATE)
5283 vdj1_Vci_ei=(-(vj1_Vci_ei/vds_t))*d10_logE0;
5284 vdj1_Vbi_ei=(-(vj1_Vbi_ei/vds_t))*d10_logE0;
5285 vdj1_Vs_ci=(-(vj1_Vs_ci/vds_t))*d10_logE0;
5286 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vds_t))*d10_logE0;
5287 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vds_t-vj1*vds_t_Vtnode_GND)/vds_t/vds_t))*d10_logE0;
5288 vdj1_Vb_ci=(-(vj1_Vb_ci/vds_t))*d10_logE0;
5293 #if defined(_DYNAMIC)
5295 double m00_logE(d00_logE0,(1.0-(vj2/vds_t)))
5296 #if defined(_DERIVATE)
5297 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vds_t)))
5299 #if defined(_DERIVATE)
5300 vdj2_Vci_ei=(-(vj2_Vci_ei/vds_t))*d10_logE0;
5301 vdj2_Vbi_ei=(-(vj2_Vbi_ei/vds_t))*d10_logE0;
5302 vdj2_Vs_ci=(-(vj2_Vs_ci/vds_t))*d10_logE0;
5303 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vds_t))*d10_logE0;
5304 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vds_t-vj2*vds_t_Vtnode_GND)/vds_t/vds_t))*d10_logE0;
5305 vdj2_Vb_ci=(-(vj2_Vb_ci/vds_t))*d10_logE0;
5310 #if defined(_DYNAMIC)
5312 double m00_exp(d00_exp0,(vdj2*ez))
5313 #if defined(_DERIVATE)
5314 #define d10_exp0 d00_exp0
5316 #if defined(_DERIVATE)
5317 qj1_Vci_ei=((cjs0_t*(-vdj2_Vci_ei*ez*d10_exp0))/ez);
5318 qj1_Vbi_ei=((cjs0_t*(-vdj2_Vbi_ei*ez*d10_exp0))/ez);
5319 qj1_Vs_ci=((cjs0_t*(-vdj2_Vs_ci*ez*d10_exp0))/ez);
5320 qj1_Vbi_ci=((cjs0_t*(-vdj2_Vbi_ci*ez*d10_exp0))/ez);
5321 qj1_Vtnode_GND=(((cjs0_t_Vtnode_GND*(1.0-d00_exp0))+(cjs0_t*(-vdj2_Vtnode_GND*ez*d10_exp0)))/ez);
5322 qj1_Vb_ci=((cjs0_t*(-vdj2_Vb_ci*ez*d10_exp0))/ez);
5324 qj1=((cjs0_t*(1.0-d00_exp0))/ez);
5327 #if defined(_DYNAMIC)
5329 double m00_exp(d00_exp0,(vdj1*ezr))
5330 #if defined(_DERIVATE)
5331 #define d10_exp0 d00_exp0
5333 #if defined(_DERIVATE)
5334 qj2_Vci_ei=((cr*(-vdj1_Vci_ei*ezr*d10_exp0))/ezr);
5335 qj2_Vbi_ei=((cr*(-vdj1_Vbi_ei*ezr*d10_exp0))/ezr);
5336 qj2_Vs_ci=((cr*(-vdj1_Vs_ci*ezr*d10_exp0))/ezr);
5337 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*d10_exp0))/ezr);
5338 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*d10_exp0)))/ezr);
5339 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*d10_exp0))/ezr);
5341 qj2=((cr*(1.0-d00_exp0))/ezr);
5344 #if defined(_DYNAMIC)
5346 double m00_exp(d00_exp0,(vdj2*ezr))
5347 #if defined(_DERIVATE)
5348 #define d10_exp0 d00_exp0
5350 #if defined(_DERIVATE)
5351 qj3_Vci_ei=((cr*(-vdj2_Vci_ei*ezr*d10_exp0))/ezr);
5352 qj3_Vbi_ei=((cr*(-vdj2_Vbi_ei*ezr*d10_exp0))/ezr);
5353 qj3_Vs_ci=((cr*(-vdj2_Vs_ci*ezr*d10_exp0))/ezr);
5354 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*d10_exp0))/ezr);
5355 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*d10_exp0)))/ezr);
5356 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*d10_exp0))/ezr);
5358 qj3=((cr*(1.0-d00_exp0))/ezr);
5361 #if defined(_DYNAMIC)
5362 #if defined(_DERIVATE)
5363 qjs_Vci_ei=(((qj1_Vci_ei+qj2_Vci_ei)-qj3_Vci_ei)*vds_t+(cmax*vj4_Vci_ei));
5364 qjs_Vbi_ei=(((qj1_Vbi_ei+qj2_Vbi_ei)-qj3_Vbi_ei)*vds_t+(cmax*vj4_Vbi_ei));
5365 qjs_Vs_ci=(((qj1_Vs_ci+qj2_Vs_ci)-qj3_Vs_ci)*vds_t+(cmax*vj4_Vs_ci));
5366 qjs_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vds_t+(cmax*vj4_Vbi_ci));
5367 qjs_Vtnode_GND=(((((qj1_Vtnode_GND+qj2_Vtnode_GND)-qj3_Vtnode_GND)*vds_t)+(((qj1+qj2)-qj3)*vds_t_Vtnode_GND))+((cmax_Vtnode_GND*vj4)+(cmax*vj4_Vtnode_GND)));
5368 qjs_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vds_t+(cmax*vj4_Vb_ci));
5370 qjs=((((qj1+qj2)-qj3)*vds_t)+(cmax*vj4));
5375 #if defined(_DYNAMIC)
5376 #if defined(_DERIVATE)
5395 #if defined(_DYNAMIC)
5398 double
m00_exp(d00_exp1,((-d00_logE0)/zs))
5399 #if defined(_DERIVATE)
5400 vf_Vtnode_GND=vds_t_Vtnode_GND*(1.0-d00_exp1);
5402 vf=(vds_t*(1.0-d00_exp1));
5405 #if defined(_DYNAMIC)
5406 #if defined(_DERIVATEFORDDX)
5407 #if defined(_DERIVATE)
5408 xvf_Vs_ci=((-Vsci_Vs_ci)/VT);
5411 #if defined(_DERIVATE)
5412 xvf_Vbi_ei_Vs_ci=0.0;
5413 xvf_Vbi_ei_Vbi_ei=0.0;
5414 xvf_Vbi_ei_Vbi_ci=0.0;
5415 xvf_Vbi_ei_Vtnode_GND=0.0;
5416 xvf_Vbi_ei_Vb_ci=0.0;
5419 #if defined(_DERIVATE)
5420 xvf_Vbi_ci_Vs_ci=0.0;
5421 xvf_Vbi_ci_Vbi_ei=0.0;
5422 xvf_Vbi_ci_Vbi_ci=0.0;
5423 xvf_Vbi_ci_Vtnode_GND=0.0;
5424 xvf_Vbi_ci_Vb_ci=0.0;
5426 #if defined(_DERIVATE)
5427 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vsci)*VT_Vtnode_GND)/VT/VT);
5429 #if defined(_DERIVATE)
5435 #if defined(_DYNAMIC)
5437 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
5438 #if defined(_DERIVATEFORDDX)
5439 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
5441 #if defined(_DERIVATEFORDDX)
5442 #if defined(_DERIVATE)
5443 xvf2_Vs_ci=((xvf_Vs_ci*xvf)+(xvf*xvf_Vs_ci))*d10_sqrt0;
5445 xvf2_Vbi_ei=((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))*d10_sqrt0;
5446 #if defined(_DERIVATE)
5447 xvf2_Vbi_ei_Vs_ci=(
m20_sqrt(((xvf*xvf)+1.921812))*(((xvf_Vs_ci*xvf)+(xvf*xvf_Vs_ci)))*((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))+d10_sqrt0*(+(+xvf_Vbi_ei_Vs_ci*xvf+xvf_Vbi_ei*xvf_Vs_ci+xvf_Vs_ci*xvf_Vbi_ei+xvf*xvf_Vbi_ei_Vs_ci)+0.0));
5448 xvf2_Vbi_ei_Vbi_ei=(
m20_sqrt(((xvf*xvf)+1.921812))*(((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei)))*((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))+d10_sqrt0*(+(+xvf_Vbi_ei_Vbi_ei*xvf+xvf_Vbi_ei*xvf_V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GND)))*0.5);
5495 #if defined(_DERIVATE)
5496 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
5499 v_j=(vf-((VT*(xvf+xvf2))*0.5));
5501 #if defined(_DYNAMIC)
5502 #if defined(_DERIVATE)
5508 #if defined(_DYNAMIC)
5510 double m00_logE(d00_logE0,(1.0-(v_j/vds_t)))
5511 double
m00_exp(d00_exp1,(x*d00_logE0))
5512 #if defined(_DERIVATEFORDDX)
5513 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vds_t)))
5514 #define d10_exp1 d00_exp1
5516 #if defined(_DERIVATEFORDDX)
5517 #if defined(_DERIVATE)
5518 y_Vci_ei=(-x_Vci_ei*d00_logE0*d10_exp1);
5520 #if defined(_DERIVATE)
5521 y_Vs_ci=(-(x*(-(v_j_Vs_ci/vds_t))*d10_logE0)*d10_exp1);
5523 y_Vbi_ei=(-(x*(-(v_j_Vbi_ei/vds_t))*d10_logE0)*d10_exp1);
5524 #if defined(_DERIVATE)
5525 y_Vbi_ei_Vci_ei=(+0.0-(
m20_exp((x*d00_logE0))*(x_Vci_ei*d00_logE0)*(x*(-(v_j_Vbi_ei/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*0.0+x_Vci_ei*(-(v_j_Vbi_ei/vds_t))*d10_logE0+x*0.0)));
5526 y_Vbi_ei_Vs_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vs_ci/vds_t))*d10_logE0))*(x*(-(v_j_Vbi_ei/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vs_ci/vds_t))*d10_logE0+0.0*(-(v_j_Vbi_ei/vds_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vds_t)))*(-(v_j_Vs_ci/vds_t))*(-(v_j_Vbi_ei/vds_t))+d10_logE0*(+0.0-(v_j_Vbi_ei_Vs_ci/vds_t-(v_j_Vbi_ei*0.0+v_j_Vs_ci*0.0+v_j*0.0)/vds_t/vds_t+2*v_j*0.0*0.0/vds_t/vds_t/vds_t))))));
5527 y_Vbi_ei_Vbi_ei=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ei/vds_t))*d10_logE0))*(x*(-(v_j_Vbi_ei/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ei/vds_t))*d10_logE0+0.0*(-(v_j_Vbi_ei/vds_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vds_t)))*(-(v_j_Vbi_ei/vds_t))*(-(v_j_Vbi_ei/vds_t))+d10_logE0*(+0.0-(v_j_Vbi_ei_Vbi_ei/vds_t-(v_j_Vbi_ei*0.0+v_j_Vbi_ei*0.0+v_j*0.0)/vds_t/vds_t+2*v_j*0.0*0.0/vds_t/vds_t/vds_t))))));
5528 y_Vbi_ei_Vbi_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ci/vds_t))*d10_logE0))*(x*(-(v_j_Vbi_ei/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ci/vds_t))*d10_logE0+0.0*(-(v_j_Vbi_ei/vds_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vds_t)))*(-(v_j_Vbi_ci/vds_t))*(-(v_j_Vbi_ei/vds_t))+d10_logE0*(+0.0-(v_j_Vbi_ei_Vbi_ci/vds_t-(v_j_Vbi_ei*0.0+v_j_Vbi_ci*0.0+v_j*0.0)/vds_t/vds_t+2*v_j*0.0*0.0/vds_t/vds_t/vds_t))))));
5529 y_Vbi_ei_Vtnode_GND=(+0.0-(
m20_exp((x*d00_logE0))*(((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vds_t-v_j*vds_t_Vtnode_GND)/vds_t/vds_t))*d10_logE0)))*(x*(-(v_j_Vbi_ei/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-((v_j_Vtnode_GND*vds_t-v_j*vds_t_Vtnode_GND)/vds_t/vds_t))*d10_logE0+x_Vtnode_GND*(-(v_j_Vbi_ei/vds_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vds_t)))*(-((v_j_Vtnode_GND*vds_t-v_j*vds_t_Vtnode_GND)/vds_t/vds_t))*(-(v_j_Vbi_ei/vds_t))+d10_logE0*(+0.0-(v_j_Vbi_ei_Vtnode_GND/vds_t-(v_j_Vbi_ei*vds_t_Vtnode_GND+v_j_Vtnode_GND*0.0+v_j*0.0)/vds_t/vds_t+2*v_j*0.0*vds_t_Vtnode_GND/vds_t/vds_t/vds_t))))));
5530 y_Vbi_ei_Vb_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vb_ci/vds_t))*d10_logE0))*(x*(-(v_j_Vbi_ei/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vb_ci/vds_t))*d10_logE0+0.0*(-(v_j_Vbi_ei/vds_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vds_t)))*(-(v_j_Vb_ci/vds_t))*(-(v_j_Vbi_ei/vds_t))+d10_logE0*(+0.0-(v_j_Vbi_ei_Vb_ci/vds_t-(v_j_Vbi_ei*0.0+v_j_Vb_ci*0.0+v_j*0.0)/vds_t/vds_t+2*v_j*0.0*0.0/vds_t/vds_t/vds_t))))));
5532 y_Vbi_ci=(-(x*(-(v_j_Vbi_ci/vds_t))*d10_logE0)*d10_exp1);
5533 #if defined(_DERIVATE)
5534 y_Vbi_ci_Vci_ei=(+0.0-(
m20_exp((x*d00_logE0))*(x_Vci_ei*d00_logE0)*(x*(-(v_j_Vbi_ci/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*0.0+x_Vci_ei*(-(v_j_Vbi_ci/vds_t))*d10_logE0+x*0.0)));
5535 y_Vbi_ci_Vs_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vs_ci/vds_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vs_ci/vds_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vds_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vds_t)))*(-(v_j_Vs_ci/vds_t))*(-(v_j_Vbi_ci/vds_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vs_ci/vds_t-(v_j_Vbi_ci*0.0+v_j_Vs_ci*0.0+v_j*0.0)/vds_t/vds_t+2*v_j*0.0*0.0/vds_t/vds_t/vds_t))))));
5536 y_Vbi_ci_Vbi_ei=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ei/vds_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ei/vds_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vds_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vds_t)))*(-(v_j_Vbi_ei/vds_t))*(-(v_j_Vbi_ci/vds_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vbi_ei/vds_t-(v_j_Vbi_ci*0.0+v_j_Vbi_ei*0.0+v_j*0.0)/vds_t/vds_t+2*v_j*0.0*0.0/vds_t/vds_t/vds_t))))));
5537 y_Vbi_ci_Vbi_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vbi_ci/vds_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vbi_ci/vds_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vds_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vds_t)))*(-(v_j_Vbi_ci/vds_t))*(-(v_j_Vbi_ci/vds_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vbi_ci/vds_t-(v_j_Vbi_ci*0.0+v_j_Vbi_ci*0.0+v_j*0.0)/vds_t/vds_t+2*v_j*0.0*0.0/vds_t/vds_t/vds_t))))));
5538 y_Vbi_ci_Vtnode_GND=(+0.0-(
m20_exp((x*d00_logE0))*(((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vds_t-v_j*vds_t_Vtnode_GND)/vds_t/vds_t))*d10_logE0)))*(x*(-(v_j_Vbi_ci/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-((v_j_Vtnode_GND*vds_t-v_j*vds_t_Vtnode_GND)/vds_t/vds_t))*d10_logE0+x_Vtnode_GND*(-(v_j_Vbi_ci/vds_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vds_t)))*(-((v_j_Vtnode_GND*vds_t-v_j*vds_t_Vtnode_GND)/vds_t/vds_t))*(-(v_j_Vbi_ci/vds_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vtnode_GND/vds_t-(v_j_Vbi_ci*vds_t_Vtnode_GND+v_j_Vtnode_GND*0.0+v_j*0.0)/vds_t/vds_t+2*v_j*0.0*vds_t_Vtnode_GND/vds_t/vds_t/vds_t))))));
5539 y_Vbi_ci_Vb_ci=(+0.0-(
m20_exp((x*d00_logE0))*((x*(-(v_j_Vb_ci/vds_t))*d10_logE0))*(x*(-(v_j_Vbi_ci/vds_t))*d10_logE0)+d10_exp1*(+0.0*d00_logE0+0.0*(-(v_j_Vb_ci/vds_t))*d10_logE0+0.0*(-(v_j_Vbi_ci/vds_t))*d10_logE0+x*(
m20_logE((1.0-(v_j/vds_t)))*(-(v_j_Vb_ci/vds_t))*(-(v_j_Vbi_ci/vds_t))+d10_logE0*(+0.0-(v_j_Vbi_ci_Vb_ci/vds_t-(v_j_Vbi_ci*0.0+v_j_Vb_ci*0.0+v_j*0.0)/vds_t/vds_t+2*v_j*0.0*0.0/vds_t/vds_t/vds_t))))));
5541 #if defined(_DERIVATE)
5542 y_Vtnode_GND=(-((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vds_t-v_j*vds_t_Vtnode_GND)/vds_t/vds_t))*d10_logE0))*d10_exp1);
5544 #if defined(_DERIVATE)
5545 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vds_t))*d10_logE0)*d10_exp1);
5551 #if defined(_DYNAMIC)
5552 #if defined(_DERIVATE)
5553 qjs_Vci_ei=((((cjs0_t*vds_t)*y_Vci_ei)*x-((cjs0_t*vds_t)*y)*x_Vci_ei)/x/x);
5554 qjs_Vbi_ei=((((cjs0_t*vds_t)*y_Vbi_ei)/
x)+((2.4*cjs0_t)*(-v_j_Vbi_ei)));
5555 qjs_Vs_ci=((((cjs0_t*vds_t)*y_Vs_ci)/
x)+((2.4*cjs0_t)*(Vsci_Vs_ci-v_j_Vs_ci)));
5556 qjs_Vbi_ci=((((cjs0_t*vds_t)*y_Vbi_ci)/
x)+((2.4*cjs0_t)*(-v_j_Vbi_ci)));
5557 qjs_Vtnode_GND=(((((((cjs0_t_Vtnode_GND*vds_t)+(cjs0_t*vds_t_Vtnode_GND))*y)+((cjs0_t*vds_t)*y_Vtnode_GND))*x-((cjs0_t*vds_t)*y)*x_Vtnode_GND)/x/
x)+(((2.4*cjs0_t_Vtnode_GND)*(Vsci-v_j))+((2.4*cjs0_t)*(-v_j_Vtnode_GND))));
5558 qjs_Vb_ci=((((cjs0_t*vds_t)*y_Vb_ci)/
x)+((2.4*cjs0_t)*(-v_j_Vb_ci)));
5560 qjs=((((cjs0_t*vds_t)*y)/
x)+((2.4*cjs0_t)*(Vsci-v_j)));
5565 #if defined(_DYNAMIC)
5566 #if defined(_DERIVATE)
5581 (((flsh==1)&&(rth>=0.001)))
5583 #if defined(_DERIVATE)
5588 pterm_Vtnode_GND=(it_Vtnode_GND*Vciei+((iavl_Vtnode_GND*(vdci_t-Vbici))+(iavl*vdci_t_Vtnode_GND)));
5589 pterm_Vbi_ei=(it_Vbi_ei*Vciei+iavl_Vbi_ei*(vdci_t-Vbici));
5590 pterm_Vbi_ci=(it_Vbi_ci*Vciei+((iavl_Vbi_ci*(vdci_t-Vbici))+(iavl*(-Vbici_Vbi_ci))));
5591 pterm_Vb_ci=(it_Vb_ci*Vciei+iavl_Vb_ci*(vdci_t-Vbici));
5592 pterm_Vci_ei=(((it_Vci_ei*Vciei)+(it*Vciei_Vci_ei))+iavl_Vci_ei*(vdci_t-Vbici));
5594 pterm=((it*Vciei)+(iavl*(vdci_t-Vbici)));
5599 (((flsh==2)&&(rth>=0.001)))
5601 #if defined(_DERIVATE)
5605 pterm_Vs_ci=((ijsc_Vs_ci*Vsci)+(ijsc*Vsci_Vs_ci));
5606 pterm_Vtnode_GND=(((((Vciei*it_Vtnode_GND)+((vdci_t_Vtnode_GND*iavl)+((vdci_t-Vbici)*iavl_Vtnode_GND)))+ijbe_Vtnode_GND*Vbiei)+ijbc_Vtnode_GND*Vbici)+ijsc_Vtnode_GND*Vsci);
5607 pterm_Vbi_ei=(((((Vciei*it_Vbi_ei)+((vdci_t-Vbici)*iavl_Vbi_ei))+((ijbe_Vbi_ei*Vbiei)+(ijbe*Vbiei_Vbi_ei)))+ijbc_Vbi_ei*Vbici)+ijsc_Vbi_ei*Vsci);
5608 pterm_Vbi_ci=((((Vciei*it_Vbi_ci)+(((-Vbici_Vbi_ci)*iavl)+((vdci_t-Vbici)*iavl_Vbi_ci)))+((ijbc_Vbi_ci*Vbici)+(ijbc*Vbici_Vbi_ci)))+ijsc_Vbi_ci*Vsci);
5609 pterm_Vb_ci=((Vciei*it_Vb_ci)+((vdci_t-Vbici)*iavl_Vb_ci));
5610 pterm_Vci_ei=(((Vciei_Vci_ei*it)+(Vciei*it_Vci_ei))+((vdci_t-Vbici)*iavl_Vci_ei));
5612 pterm=(((((Vciei*it)+((vdci_t-Vbici)*iavl))+(ijbe*Vbiei))+(ijbc*Vbici))+(ijsc*Vsci));
5616 #if defined(_DERIVATE)
5619 pterm_Vb_bi=(pterm_Vb_bi+(((Vbbi_Vb_bi*Vbbi)+(Vbbi*Vbbi_Vb_bi))/rb));
5620 pterm_Vs_ci=pterm_Vs_ci;
5621 pterm_Vtnode_GND=(pterm_Vtnode_GND+(-(Vbbi*Vbbi)*rb_Vtnode_GND/rb/rb));
5622 pterm_Vbi_ei=(pterm_Vbi_ei+(-(Vbbi*Vbbi)*rb_Vbi_ei/rb/rb));
5623 pterm_Vbi_ci=(pterm_Vbi_ci+(-(Vbbi*Vbbi)*rb_Vbi_ci/rb/rb));
5624 pterm_Vb_ci=(pterm_Vb_ci+(-(Vbbi*Vbbi)*rb_Vb_ci/rb/rb));
5625 pterm_Vci_ei=(pterm_Vci_ei+(-(Vbbi*Vbbi)*rb_Vci_ei/rb/rb));
5627 pterm=(pterm+((Vbbi*Vbbi)/rb));
5632 #if defined(_DERIVATE)
5634 pterm_Vei_e=(pterm_Vei_e+(((Veie_Vei_e*Veie)+(Veie*Veie_Vei_e))/re_t));
5635 pterm_Vb_bi=pterm_Vb_bi;
5636 pterm_Vs_ci=pterm_Vs_ci;
5637 pterm_Vtnode_GND=(pterm_Vtnode_GND+(-(Veie*Veie)*re_t_Vtnode_GND/re_t/re_t));
5638 pterm_Vbi_ei=pterm_Vbi_ei;
5639 pterm_Vbi_ci=pterm_Vbi_ci;
5640 pterm_Vb_ci=pterm_Vb_ci;
5641 pterm_Vci_ei=pterm_Vci_ei;
5643 pterm=(pterm+((Veie*Veie)/re_t));
5648 #if defined(_DERIVATE)
5649 pterm_Vci_c=(pterm_Vci_c+(((Vcic_Vci_c*Vcic)+(Vcic*Vcic_Vci_c))/rcx_t));
5650 pterm_Vei_e=pterm_Vei_e;
5651 pterm_Vb_bi=pterm_Vb_bi;
5652 pterm_Vs_ci=pterm_Vs_ci;
5653 pterm_Vtnode_GND=(pterm_Vtnode_GND+(-(Vcic*Vcic)*rcx_t_Vtnode_GND/rcx_t/rcx_t));
5654 pterm_Vbi_ei=pterm_Vbi_ei;
5655 pterm_Vbi_ci=pterm_Vbi_ci;
5656 pterm_Vb_ci=pterm_Vb_ci;
5657 pterm_Vci_ei=pterm_Vci_ei;
5659 pterm=(pterm+((Vcic*Vcic)/rcx_t));
5663 #if defined(_DERIVATE)
5664 Ibici_Vtnode_GND=(ijbc_Vtnode_GND-iavl_Vtnode_GND);
5665 Ibici_Vbi_ci=(ijbc_Vbi_ci-iavl_Vbi_ci);
5666 Ibici_Vbi_ei=(ijbc_Vbi_ei-iavl_Vbi_ei);
5667 Ibici_Vb_ci=(-iavl_Vb_ci);
5668 Ibici_Vci_ei=(-iavl_Vci_ei);
5671 #if defined(_DYNAMIC)
5672 #if defined(_DERIVATE)
5673 Qbci_Vb_ci=(cbcpar*Vbci_Vb_ci);
5677 #if defined(_DYNAMIC)
5678 #if defined(_DERIVATE)
5679 Qbe_Vb_e=(cbepar*Vbe_Vb_e);
5683 #if defined(_DYNAMIC)
5684 #if defined(_DERIVATE)
5685 Qbici_Vbi_ci=(qjcii_Vbi_ci+qr_Vbi_ci);
5686 Qbici_Vtnode_GND=(qjcii_Vtnode_GND+qr_Vtnode_GND);
5687 Qbici_Vb_ci=(qjcii_Vb_ci+qr_Vb_ci);
5688 Qbici_Vbi_ei=qr_Vbi_ei;
5689 Qbici_Vci_ei=qr_Vci_ei;
5693 #if defined(_DYNAMIC)
5694 #if defined(_DERIVATE)
5695 Qbiei_Vtnode_GND=(qjei_Vtnode_GND+qf_Vtnode_GND);
5696 Qbiei_Vbi_ei=(qjei_Vbi_ei+qf_Vbi_ei);
5697 Qbiei_Vbi_ci=(qjei_Vbi_ci+qf_Vbi_ci);
5698 Qbiei_Vb_ci=(qjei_Vb_ci+qf_Vb_ci);
5699 Qbiei_Vci_ei=qf_Vci_ei;
5703 #if defined(_DERIVATE)
5704 ijsc_Vtnode_GND=(HICUMtype*ijsc_Vtnode_GND);
5705 ijsc_Vs_ci=(HICUMtype*ijsc_Vs_ci);
5706 ijsc_Vbi_ci=(HICUMtype*ijsc_Vbi_ci);
5707 ijsc_Vbi_ei=(HICUMtype*ijsc_Vbi_ei);
5709 ijsc=(HICUMtype*ijsc);
5710 #if defined(_DYNAMIC)
5711 #if defined(_DERIVATE)
5712 qjs_Vci_ei=(HICUMtype*qjs_Vci_ei);
5713 qjs_Vbi_ei=(HICUMtype*qjs_Vbi_ei);
5714 qjs_Vs_ci=(HICUMtype*qjs_Vs_ci);
5715 qjs_Vbi_ci=(HICUMtype*qjs_Vbi_ci);
5716 qjs_Vtnode_GND=(HICUMtype*qjs_Vtnode_GND);
5717 qjs_Vb_ci=(HICUMtype*qjs_Vb_ci);
5719 qjs=(HICUMtype*qjs);
5721 #if defined(_DYNAMIC)
5722 #if defined(_DERIVATE)
5723 qjcx_Vbi_ci=(HICUMtype*qjcx_Vbi_ci);
5724 qjcx_Vtnode_GND=(HICUMtype*qjcx_Vtnode_GND);
5725 qjcx_Vb_ci=(HICUMtype*qjcx_Vb_ci);
5727 qjcx=(HICUMtype*qjcx);
5729 #if defined(_DYNAMIC)
5730 #if defined(_DERIVATE)
5731 Qbci_Vb_ci=(HICUMtype*Qbci_Vb_ci);
5733 Qbci=(HICUMtype*Qbci);
5735 #if defined(_DYNAMIC)
5736 #if defined(_DERIVATE)
5737 Qbe_Vb_e=(HICUMtype*Qbe_Vb_e);
5739 Qbe=(HICUMtype*Qbe);
5741 #if defined(_DERIVATE)
5742 Ibici_Vtnode_GND=(HICUMtype*Ibici_Vtnode_GND);
5743 Ibici_Vbi_ci=(HICUMtype*Ibici_Vbi_ci);
5744 Ibici_Vbi_ei=(HICUMtype*Ibici_Vbi_ei);
5745 Ibici_Vb_ci=(HICUMtype*Ibici_Vb_ci);
5746 Ibici_Vci_ei=(HICUMtype*Ibici_Vci_ei);
5748 Ibici=(HICUMtype*Ibici);
5749 #if defined(_DYNAMIC)
5750 #if defined(_DERIVATE)
5751 Qbici_Vbi_ci=(HICUMtype*Qbici_Vbi_ci);
5752 Qbici_Vtnode_GND=(HICUMtype*Qbici_Vtnode_GND);
5753 Qbici_Vb_ci=(HICUMtype*Qbici_Vb_ci);
5754 Qbici_Vbi_ei=(HICUMtype*Qbici_Vbi_ei);
5755 Qbici_Vci_ei=(HICUMtype*Qbici_Vci_ei);
5757 Qbici=(HICUMtype*Qbici);
5759 #if defined(_DERIVATE)
5760 ijbe_Vtnode_GND=(HICUMtype*ijbe_Vtnode_GND);
5761 ijbe_Vbi_ei=(HICUMtype*ijbe_Vbi_ei);
5763 ijbe=(HICUMtype*ijbe);
5764 #if defined(_DYNAMIC)
5765 #if defined(_DERIVATE)
5766 Qbiei_Vtnode_GND=(HICUMtype*Qbiei_Vtnode_GND);
5767 Qbiei_Vbi_ei=(HICUMtype*Qbiei_Vbi_ei);
5768 Qbiei_Vbi_ci=(HICUMtype*Qbiei_Vbi_ci);
5769 Qbiei_Vb_ci=(HICUMtype*Qbiei_Vb_ci);
5770 Qbiei_Vci_ei=(HICUMtype*Qbiei_Vci_ei);
5772 Qbiei=(HICUMtype*Qbiei);
5774 #if defined(_DERIVATE)
5775 it_Vtnode_GND=(HICUMtype*it_Vtnode_GND);
5776 it_Vbi_ei=(HICUMtype*it_Vbi_ei);
5777 it_Vbi_ci=(HICUMtype*it_Vbi_ci);
5778 it_Vb_ci=(HICUMtype*it_Vb_ci);
5779 it_Vci_ei=(HICUMtype*it_Vci_ei);
5783 #if defined(_DERIVATE)
5787 #if defined(_DERIVATE)
5791 #if defined(_DERIVATE)
5797 #if defined(_DERIVATE)
5803 #if defined(_DYNAMIC)
5805 #if defined(_DERIVATE)
5814 #if defined(_DYNAMIC)
5816 #if defined(_DERIVATE)
5822 #if defined(_DYNAMIC)
5824 #if defined(_DERIVATE)
5828 #if defined(_DYNAMIC)
5830 #if defined(_DERIVATE)
5838 #if defined(_DERIVATE)
5846 #if defined(_DERIVATE)
5854 #if defined(_DERIVATE)
5862 #if defined(_DERIVATE)
5867 (((rbi0>=0.001)||(rbx>=0.001)))
5870 #if defined(_DERIVATE)
5882 #if defined(_DERIVATE)
5887 #if defined(_DERIVATE)
5894 #if defined(_DYNAMIC)
5896 #if defined(_DERIVATE)
5905 #if defined(_DERIVATE)
5909 #if defined(_DYNAMIC)
5911 #if defined(_DERIVATE)
5920 #if defined(_DERIVATE)
5928 (((flsh==0)||(rth<0.001)))
5931 #if defined(_DERIVATE)
5938 #if defined(_DERIVATE)
5949 #if defined(_DYNAMIC)
5951 #if defined(_DERIVATE)
5956 #if defined(_DERIVATE)
5957 fourkt_Vtnode_GND=((4.0*1.3806503e-23)*Tdev_Vtnode_GND);
5959 fourkt=((4.0*1.3806503e-23)*Tdev);
5961 (((rbx>=0.001)||(rbi0>=0.001)))
5975 twoq=(2.0*1.602176462e-19);
5979 double m00_pow(d00_pow0,ijbe,af)
5980 #if defined(_DERIVATE)
5981 double m10_pow(d10_pow0,d00_pow0,ijbe,af)
5983 #if defined(_DERIVATE)
5984 flicker_Pwr_Vtnode_GND=(kf*(d10_pow0*ijbe_Vtnode_GND));
5985 flicker_Pwr_Vbi_ei=(kf*(d10_pow0*ijbe_Vbi_ei));
5987 flicker_Pwr=(kf*d00_pow0);
6006 for (
int i1 = 0; i1 < 8; i1++) {
6007 setI (i1, _rhs[i1]);
6008 for (
int i2 = 0; i2 < 8; i2++) {
6009 setY (i1, i2, _jstat[i1][i2]);
6055 matrix hic0_full::calcMatrixY (nr_double_t frequency)
6061 for (
int i1 = 0; i1 < 8; i1++) {
6062 for (
int i2 = 0; i2 < 8; i2++) {
6063 y (i1,i2) =
rect (_jstat[i1][i2], _jdyna[i1][i2] * 2 *
M_PI * _freq);
6097 int i1, i2, i3, i4, state;
6100 for (i1 = 0; i1 < 8; i1++) {
6101 for (i2 = 0; i2 < 8; i2++) {
6102 state = 2 * (i2 + 8 * i1);
6104 if (_charges[i1][i2] != 0.0)
6109 for (i1 = 0; i1 < 8; i1++) {
6110 state = 2 * (i1 + 8 * i1);
6111 if (_charges[i1][i1] != 0.0)
6116 for (i1 = 0; i1 < 8; i1++) {
6117 for (i2 = 0; i2 < 8; i2++) {
6119 for (i3 = 0; i3 < 8; i3++) {
6120 for (i4 = 0; i4 < 8; i4++) {
6122 if (_caps[i1][i2][i3][i4] != 0.0)
6127 for (i1 = 0; i1 < 8; i1++) {
6128 for (i2 = 0; i2 < 8; i2++) {
6130 for (i3 = 0; i3 < 8; i3++) {
6131 if (_caps[i1][i2][i3][i3] != 0.0)
6136 for (i1 = 0; i1 < 8; i1++) {
6137 for (i3 = 0; i3 < 8; i3++) {
6138 for (i4 = 0; i4 < 8; i4++) {
6140 if (_caps[i1][i1][i3][i4] != 0.0)
6145 for (i1 = 0; i1 < 8; i1++) {
6146 for (i3 = 0; i3 < 8; i3++) {
6147 if (_caps[i1][i1][i3][i3] != 0.0)
6153 matrix hic0_full::calcMatrixCy (nr_double_t frequency)
6199 for (
int i1 = 0; i1 < 8; i1++) {
6200 setQ (i1, _qhs[i1]);
6201 setCV (i1, _chs[i1]);
6202 setGV (i1, _ghs[i1]);
6203 for (
int i2 = 0; i2 < 8; i2++) {
6204 setQV (i1, i2, _jdyna[i1][i2]);