16 #include "component.h"
20 #ifndef CIR_hicumL0V1p2g
21 #define CIR_hicumL0V1p2g -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 "hicumL0V1p2g"
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 hicumL0V1p2g::initModel (
void)
267 initializeInstance ();
288 void hicumL0V1p2g::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 hicumL0V1p2g::loadVariables (
void)
438 #define _DERIVATEFORDDX
441 void hicumL0V1p2g::initializeModel (
void)
465 void hicumL0V1p2g::initializeInstance (
void)
470 void hicumL0V1p2g::initialStep (
void)
475 void hicumL0V1p2g::finalStep (
void)
480 void hicumL0V1p2g::calcVerilog (
void)
485 #if defined(_DERIVATE)
486 double flicker_Pwr_Vtnode_GND;
487 double flicker_Pwr_Vbi_ei;
488 double flicker_Pwr_Vci_ei;
489 double flicker_Pwr_Vbi_ci;
490 double flicker_Pwr_Vb_ci;
494 #if defined(_DERIVATE)
495 double fourkt_Vtnode_GND;
497 #if defined(_DYNAMIC)
499 #if defined(_DERIVATE)
500 double Qbiei_Vtnode_GND;
507 #if defined(_DYNAMIC)
509 #if defined(_DERIVATE)
511 double Qbici_Vtnode_GND;
517 #if defined(_DYNAMIC)
519 #if defined(_DERIVATE)
523 #if defined(_DYNAMIC)
525 #if defined(_DERIVATE)
529 #if defined(_DERIVATE)
530 double Ibici_Vtnode_GND;
537 #if defined(_DERIVATE)
542 double pterm_Vtnode_GND;
548 #if defined(_DYNAMIC)
550 #if defined(_DERIVATE)
555 double qjs_Vtnode_GND;
559 #if defined(_DERIVATE)
560 double ijsc_Vtnode_GND;
566 #if defined(_DERIVATE)
567 double HSI_Tsu_Vtnode_GND;
568 double HSI_Tsu_Vb_ci;
569 double HSI_Tsu_Vs_ci;
572 #if defined(_DERIVATE)
574 double HSb_Vtnode_GND;
577 #if defined(_DERIVATE)
579 double HSa_Vtnode_GND;
582 #if defined(_DERIVATE)
583 double HSUM_Vtnode_GND;
586 #if defined(_DERIVATE)
587 double rb_Vtnode_GND;
594 #if defined(_DERIVATE)
595 double eta_Vtnode_GND;
602 #if defined(_DERIVATE)
603 double rbi_Vtnode_GND;
610 #if defined(_DERIVATE)
611 double fQz_Vtnode_GND;
618 #if defined(_DERIVATE)
619 double Qz_nom_Vtnode_GND;
620 double Qz_nom_Vci_ei;
621 double Qz_nom_Vbi_ei;
622 double Qz_nom_Vbi_ci;
626 #if defined(_DERIVATE)
627 double qje_Vtnode_GND;
633 #if defined(_DERIVATE)
634 double qjei_Vtnode_GND;
641 #if defined(_DERIVATE)
643 double lncc_Vtnode_GND;
646 #if defined(_DERIVATE)
647 double iavl_Vtnode_GND;
654 #if defined(_DERIVATE)
655 double a_iavl_Vtnode_GND;
656 double a_iavl_Vbi_ci;
660 #if defined(_DERIVATE)
661 double v_bord_Vtnode_GND;
664 #if defined(_DERIVATE)
665 double ibi_Vtnode_GND;
671 #if defined(_DERIVATE)
672 double ijbc_Vtnode_GND;
676 #if defined(_DERIVATE)
677 double ijbe_Vtnode_GND;
684 #if defined(_DERIVATE)
685 double ire_Vtnode_GND;
689 #if defined(_DERIVATE)
690 double ibe_Vtnode_GND;
694 #if defined(_DERIVATE)
698 double le_Vtnode_GND;
701 #if defined(_DERIVATE)
705 double DIOY_Vtnode_GND;
708 #if defined(_DERIVATE)
709 double ibrec_Vtnode_GND;
715 #if defined(_DYNAMIC)
717 #if defined(_DERIVATE)
718 double qr_Vtnode_GND;
726 #if defined(_DYNAMIC)
728 #if defined(_DERIVATE)
729 double qf_Vtnode_GND;
736 #if defined(_DYNAMIC)
738 #if defined(_DERIVATE)
739 double dqef_Vtnode_GND;
746 #if defined(_DYNAMIC)
748 #if defined(_DERIVATE)
749 double dtef_Vtnode_GND;
757 #if defined(_DYNAMIC)
759 #if defined(_DERIVATE)
760 double dqfh_Vtnode_GND;
767 #if defined(_DYNAMIC)
769 #if defined(_DERIVATE)
770 double tww_Vtnode_GND;
777 #if defined(_DYNAMIC)
779 #if defined(_DERIVATE)
784 double s3_Vtnode_GND;
787 #if defined(_DYNAMIC)
789 #if defined(_DERIVATE)
790 double qf0_Vtnode_GND;
797 #if defined(_DERIVATE)
798 double it_Vtnode_GND;
805 #if defined(_DERIVATE)
806 double itr_Vtnode_GND;
813 #if defined(_DERIVATE)
814 double itf_Vtnode_GND;
821 #if defined(_DERIVATE)
822 double qpt_Vtnode_GND;
829 #if defined(_DERIVATE)
830 double qm_Vtnode_GND;
837 #if defined(_DERIVATE)
838 double qmBw_Vtnode_GND;
845 #if defined(_DERIVATE)
853 #if defined(_DERIVATE)
854 double a2_Vtnode_GND;
861 #if defined(_DERIVATE)
862 double a1_Vtnode_GND;
869 #if defined(_DERIVATE)
870 double qpt_h_Vtnode_GND;
877 #if defined(_DERIVATE)
878 double qpt_l_Vtnode_GND;
885 #if defined(_DERIVATE)
886 double qmh_Vtnode_GND;
893 #if defined(_DERIVATE)
894 double qml_Vtnode_GND;
901 #if defined(_DERIVATE)
902 double qmB_Vtnode_GND;
906 #if defined(_DERIVATE)
907 double qm0_Vtnode_GND;
913 #if defined(_DERIVATE)
914 double qmE_Vtnode_GND;
921 #if defined(_DERIVATE)
922 double ick_Vtnode_GND;
929 #if defined(_DERIVATE)
930 double vceff_Vtnode_GND;
934 #if defined(_DERIVATE)
936 double uvc_Vtnode_GND;
939 #if defined(_DERIVATE)
941 double vc_Vtnode_GND;
944 #if defined(_DERIVATE)
945 double ickr_Vtnode_GND;
948 #if defined(_DERIVATE)
949 double ickf_Vtnode_GND;
954 #if defined(_DERIVATE)
955 double denom_iqf_Vtnode_GND;
956 double denom_iqf_Vbi_ci;
957 double denom_iqf_Vb_ci;
960 #if defined(_DERIVATE)
961 double itri_Vtnode_GND;
965 #if defined(_DERIVATE)
967 double le2_Vtnode_GND;
970 #if defined(_DERIVATE)
972 double arg2_Vtnode_GND;
975 #if defined(_DERIVATE)
976 double itfi_Vtnode_GND;
980 #if defined(_DERIVATE)
982 double le1_Vtnode_GND;
985 #if defined(_DERIVATE)
987 double arg1_Vtnode_GND;
990 #if defined(_DERIVATE)
991 double b_q_Vtnode_GND;
997 #if defined(_DERIVATE)
998 double qj_2_Vtnode_GND;
1004 #if defined(_DERIVATE)
1005 double Gjci_Vtnode_GND;
1011 #if defined(_DERIVATE)
1012 double Dfic_Vtnode_GND;
1015 #if defined(_DERIVATE)
1016 double qjcidc_Vbi_ei;
1017 double qjcidc_Vbi_ci;
1018 double qjcidc_Vtnode_GND;
1019 double qjcidc_Vb_ci;
1022 #if defined(_DERIVATE)
1023 double Gjei_Vtnode_GND;
1029 #if defined(_DERIVATE)
1030 double Dfie_Vtnode_GND;
1033 #if defined(_DERIVATE)
1034 double qjedc_Vtnode_GND;
1035 double qjedc_Vbi_ei;
1036 double qjedc_Vbi_ci;
1040 #if defined(_DERIVATE)
1041 double Vbiei_l_Vbi_ci;
1042 double Vbiei_l_Vtnode_GND;
1043 double Vbiei_l_Vb_ci;
1044 double Vbiei_l_Vbi_ei;
1047 #if defined(_DERIVATE)
1050 double sqx_Vtnode_GND;
1054 #if defined(_DERIVATE)
1059 double aa_Vtnode_GND;
1062 #if defined(_DERIVATE)
1063 double expv_Vtnode_GND;
1067 #if defined(_DERIVATE)
1068 double ajedc_t_Vtnode_GND;
1071 #if defined(_DERIVATE)
1072 double cT_cT0_Vtnode_GND;
1075 #if defined(_DERIVATE)
1076 double vdedc_t_Vtnode_GND;
1079 #if defined(_DERIVATE)
1080 double tf0_Vtnode_GND;
1085 #if defined(_DERIVATE)
1087 double cc_Vtnode_GND;
1091 #if defined(_DERIVATE)
1093 double occ_Vtnode_GND;
1097 #if defined(_DERIVATE)
1099 double dvj_Vtnode_GND;
1102 #if defined(_DYNAMIC)
1104 #if defined(_DERIVATE)
1105 double qjcii_Vbi_ci;
1106 double qjcii_Vtnode_GND;
1110 #if defined(_DERIVATE)
1112 double qjci_Vtnode_GND;
1116 #if defined(_DERIVATE)
1117 double cjcx0_t_ii_Vtnode_GND;
1120 #if defined(_DERIVATE)
1125 double y_Vtnode_GND;
1129 #if defined(_DERIVATE)
1133 double x_Vtnode_GND;
1137 #if defined(_DERIVATE)
1141 double v_j_Vtnode_GND;
1145 #if defined(_DERIVATE)
1149 double xvf2_Vtnode_GND;
1153 #if defined(_DERIVATE)
1157 double xvf_Vtnode_GND;
1160 #if defined(_DYNAMIC)
1162 #if defined(_DERIVATE)
1164 double qjcx_Vtnode_GND;
1169 #if defined(_DERIVATE)
1174 double qj3_Vtnode_GND;
1178 #if defined(_DERIVATE)
1183 double qj2_Vtnode_GND;
1187 #if defined(_DERIVATE)
1192 double qj1_Vtnode_GND;
1196 #if defined(_DERIVATE)
1201 double vdj2_Vtnode_GND;
1205 #if defined(_DERIVATE)
1210 double vdj1_Vtnode_GND;
1216 #if defined(_DERIVATE)
1222 double vj4_Vtnode_GND;
1225 #if defined(_DERIVATE)
1230 double vj2_Vtnode_GND;
1234 #if defined(_DERIVATE)
1239 double vr_Vtnode_GND;
1243 #if defined(_DERIVATE)
1248 double vj1_Vtnode_GND;
1252 #if defined(_DERIVATE)
1257 double ee1_Vtnode_GND;
1261 #if defined(_DERIVATE)
1266 double ex1_Vtnode_GND;
1270 #if defined(_DERIVATE)
1275 double ve_Vtnode_GND;
1279 #if defined(_DERIVATE)
1284 double a_Vtnode_GND;
1287 #if defined(_DERIVATE)
1288 double cr_Vtnode_GND;
1291 #if defined(_DERIVATE)
1292 double cmax_Vtnode_GND;
1295 #if defined(_DERIVATE)
1296 double vf_Vtnode_GND;
1299 #if defined(_DERIVATE)
1300 double vp_Vtnode_GND;
1304 #if defined(_DERIVATE)
1305 double cjcx0_t_i_Vtnode_GND;
1307 #if defined(_DYNAMIC)
1309 #if defined(_DERIVATE)
1310 double qjcxi_Vbi_ci;
1311 double qjcxi_Vtnode_GND;
1316 #if defined(_DERIVATE)
1317 double cjci0_t_ii_Vtnode_GND;
1320 #if defined(_DERIVATE)
1321 double rth_t_Vtnode_GND;
1324 #if defined(_DERIVATE)
1325 double eavl_t_Vtnode_GND;
1328 #if defined(_DERIVATE)
1329 double kavl_t_Vtnode_GND;
1332 #if defined(_DERIVATE)
1333 double qavl_t_Vtnode_GND;
1336 #if defined(_DERIVATE)
1337 double favl_t_Vtnode_GND;
1342 #if defined(_DERIVATE)
1343 double re_t_Vtnode_GND;
1346 #if defined(_DERIVATE)
1347 double rbi0_t_Vtnode_GND;
1350 #if defined(_DERIVATE)
1351 double rcx_t_Vtnode_GND;
1354 #if defined(_DERIVATE)
1355 double rbx_t_Vtnode_GND;
1357 #if defined(_DYNAMIC)
1359 #if defined(_DERIVATE)
1360 double tef0_t_Vtnode_GND;
1363 #if defined(_DYNAMIC)
1366 #if defined(_DYNAMIC)
1369 #if defined(_DYNAMIC)
1371 #if defined(_DERIVATE)
1372 double thcs_t_Vtnode_GND;
1376 #if defined(_DERIVATE)
1377 double t0_t_Vtnode_GND;
1380 #if defined(_DERIVATE)
1381 double vces_t_Vtnode_GND;
1384 #if defined(_DERIVATE)
1385 double vlim_t_Vtnode_GND;
1388 #if defined(_DERIVATE)
1389 double rci0_t_Vtnode_GND;
1391 #if defined(_DYNAMIC)
1393 #if defined(_DERIVATE)
1394 double cjs0_t_Vtnode_GND;
1397 #if defined(_DYNAMIC)
1399 #if defined(_DERIVATE)
1400 double vds_t_Vtnode_GND;
1404 #if defined(_DERIVATE)
1405 double cjcx0_t_Vtnode_GND;
1408 #if defined(_DERIVATE)
1409 double vdcx_t_Vtnode_GND;
1412 #if defined(_DERIVATE)
1413 double cjci0_t_Vtnode_GND;
1416 #if defined(_DERIVATE)
1417 double vdci_t_Vtnode_GND;
1420 #if defined(_DERIVATE)
1421 double aje_t_Vtnode_GND;
1424 #if defined(_DERIVATE)
1425 double cje0_t_Vtnode_GND;
1428 #if defined(_DERIVATE)
1429 double vde_t_Vtnode_GND;
1432 #if defined(_DERIVATE)
1433 double vdjt_Vtnode_GND;
1438 #if defined(_DERIVATE)
1439 double is_t_Vtnode_GND;
1442 #if defined(_DERIVATE)
1443 double vef_t_Vtnode_GND;
1446 #if defined(_DERIVATE)
1447 double ver_t_Vtnode_GND;
1450 #if defined(_DERIVATE)
1451 double iqfe_t_Vtnode_GND;
1454 #if defined(_DERIVATE)
1455 double iqfh_t_Vtnode_GND;
1458 #if defined(_DERIVATE)
1459 double iqr_t_Vtnode_GND;
1462 #if defined(_DERIVATE)
1463 double iqf_t_Vtnode_GND;
1466 #if defined(_DERIVATE)
1467 double expiqf_Vtnode_GND;
1470 #if defined(_DERIVATE)
1471 double mrgt_Vtnode_GND;
1474 #if defined(_DERIVATE)
1475 double iscs_t_Vtnode_GND;
1478 #if defined(_DERIVATE)
1479 double itss_t_Vtnode_GND;
1482 #if defined(_DERIVATE)
1483 double ibcs_t_Vtnode_GND;
1486 #if defined(_DERIVATE)
1487 double ires_t_Vtnode_GND;
1490 #if defined(_DERIVATE)
1491 double ibes_t_Vtnode_GND;
1503 #if defined(_DERIVATE)
1504 double ln_qtt0_Vtnode_GND;
1507 #if defined(_DERIVATE)
1508 double qtt0_Vtnode_GND;
1511 #if defined(_DERIVATE)
1512 double dT_Vtnode_GND;
1515 #if defined(_DERIVATE)
1516 double VT_Vtnode_GND;
1520 #if defined(_DERIVATE)
1521 double Tdev_Vtnode_GND;
1526 #if defined(_DERIVATE)
1527 double Vrth_Vtnode_GND;
1529 #if defined(_DYNAMIC)
1531 #if defined(_DERIVATE)
1536 #if defined(_DERIVATE)
1540 #if defined(_DERIVATE)
1544 #if defined(_DERIVATE)
1548 #if defined(_DERIVATE)
1552 #if defined(_DERIVATE)
1553 double Vciei_Vci_ei;
1556 #if defined(_DERIVATE)
1557 double Vbiei_Vbi_ei;
1560 #if defined(_DERIVATE)
1561 double Vbici_Vbi_ci;
1564 #if defined(_DERIVATE)
1567 #if defined(_DERIVATE)
1568 Vbci_Vb_ci=(HICUMtype);
1570 Vbci=(HICUMtype*
BP(
b,
ci));
1571 #if defined(_DERIVATE)
1572 Vbici_Vbi_ci=(HICUMtype);
1574 Vbici=(HICUMtype*
BP(
bi,
ci));
1575 #if defined(_DERIVATE)
1576 Vbiei_Vbi_ei=(HICUMtype);
1578 Vbiei=(HICUMtype*
BP(
bi,
ei));
1579 #if defined(_DERIVATE)
1580 Vciei_Vci_ei=(HICUMtype);
1582 Vciei=(HICUMtype*
BP(
ci,
ei));
1583 #if defined(_DERIVATE)
1584 Vsci_Vs_ci=(HICUMtype);
1586 Vsci=(HICUMtype*
BP(
s,
ci));
1587 #if defined(_DERIVATE)
1591 #if defined(_DERIVATE)
1595 #if defined(_DERIVATE)
1599 #if defined(_DYNAMIC)
1600 #if defined(_DERIVATE)
1601 Vbe_Vb_e=(HICUMtype);
1603 Vbe=(HICUMtype*
BP(
b,
e));
1605 #if defined(_DERIVATE)
1606 Vrth_Vtnode_GND=1.0;
1611 #if defined(_DERIVATE)
1612 Tdev_Vtnode_GND=Vrth_Vtnode_GND;
1614 Tdev=((Tamb+dt)+Vrth);
1616 ((Tdev<((-100.00)+273.15)))
1618 #if defined(_DERIVATE)
1619 Tdev_Vtnode_GND=0.0;
1621 Tdev=((-100.00)+273.15);
1626 ((Tdev>(326.85+273.15)))
1628 #if defined(_DERIVATE)
1629 Tdev_Vtnode_GND=0.0;
1631 Tdev=(326.85+273.15);
1634 vt0=((1.3806503e-23*Tnom)/1.602176462
e-19);
1635 #if defined(_DERIVATE)
1636 VT_Vtnode_GND=((1.3806503e-23*Tdev_Vtnode_GND)/1.602176462
e-19);
1638 VT=((1.3806503e-23*Tdev)/1.602176462
e-19);
1639 #if defined(_DERIVATE)
1640 dT_Vtnode_GND=Tdev_Vtnode_GND;
1643 #if defined(_DERIVATE)
1644 qtt0_Vtnode_GND=(Tdev_Vtnode_GND/Tnom);
1649 #if defined(_DERIVATE)
1650 double m10_logE(d10_logE0,d00_logE0,qtt0)
1652 #if defined(_DERIVATE)
1653 ln_qtt0_Vtnode_GND=qtt0_Vtnode_GND*d10_logE0;
1657 #if defined(_DYNAMIC)
1660 #if defined(_DYNAMIC)
1663 k2=((f2vg*Tnom)+(k1*d00_logE0));
1670 mg=(3-((1.602176462e-19*f1vg)/1.3806503
e-23));
1671 zetabci=((mg+1)-zetaci);
1674 double m00_exp(d00_exp0,((zetabet*ln_qtt0)+((vge/VT)*(qtt0-1))))
1675 #if defined(_DERIVATE)
1676 #define d10_exp0 d00_exp0
1678 #if defined(_DERIVATE)
1679 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);
1681 ibes_t=(ibes*d00_exp0);
1684 double m00_exp(d00_exp0,(((0.5*mg)*ln_qtt0)+(((0.5*vgbe)/VT)*(qtt0-1))))
1685 #if defined(_DERIVATE)
1686 #define d10_exp0 d00_exp0
1688 #if defined(_DERIVATE)
1689 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);
1691 ires_t=(ires*d00_exp0);
1694 double m00_exp(d00_exp0,((zetabci*ln_qtt0)+((vgc/VT)*(qtt0-1))))
1695 #if defined(_DERIVATE)
1696 #define d10_exp0 d00_exp0
1698 #if defined(_DERIVATE)
1699 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);
1701 ibcs_t=(ibcs*d00_exp0);
1704 double m00_exp(d00_exp0,((zetasct*ln_qtt0)+((vgc/VT)*(qtt0-1))))
1705 #if defined(_DERIVATE)
1706 #define d10_exp0 d00_exp0
1708 #if defined(_DERIVATE)
1709 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);
1711 itss_t=(itss*d00_exp0);
1714 double m00_exp(d00_exp0,((zetasct*ln_qtt0)+((vgs/VT)*(qtt0-1))))
1715 #if defined(_DERIVATE)
1716 #define d10_exp0 d00_exp0
1718 #if defined(_DERIVATE)
1719 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);
1721 iscs_t=(iscs*d00_exp0);
1723 #if defined(_DERIVATE)
1724 mrgt_Vtnode_GND=(-(-Tnom*Tdev_Vtnode_GND/Tdev/Tdev));
1726 mrgt=(1-(Tnom/Tdev));
1728 double m00_exp(d00_exp0,(mrgt*zetaiqf))
1729 #if defined(_DERIVATE)
1730 #define d10_exp0 d00_exp0
1732 #if defined(_DERIVATE)
1733 expiqf_Vtnode_GND=mrgt_Vtnode_GND*zetaiqf*
d10_exp0;
1737 #if defined(_DERIVATE)
1738 iqf_t_Vtnode_GND=(iqf*expiqf_Vtnode_GND);
1741 #if defined(_DERIVATE)
1742 iqr_t_Vtnode_GND=(iqr*expiqf_Vtnode_GND);
1745 #if defined(_DERIVATE)
1746 iqfh_t_Vtnode_GND=(iqfh*expiqf_Vtnode_GND);
1748 iqfh_t=(iqfh*expiqf);
1749 #if defined(_DERIVATE)
1750 iqfe_t_Vtnode_GND=(iqfe*expiqf_Vtnode_GND);
1752 iqfe_t=(iqfe*expiqf);
1754 double m00_exp(d00_exp0,(mrgt*zetaver))
1755 #if defined(_DERIVATE)
1756 #define d10_exp0 d00_exp0
1758 #if defined(_DERIVATE)
1759 ver_t_Vtnode_GND=(ver*mrgt_Vtnode_GND*zetaver*
d10_exp0);
1761 ver_t=(ver*d00_exp0);
1764 double m00_exp(d00_exp0,(mrgt*zetavef))
1765 #if defined(_DERIVATE)
1766 #define d10_exp0 d00_exp0
1768 #if defined(_DERIVATE)
1769 vef_t_Vtnode_GND=(vef*mrgt_Vtnode_GND*zetavef*
d10_exp0);
1771 vef_t=(vef*d00_exp0);
1774 double m00_exp(d00_exp0,((zetact*ln_qtt0)+(((vgb/vt0)-zetaiqf)*mrgt)))
1775 #if defined(_DERIVATE)
1776 #define d10_exp0 d00_exp0
1778 #if defined(_DERIVATE)
1779 is_t_Vtnode_GND=(is*((zetact*ln_qtt0_Vtnode_GND)+(((vgb/vt0)-zetaiqf)*mrgt_Vtnode_GND))*
d10_exp0);
1783 arg=((0.5*vde)/vt0);
1786 double
m00_exp(d00_exp1,(-arg))
1787 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1788 vdj0=((2*vt0)*d00_logE2);
1790 #if defined(_DERIVATE)
1791 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgbe*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1793 vdjt=(((vdj0*qtt0)+(vgbe*(1-qtt0)))-((mg*VT)*ln_qtt0));
1795 double m00_exp(d00_exp0,((-vdjt)/VT))
1796 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1797 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1798 #if defined(_DERIVATE)
1799 #define d10_exp0 d00_exp0
1800 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1801 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1803 #if defined(_DERIVATE)
1804 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)));
1806 vde_t=(vdjt+((2*VT)*d00_logE2));
1809 double m00_logE(d00_logE0,(vde/vde_t))
1810 double
m00_exp(d00_exp1,(ze*d00_logE0))
1811 #if defined(_DERIVATE)
1812 double m10_logE(d10_logE0,d00_logE0,(vde/vde_t))
1813 #define d10_exp1 d00_exp1
1815 #if defined(_DERIVATE)
1816 cje0_t_Vtnode_GND=(cje0*(ze*(-vde*vde_t_Vtnode_GND/vde_t/vde_t)*d10_logE0)*
d10_exp1);
1818 cje0_t=(cje0*d00_exp1);
1820 #if defined(_DERIVATE)
1821 aje_t_Vtnode_GND=((aje*vde_t_Vtnode_GND)/vde);
1823 aje_t=((aje*vde_t)/vde);
1824 arg=((0.5*vdci)/vt0);
1827 double
m00_exp(d00_exp1,(-arg))
1828 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1829 vdj0=((2*vt0)*d00_logE2);
1831 #if defined(_DERIVATE)
1832 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgbc*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1834 vdjt=(((vdj0*qtt0)+(vgbc*(1-qtt0)))-((mg*VT)*ln_qtt0));
1836 double m00_exp(d00_exp0,((-vdjt)/VT))
1837 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1838 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1839 #if defined(_DERIVATE)
1840 #define d10_exp0 d00_exp0
1841 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1842 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1844 #if defined(_DERIVATE)
1845 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)));
1847 vdci_t=(vdjt+((2*VT)*d00_logE2));
1850 double m00_logE(d00_logE0,(vdci/vdci_t))
1851 double
m00_exp(d00_exp1,(zci*d00_logE0))
1852 #if defined(_DERIVATE)
1853 double m10_logE(d10_logE0,d00_logE0,(vdci/vdci_t))
1854 #define d10_exp1 d00_exp1
1856 #if defined(_DERIVATE)
1857 cjci0_t_Vtnode_GND=(cjci0*(zci*(-vdci*vdci_t_Vtnode_GND/vdci_t/vdci_t)*d10_logE0)*
d10_exp1);
1859 cjci0_t=(cjci0*d00_exp1);
1861 arg=((0.5*vdcx)/vt0);
1864 double
m00_exp(d00_exp1,(-arg))
1865 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1866 vdj0=((2*vt0)*d00_logE2);
1868 #if defined(_DERIVATE)
1869 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgbc*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1871 vdjt=(((vdj0*qtt0)+(vgbc*(1-qtt0)))-((mg*VT)*ln_qtt0));
1873 double m00_exp(d00_exp0,((-vdjt)/VT))
1874 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1875 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1876 #if defined(_DERIVATE)
1877 #define d10_exp0 d00_exp0
1878 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1879 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1881 #if defined(_DERIVATE)
1882 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)));
1884 vdcx_t=(vdjt+((2*VT)*d00_logE2));
1887 double m00_logE(d00_logE0,(vdcx/vdcx_t))
1888 double
m00_exp(d00_exp1,(zcx*d00_logE0))
1889 #if defined(_DERIVATE)
1890 double m10_logE(d10_logE0,d00_logE0,(vdcx/vdcx_t))
1891 #define d10_exp1 d00_exp1
1893 #if defined(_DERIVATE)
1894 cjcx0_t_Vtnode_GND=(cjcx0*(zcx*(-vdcx*vdcx_t_Vtnode_GND/vdcx_t/vdcx_t)*d10_logE0)*
d10_exp1);
1896 cjcx0_t=(cjcx0*d00_exp1);
1898 arg=((0.5*vds)/vt0);
1901 double
m00_exp(d00_exp1,(-arg))
1902 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1903 vdj0=((2*vt0)*d00_logE2);
1905 #if defined(_DERIVATE)
1906 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgsc*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1908 vdjt=(((vdj0*qtt0)+(vgsc*(1-qtt0)))-((mg*VT)*ln_qtt0));
1909 #if defined(_DYNAMIC)
1911 double m00_exp(d00_exp0,((-vdjt)/VT))
1912 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1913 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1914 #if defined(_DERIVATE)
1915 #define d10_exp0 d00_exp0
1916 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1917 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1919 #if defined(_DERIVATE)
1920 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)));
1922 vds_t=(vdjt+((2*VT)*d00_logE2));
1925 #if defined(_DYNAMIC)
1927 double m00_logE(d00_logE0,(vds/vds_t))
1928 double
m00_exp(d00_exp1,(zs*d00_logE0))
1929 #if defined(_DERIVATE)
1930 double m10_logE(d10_logE0,d00_logE0,(vds/vds_t))
1931 #define d10_exp1 d00_exp1
1933 #if defined(_DERIVATE)
1934 cjs0_t_Vtnode_GND=(cjs0*(zs*(-vds*vds_t_Vtnode_GND/vds_t/vds_t)*d10_logE0)*
d10_exp1);
1936 cjs0_t=(cjs0*d00_exp1);
1940 double m00_exp(d00_exp0,(zetaci*ln_qtt0))
1941 #if defined(_DERIVATE)
1942 #define d10_exp0 d00_exp0
1944 #if defined(_DERIVATE)
1945 rci0_t_Vtnode_GND=(rci0*(zetaci*ln_qtt0_Vtnode_GND)*d10_exp0);
1947 rci0_t=(rci0*d00_exp0);
1950 double m00_exp(d00_exp0,((zetaci-avs)*ln_qtt0))
1951 #if defined(_DERIVATE)
1952 #define d10_exp0 d00_exp0
1954 #if defined(_DERIVATE)
1955 vlim_t_Vtnode_GND=(vlim*((zetaci-avs)*ln_qtt0_Vtnode_GND)*
d10_exp0);
1957 vlim_t=(vlim*d00_exp0);
1959 #if defined(_DERIVATE)
1960 vces_t_Vtnode_GND=(vces*(alces*dT_Vtnode_GND));
1962 vces_t=(vces*(1+(alces*dT)));
1963 #if defined(_DERIVATE)
1964 t0_t_Vtnode_GND=(t0*((alt0*dT_Vtnode_GND)+(((kt0*dT_Vtnode_GND)*dT)+((kt0*dT)*dT_Vtnode_GND))));
1966 t0_t=(t0*((1+(alt0*dT))+((kt0*dT)*dT)));
1967 #if defined(_DYNAMIC)
1969 double m00_exp(d00_exp0,((zetaci-1)*ln_qtt0))
1970 #if defined(_DERIVATE)
1971 #define d10_exp0 d00_exp0
1973 #if defined(_DERIVATE)
1974 thcs_t_Vtnode_GND=(thcs*((zetaci-1)*ln_qtt0_Vtnode_GND)*
d10_exp0);
1976 thcs_t=(thcs*d00_exp0);
1979 #if defined(_DYNAMIC)
1980 zetatef=((zetabet-zetact)-0.5);
1982 #if defined(_DYNAMIC)
1985 #if defined(_DYNAMIC)
1987 double m00_exp(d00_exp0,((zetatef*ln_qtt0)-((dvg/VT)*(qtt0-1))))
1988 #if defined(_DERIVATE)
1989 #define d10_exp0 d00_exp0
1991 #if defined(_DERIVATE)
1992 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);
1994 tef0_t=(tef0*d00_exp0);
1998 double m00_exp(d00_exp0,(zetarbx*ln_qtt0))
1999 #if defined(_DERIVATE)
2000 #define d10_exp0 d00_exp0
2002 #if defined(_DERIVATE)
2003 rbx_t_Vtnode_GND=(rbx*(zetarbx*ln_qtt0_Vtnode_GND)*d10_exp0);
2005 rbx_t=(rbx*d00_exp0);
2008 double m00_exp(d00_exp0,(zetarcx*ln_qtt0))
2009 #if defined(_DERIVATE)
2010 #define d10_exp0 d00_exp0
2012 #if defined(_DERIVATE)
2013 rcx_t_Vtnode_GND=(rcx*(zetarcx*ln_qtt0_Vtnode_GND)*d10_exp0);
2015 rcx_t=(rcx*d00_exp0);
2018 double m00_exp(d00_exp0,(zetarbi*ln_qtt0))
2019 #if defined(_DERIVATE)
2020 #define d10_exp0 d00_exp0
2022 #if defined(_DERIVATE)
2023 rbi0_t_Vtnode_GND=(rbi0*(zetarbi*ln_qtt0_Vtnode_GND)*d10_exp0);
2025 rbi0_t=(rbi0*d00_exp0);
2028 double m00_exp(d00_exp0,(zetare*ln_qtt0))
2029 #if defined(_DERIVATE)
2030 #define d10_exp0 d00_exp0
2032 #if defined(_DERIVATE)
2033 re_t_Vtnode_GND=(re*(zetare*ln_qtt0_Vtnode_GND)*d10_exp0);
2038 qavl=(eavl*(cjci0*vdci));
2040 double m00_exp(d00_exp0,(alkav*dT))
2041 #if defined(_DERIVATE)
2042 #define d10_exp0 d00_exp0
2044 #if defined(_DERIVATE)
2045 favl_t_Vtnode_GND=(favl*(alkav*dT_Vtnode_GND)*d10_exp0);
2047 favl_t=(favl*d00_exp0);
2050 double m00_exp(d00_exp0,(aleav*dT))
2051 #if defined(_DERIVATE)
2052 #define d10_exp0 d00_exp0
2054 #if defined(_DERIVATE)
2055 qavl_t_Vtnode_GND=(qavl*(aleav*dT_Vtnode_GND)*d10_exp0);
2057 qavl_t=(qavl*d00_exp0);
2059 #if defined(_DERIVATE)
2060 kavl_t_Vtnode_GND=((favl_t_Vtnode_GND*vdci_t)+(favl_t*vdci_t_Vtnode_GND));
2062 kavl_t=(favl_t*vdci_t);
2063 #if defined(_DERIVATE)
2064 eavl_t_Vtnode_GND=((qavl_t_Vtnode_GND*(cjci0_t*vdci_t)-qavl_t*((cjci0_t_Vtnode_GND*vdci_t)+(cjci0_t*vdci_t_Vtnode_GND)))/(cjci0_t*vdci_t)/(cjci0_t*vdci_t));
2066 eavl_t=(qavl_t/(cjci0_t*vdci_t));
2071 double m00_logE(d00_logE0,(Tdev/Tnom))
2072 double
m00_exp(d00_exp1,(zetarth*d00_logE0))
2073 #if defined(_DERIVATE)
2074 double m10_logE(d10_logE0,d00_logE0,(Tdev/Tnom))
2075 #define d10_exp1 d00_exp1
2077 #if defined(_DERIVATE)
2078 rth_t_Vtnode_GND=(rth*(zetarth*(Tdev_Vtnode_GND/Tnom)*d10_logE0)*
d10_exp1);
2080 rth_t=(rth*d00_exp1);
2085 #if defined(_DERIVATE)
2086 rth_t_Vtnode_GND=0.0;
2093 #if defined(_DERIVATE)
2094 cjci0_t_ii_Vtnode_GND=cjci0_t_Vtnode_GND*fbc;
2096 cjci0_t_ii=(cjci0_t*fbc);
2097 #if defined(_DYNAMIC)
2098 #if defined(_DERIVATE)
2100 qjcxi_Vtnode_GND=0.0;
2105 #if defined(_DERIVATE)
2106 cjcx0_t_i_Vtnode_GND=cjci0_t_Vtnode_GND*(1-fbc);
2108 cjcx0_t_i=(cjci0_t*(1-fbc));
2116 #if defined(_DERIVATE)
2117 vp_Vtnode_GND=(-vdci_t_Vtnode_GND);
2122 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
2123 #if defined(_DERIVATE)
2124 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
2126 vf=(vdci_t*(1.0-d00_exp1));
2128 #if defined(_DERIVATE)
2129 cmax_Vtnode_GND=(2.4*cjcx0_t_i_Vtnode_GND);
2131 cmax=(2.4*cjcx0_t_i);
2133 double m00_logE(d00_logE0,(vdci_t/vptci))
2134 double
m00_exp(d00_exp1,((zci-zr)*d00_logE0))
2135 #if defined(_DERIVATE)
2136 double m10_logE(d10_logE0,d00_logE0,(vdci_t/vptci))
2137 #define d10_exp1 d00_exp1
2139 #if defined(_DERIVATE)
2140 cr_Vtnode_GND=((cjcx0_t_i_Vtnode_GND*d00_exp1)+(cjcx0_t_i*((zci-zr)*(vdci_t_Vtnode_GND/vptci)*d10_logE0)*
d10_exp1));
2142 cr=(cjcx0_t_i*d00_exp1);
2144 #if defined(_DERIVATE)
2149 a_Vtnode_GND=VT_Vtnode_GND;
2152 #if defined(_DERIVATE)
2157 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbci)*a_Vtnode_GND)/a/a);
2158 ve_Vb_ci=(((-Vbci_Vb_ci)*a-(vf-Vbci)*a_Vb_ci)/a/a);
2166 #if defined(_DERIVATE)
2167 #define d10_exp0 d00_exp0
2169 #if defined(_DERIVATE)
2174 ex1_Vtnode_GND=ve_Vtnode_GND*
d10_exp0;
2175 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
2179 #if defined(_DERIVATE)
2184 ee1_Vtnode_GND=ex1_Vtnode_GND;
2185 ee1_Vb_ci=ex1_Vb_ci;
2190 #if defined(_DERIVATE)
2191 double m10_logE(d10_logE0,d00_logE0,ee1)
2193 #if defined(_DERIVATE)
2198 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2199 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
2201 vj1=(vf-(a*d00_logE0));
2206 #if defined(_DERIVATE)
2212 vj1_Vb_ci=Vbci_Vb_ci;
2216 #if defined(_DERIVATE)
2221 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
2223 a=((0.1*vp)+(4.0*VT));
2224 #if defined(_DERIVATE)
2229 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
2230 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
2238 #if defined(_DERIVATE)
2239 #define d10_exp0 d00_exp0
2241 #if defined(_DERIVATE)
2246 ex1_Vtnode_GND=vr_Vtnode_GND*
d10_exp0;
2247 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
2251 #if defined(_DERIVATE)
2256 ee1_Vtnode_GND=ex1_Vtnode_GND;
2257 ee1_Vb_ci=ex1_Vb_ci;
2262 #if defined(_DERIVATE)
2263 double m10_logE(d10_logE0,d00_logE0,ee1)
2265 #if defined(_DERIVATE)
2270 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2271 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
2273 vj2=((-vp)+(a*d00_logE0));
2278 #if defined(_DERIVATE)
2283 vj2_Vtnode_GND=vj1_Vtnode_GND;
2284 vj2_Vb_ci=vj1_Vb_ci;
2288 #if defined(_DERIVATE)
2293 vj4_Vb_ci=(Vbci_Vb_ci-vj1_Vb_ci);
2294 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
2300 double m00_logE(d00_logE0,(1.0-(vj1/vdci_t)))
2301 #if defined(_DERIVATE)
2302 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdci_t)))
2304 #if defined(_DERIVATE)
2309 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdci_t-vj1*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
2310 vdj1_Vb_ci=(-(vj1_Vb_ci/vdci_t))*d10_logE0;
2315 double m00_logE(d00_logE0,(1.0-(vj2/vdci_t)))
2316 #if defined(_DERIVATE)
2317 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdci_t)))
2319 #if defined(_DERIVATE)
2324 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdci_t-vj2*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
2325 vdj2_Vb_ci=(-(vj2_Vb_ci/vdci_t))*d10_logE0;
2330 double m00_exp(d00_exp0,(vdj2*ez))
2331 #if defined(_DERIVATE)
2332 #define d10_exp0 d00_exp0
2334 #if defined(_DERIVATE)
2339 qj1_Vtnode_GND=(((cjcx0_t_i_Vtnode_GND*(1.0-d00_exp0))+(cjcx0_t_i*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
2340 qj1_Vb_ci=((cjcx0_t_i*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
2342 qj1=((cjcx0_t_i*(1.0-d00_exp0))/ez);
2345 double m00_exp(d00_exp0,(vdj1*ezr))
2346 #if defined(_DERIVATE)
2347 #define d10_exp0 d00_exp0
2349 #if defined(_DERIVATE)
2354 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2355 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
2357 qj2=((cr*(1.0-d00_exp0))/ezr);
2360 double m00_exp(d00_exp0,(vdj2*ezr))
2361 #if defined(_DERIVATE)
2362 #define d10_exp0 d00_exp0
2364 #if defined(_DERIVATE)
2369 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2370 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
2372 qj3=((cr*(1.0-d00_exp0))/ezr);
2374 #if defined(_DYNAMIC)
2375 #if defined(_DERIVATE)
2377 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)));
2378 qjcx_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdci_t+(cmax*vj4_Vb_ci));
2380 qjcx=((((qj1+qj2)-qj3)*vdci_t)+(cmax*vj4));
2385 #if defined(_DYNAMIC)
2386 #if defined(_DERIVATE)
2388 qjcx_Vtnode_GND=0.0;
2402 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
2403 #if defined(_DERIVATE)
2404 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
2406 vf=(vdci_t*(1.0-d00_exp1));
2408 #if defined(_DERIVATE)
2412 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbci)*VT_Vtnode_GND)/VT/VT);
2413 xvf_Vb_ci=((-Vbci_Vb_ci)/VT);
2417 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
2418 #if defined(_DERIVATE)
2419 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
2421 #if defined(_DERIVATE)
2425 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
2426 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
2430 #if defined(_DERIVATE)
2434 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
2435 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
2437 v_j=(vf-((VT*(xvf+xvf2))*0.5));
2438 #if defined(_DERIVATE)
2447 double m00_logE(d00_logE0,(1.0-(v_j/vdci_t)))
2448 double
m00_exp(d00_exp1,(x*d00_logE0))
2449 #if defined(_DERIVATE)
2450 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdci_t)))
2451 #define d10_exp1 d00_exp1
2453 #if defined(_DERIVATE)
2458 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);
2459 y_Vb_ci=(-((x_Vb_ci*d00_logE0)+(x*(-(v_j_Vb_ci/vdci_t))*d10_logE0))*d10_exp1);
2463 #if defined(_DYNAMIC)
2464 #if defined(_DERIVATE)
2466 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))));
2467 qjcx_Vb_ci=(((((cjcx0_t_i*vdci_t)*y_Vb_ci)*x-((cjcx0_t_i*vdci_t)*y)*x_Vb_ci)/x/x)+((2.4*cjcx0_t_i)*(Vbci_Vb_ci-v_j_Vb_ci)));
2469 qjcx=((((cjcx0_t_i*vdci_t)*y)/
x)+((2.4*cjcx0_t_i)*(Vbci-v_j)));
2474 #if defined(_DYNAMIC)
2475 #if defined(_DERIVATE)
2477 qjcx_Vtnode_GND=0.0;
2487 #if defined(_DERIVATE)
2488 cjci0_t_ii_Vtnode_GND=cjci0_t_Vtnode_GND;
2491 #if defined(_DERIVATE)
2492 cjcx0_t_ii_Vtnode_GND=cjcx0_t_Vtnode_GND*fbc;
2494 cjcx0_t_ii=(cjcx0_t*fbc);
2502 #if defined(_DERIVATE)
2503 vp_Vtnode_GND=(-vdcx_t_Vtnode_GND);
2508 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
2509 #if defined(_DERIVATE)
2510 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
2512 vf=(vdcx_t*(1.0-d00_exp1));
2514 #if defined(_DERIVATE)
2515 cmax_Vtnode_GND=(2.4*cjcx0_t_ii_Vtnode_GND);
2517 cmax=(2.4*cjcx0_t_ii);
2519 double m00_logE(d00_logE0,(vdcx_t/vptcx))
2520 double
m00_exp(d00_exp1,((zcx-zr)*d00_logE0))
2521 #if defined(_DERIVATE)
2522 double m10_logE(d10_logE0,d00_logE0,(vdcx_t/vptcx))
2523 #define d10_exp1 d00_exp1
2525 #if defined(_DERIVATE)
2526 cr_Vtnode_GND=((cjcx0_t_ii_Vtnode_GND*d00_exp1)+(cjcx0_t_ii*((zcx-zr)*(vdcx_t_Vtnode_GND/vptcx)*d10_logE0)*
d10_exp1));
2528 cr=(cjcx0_t_ii*d00_exp1);
2530 #if defined(_DERIVATE)
2535 a_Vtnode_GND=VT_Vtnode_GND;
2538 #if defined(_DERIVATE)
2542 ve_Vbi_ci=(((-Vbici_Vbi_ci)*a-(vf-Vbici)*a_Vbi_ci)/a/a);
2543 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbici)*a_Vtnode_GND)/a/a);
2552 #if defined(_DERIVATE)
2553 #define d10_exp0 d00_exp0
2555 #if defined(_DERIVATE)
2560 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
2561 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
2565 #if defined(_DERIVATE)
2569 ee1_Vbi_ci=ex1_Vbi_ci;
2570 ee1_Vtnode_GND=ex1_Vtnode_GND;
2571 ee1_Vb_ci=ex1_Vb_ci;
2576 #if defined(_DERIVATE)
2577 double m10_logE(d10_logE0,d00_logE0,ee1)
2579 #if defined(_DERIVATE)
2583 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
2584 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2585 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
2587 vj1=(vf-(a*d00_logE0));
2592 #if defined(_DERIVATE)
2596 vj1_Vbi_ci=Vbici_Vbi_ci;
2602 #if defined(_DERIVATE)
2607 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
2609 a=((0.1*vp)+(4.0*VT));
2610 #if defined(_DERIVATE)
2614 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
2615 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
2616 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
2624 #if defined(_DERIVATE)
2625 #define d10_exp0 d00_exp0
2627 #if defined(_DERIVATE)
2632 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
2633 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
2637 #if defined(_DERIVATE)
2641 ee1_Vbi_ci=ex1_Vbi_ci;
2642 ee1_Vtnode_GND=ex1_Vtnode_GND;
2643 ee1_Vb_ci=ex1_Vb_ci;
2648 #if defined(_DERIVATE)
2649 double m10_logE(d10_logE0,d00_logE0,ee1)
2651 #if defined(_DERIVATE)
2655 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
2656 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2657 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
2659 vj2=((-vp)+(a*d00_logE0));
2664 #if defined(_DERIVATE)
2668 vj2_Vbi_ci=vj1_Vbi_ci;
2669 vj2_Vtnode_GND=vj1_Vtnode_GND;
2670 vj2_Vb_ci=vj1_Vb_ci;
2674 #if defined(_DERIVATE)
2678 vj4_Vbi_ci=(Vbici_Vbi_ci-vj1_Vbi_ci);
2679 vj4_Vb_ci=(-vj1_Vb_ci);
2680 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
2686 double m00_logE(d00_logE0,(1.0-(vj1/vdcx_t)))
2687 #if defined(_DERIVATE)
2688 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdcx_t)))
2690 #if defined(_DERIVATE)
2694 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vdcx_t))*d10_logE0;
2695 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdcx_t-vj1*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
2696 vdj1_Vb_ci=(-(vj1_Vb_ci/vdcx_t))*d10_logE0;
2701 double m00_logE(d00_logE0,(1.0-(vj2/vdcx_t)))
2702 #if defined(_DERIVATE)
2703 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdcx_t)))
2705 #if defined(_DERIVATE)
2709 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vdcx_t))*d10_logE0;
2710 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdcx_t-vj2*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
2711 vdj2_Vb_ci=(-(vj2_Vb_ci/vdcx_t))*d10_logE0;
2716 double m00_exp(d00_exp0,(vdj2*ez))
2717 #if defined(_DERIVATE)
2718 #define d10_exp0 d00_exp0
2720 #if defined(_DERIVATE)
2724 qj1_Vbi_ci=((cjcx0_t_ii*(-vdj2_Vbi_ci*ez*
d10_exp0))/ez);
2725 qj1_Vtnode_GND=(((cjcx0_t_ii_Vtnode_GND*(1.0-d00_exp0))+(cjcx0_t_ii*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
2726 qj1_Vb_ci=((cjcx0_t_ii*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
2728 qj1=((cjcx0_t_ii*(1.0-d00_exp0))/ez);
2731 double m00_exp(d00_exp0,(vdj1*ezr))
2732 #if defined(_DERIVATE)
2733 #define d10_exp0 d00_exp0
2735 #if defined(_DERIVATE)
2739 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*
d10_exp0))/ezr);
2740 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2741 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
2743 qj2=((cr*(1.0-d00_exp0))/ezr);
2746 double m00_exp(d00_exp0,(vdj2*ezr))
2747 #if defined(_DERIVATE)
2748 #define d10_exp0 d00_exp0
2750 #if defined(_DERIVATE)
2754 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*
d10_exp0))/ezr);
2755 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2756 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
2758 qj3=((cr*(1.0-d00_exp0))/ezr);
2760 #if defined(_DYNAMIC)
2761 #if defined(_DERIVATE)
2762 qjcxi_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vdcx_t+(cmax*vj4_Vbi_ci));
2763 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)));
2764 qjcxi_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdcx_t+(cmax*vj4_Vb_ci));
2766 qjcxi=((((qj1+qj2)-qj3)*vdcx_t)+(cmax*vj4));
2771 #if defined(_DYNAMIC)
2772 #if defined(_DERIVATE)
2774 qjcxi_Vtnode_GND=0.0;
2788 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
2789 #if defined(_DERIVATE)
2790 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
2792 vf=(vdcx_t*(1.0-d00_exp1));
2794 #if defined(_DERIVATE)
2797 xvf_Vbi_ci=((-Vbici_Vbi_ci)/VT);
2798 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbici)*VT_Vtnode_GND)/VT/VT);
2801 xvf=((vf-Vbici)/VT);
2803 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
2804 #if defined(_DERIVATE)
2805 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
2807 #if defined(_DERIVATE)
2810 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
2811 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
2812 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
2816 #if defined(_DERIVATE)
2819 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
2820 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
2821 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
2823 v_j=(vf-((VT*(xvf+xvf2))*0.5));
2824 #if defined(_DERIVATE)
2833 double m00_logE(d00_logE0,(1.0-(v_j/vdcx_t)))
2834 double
m00_exp(d00_exp1,(x*d00_logE0))
2835 #if defined(_DERIVATE)
2836 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdcx_t)))
2837 #define d10_exp1 d00_exp1
2839 #if defined(_DERIVATE)
2843 y_Vbi_ci=(-((x_Vbi_ci*d00_logE0)+(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0))*
d10_exp1);
2844 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);
2845 y_Vb_ci=(-((x_Vb_ci*d00_logE0)+(x*(-(v_j_Vb_ci/vdcx_t))*d10_logE0))*d10_exp1);
2849 #if defined(_DYNAMIC)
2850 #if defined(_DERIVATE)
2851 qjcxi_Vbi_ci=(((((cjcx0_t_ii*vdcx_t)*y_Vbi_ci)*x-((cjcx0_t_ii*vdcx_t)*y)*x_Vbi_ci)/x/x)+((2.4*cjcx0_t_ii)*(Vbici_Vbi_ci-v_j_Vbi_ci)));
2852 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))));
2853 qjcxi_Vb_ci=(((((cjcx0_t_ii*vdcx_t)*y_Vb_ci)*x-((cjcx0_t_ii*vdcx_t)*y)*x_Vb_ci)/x/x)+((2.4*cjcx0_t_ii)*(-v_j_Vb_ci)));
2855 qjcxi=((((cjcx0_t_ii*vdcx_t)*y)/
x)+((2.4*cjcx0_t_ii)*(Vbici-v_j)));
2860 #if defined(_DYNAMIC)
2861 #if defined(_DERIVATE)
2863 qjcxi_Vtnode_GND=0.0;
2870 #if defined(_DERIVATE)
2871 cjcx0_t_i_Vtnode_GND=cjcx0_t_Vtnode_GND*(1-fbc);
2873 cjcx0_t_i=(cjcx0_t*(1-fbc));
2881 #if defined(_DERIVATE)
2882 vp_Vtnode_GND=(-vdcx_t_Vtnode_GND);
2887 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
2888 #if defined(_DERIVATE)
2889 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
2891 vf=(vdcx_t*(1.0-d00_exp1));
2893 #if defined(_DERIVATE)
2894 cmax_Vtnode_GND=(2.4*cjcx0_t_i_Vtnode_GND);
2896 cmax=(2.4*cjcx0_t_i);
2898 double m00_logE(d00_logE0,(vdcx_t/vptcx))
2899 double
m00_exp(d00_exp1,((zcx-zr)*d00_logE0))
2900 #if defined(_DERIVATE)
2901 double m10_logE(d10_logE0,d00_logE0,(vdcx_t/vptcx))
2902 #define d10_exp1 d00_exp1
2904 #if defined(_DERIVATE)
2905 cr_Vtnode_GND=((cjcx0_t_i_Vtnode_GND*d00_exp1)+(cjcx0_t_i*((zcx-zr)*(vdcx_t_Vtnode_GND/vptcx)*d10_logE0)*
d10_exp1));
2907 cr=(cjcx0_t_i*d00_exp1);
2909 #if defined(_DERIVATE)
2914 a_Vtnode_GND=VT_Vtnode_GND;
2917 #if defined(_DERIVATE)
2922 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbci)*a_Vtnode_GND)/a/a);
2923 ve_Vb_ci=(((-Vbci_Vb_ci)*a-(vf-Vbci)*a_Vb_ci)/a/a);
2931 #if defined(_DERIVATE)
2932 #define d10_exp0 d00_exp0
2934 #if defined(_DERIVATE)
2939 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
2940 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
2944 #if defined(_DERIVATE)
2948 ee1_Vbi_ci=ex1_Vbi_ci;
2949 ee1_Vtnode_GND=ex1_Vtnode_GND;
2950 ee1_Vb_ci=ex1_Vb_ci;
2955 #if defined(_DERIVATE)
2956 double m10_logE(d10_logE0,d00_logE0,ee1)
2958 #if defined(_DERIVATE)
2962 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
2963 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2964 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
2966 vj1=(vf-(a*d00_logE0));
2971 #if defined(_DERIVATE)
2977 vj1_Vb_ci=Vbci_Vb_ci;
2981 #if defined(_DERIVATE)
2986 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
2988 a=((0.1*vp)+(4.0*VT));
2989 #if defined(_DERIVATE)
2993 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
2994 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
2995 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
3003 #if defined(_DERIVATE)
3004 #define d10_exp0 d00_exp0
3006 #if defined(_DERIVATE)
3011 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
3012 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
3016 #if defined(_DERIVATE)
3020 ee1_Vbi_ci=ex1_Vbi_ci;
3021 ee1_Vtnode_GND=ex1_Vtnode_GND;
3022 ee1_Vb_ci=ex1_Vb_ci;
3027 #if defined(_DERIVATE)
3028 double m10_logE(d10_logE0,d00_logE0,ee1)
3030 #if defined(_DERIVATE)
3034 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
3035 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
3036 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
3038 vj2=((-vp)+(a*d00_logE0));
3043 #if defined(_DERIVATE)
3047 vj2_Vbi_ci=vj1_Vbi_ci;
3048 vj2_Vtnode_GND=vj1_Vtnode_GND;
3049 vj2_Vb_ci=vj1_Vb_ci;
3053 #if defined(_DERIVATE)
3057 vj4_Vbi_ci=(-vj1_Vbi_ci);
3058 vj4_Vb_ci=(Vbci_Vb_ci-vj1_Vb_ci);
3059 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
3065 double m00_logE(d00_logE0,(1.0-(vj1/vdcx_t)))
3066 #if defined(_DERIVATE)
3067 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdcx_t)))
3069 #if defined(_DERIVATE)
3073 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vdcx_t))*d10_logE0;
3074 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdcx_t-vj1*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
3075 vdj1_Vb_ci=(-(vj1_Vb_ci/vdcx_t))*d10_logE0;
3080 double m00_logE(d00_logE0,(1.0-(vj2/vdcx_t)))
3081 #if defined(_DERIVATE)
3082 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdcx_t)))
3084 #if defined(_DERIVATE)
3088 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vdcx_t))*d10_logE0;
3089 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdcx_t-vj2*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
3090 vdj2_Vb_ci=(-(vj2_Vb_ci/vdcx_t))*d10_logE0;
3095 double m00_exp(d00_exp0,(vdj2*ez))
3096 #if defined(_DERIVATE)
3097 #define d10_exp0 d00_exp0
3099 #if defined(_DERIVATE)
3103 qj1_Vbi_ci=((cjcx0_t_i*(-vdj2_Vbi_ci*ez*
d10_exp0))/ez);
3104 qj1_Vtnode_GND=(((cjcx0_t_i_Vtnode_GND*(1.0-d00_exp0))+(cjcx0_t_i*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
3105 qj1_Vb_ci=((cjcx0_t_i*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
3107 qj1=((cjcx0_t_i*(1.0-d00_exp0))/ez);
3110 double m00_exp(d00_exp0,(vdj1*ezr))
3111 #if defined(_DERIVATE)
3112 #define d10_exp0 d00_exp0
3114 #if defined(_DERIVATE)
3118 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*
d10_exp0))/ezr);
3119 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3120 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
3122 qj2=((cr*(1.0-d00_exp0))/ezr);
3125 double m00_exp(d00_exp0,(vdj2*ezr))
3126 #if defined(_DERIVATE)
3127 #define d10_exp0 d00_exp0
3129 #if defined(_DERIVATE)
3133 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*
d10_exp0))/ezr);
3134 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3135 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
3137 qj3=((cr*(1.0-d00_exp0))/ezr);
3139 #if defined(_DYNAMIC)
3140 #if defined(_DERIVATE)
3141 qjcx_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vdcx_t+(cmax*vj4_Vbi_ci));
3142 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)));
3143 qjcx_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdcx_t+(cmax*vj4_Vb_ci));
3145 qjcx=((((qj1+qj2)-qj3)*vdcx_t)+(cmax*vj4));
3150 #if defined(_DYNAMIC)
3151 #if defined(_DERIVATE)
3153 qjcx_Vtnode_GND=0.0;
3167 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
3168 #if defined(_DERIVATE)
3169 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
3171 vf=(vdcx_t*(1.0-d00_exp1));
3173 #if defined(_DERIVATE)
3177 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbci)*VT_Vtnode_GND)/VT/VT);
3178 xvf_Vb_ci=((-Vbci_Vb_ci)/VT);
3182 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3183 #if defined(_DERIVATE)
3184 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3186 #if defined(_DERIVATE)
3189 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
3190 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
3191 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
3195 #if defined(_DERIVATE)
3198 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
3199 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
3200 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
3202 v_j=(vf-((VT*(xvf+xvf2))*0.5));
3203 #if defined(_DERIVATE)
3212 double m00_logE(d00_logE0,(1.0-(v_j/vdcx_t)))
3213 double
m00_exp(d00_exp1,(x*d00_logE0))
3214 #if defined(_DERIVATE)
3215 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdcx_t)))
3216 #define d10_exp1 d00_exp1
3218 #if defined(_DERIVATE)
3222 y_Vbi_ci=(-((x_Vbi_ci*d00_logE0)+(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0))*
d10_exp1);
3223 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);
3224 y_Vb_ci=(-((x_Vb_ci*d00_logE0)+(x*(-(v_j_Vb_ci/vdcx_t))*d10_logE0))*d10_exp1);
3228 #if defined(_DYNAMIC)
3229 #if defined(_DERIVATE)
3230 qjcx_Vbi_ci=(((((cjcx0_t_i*vdcx_t)*y_Vbi_ci)*x-((cjcx0_t_i*vdcx_t)*y)*x_Vbi_ci)/x/x)+((2.4*cjcx0_t_i)*(-v_j_Vbi_ci)));
3231 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))));
3232 qjcx_Vb_ci=(((((cjcx0_t_i*vdcx_t)*y_Vb_ci)*x-((cjcx0_t_i*vdcx_t)*y)*x_Vb_ci)/x/x)+((2.4*cjcx0_t_i)*(Vbci_Vb_ci-v_j_Vb_ci)));
3234 qjcx=((((cjcx0_t_i*vdcx_t)*y)/
x)+((2.4*cjcx0_t_i)*(Vbci-v_j)));
3239 #if defined(_DYNAMIC)
3240 #if defined(_DERIVATE)
3242 qjcx_Vtnode_GND=0.0;
3257 #if defined(_DERIVATE)
3258 vp_Vtnode_GND=(-vdci_t_Vtnode_GND);
3263 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
3264 #if defined(_DERIVATE)
3265 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
3267 vf=(vdci_t*(1.0-d00_exp1));
3269 #if defined(_DERIVATE)
3270 cmax_Vtnode_GND=(2.4*cjci0_t_ii_Vtnode_GND);
3272 cmax=(2.4*cjci0_t_ii);
3274 double m00_logE(d00_logE0,(vdci_t/vptci))
3275 double
m00_exp(d00_exp1,((zci-zr)*d00_logE0))
3276 #if defined(_DERIVATE)
3277 double m10_logE(d10_logE0,d00_logE0,(vdci_t/vptci))
3278 #define d10_exp1 d00_exp1
3280 #if defined(_DERIVATE)
3281 cr_Vtnode_GND=((cjci0_t_ii_Vtnode_GND*d00_exp1)+(cjci0_t_ii*((zci-zr)*(vdci_t_Vtnode_GND/vptci)*d10_logE0)*
d10_exp1));
3283 cr=(cjci0_t_ii*d00_exp1);
3285 #if defined(_DERIVATE)
3290 a_Vtnode_GND=VT_Vtnode_GND;
3293 #if defined(_DERIVATE)
3297 ve_Vbi_ci=(((-Vbici_Vbi_ci)*a-(vf-Vbici)*a_Vbi_ci)/a/a);
3298 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbici)*a_Vtnode_GND)/a/a);
3307 #if defined(_DERIVATE)
3308 #define d10_exp0 d00_exp0
3310 #if defined(_DERIVATE)
3315 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
3316 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
3320 #if defined(_DERIVATE)
3324 ee1_Vbi_ci=ex1_Vbi_ci;
3325 ee1_Vtnode_GND=ex1_Vtnode_GND;
3326 ee1_Vb_ci=ex1_Vb_ci;
3331 #if defined(_DERIVATE)
3332 double m10_logE(d10_logE0,d00_logE0,ee1)
3334 #if defined(_DERIVATE)
3338 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
3339 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
3340 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
3342 vj1=(vf-(a*d00_logE0));
3347 #if defined(_DERIVATE)
3351 vj1_Vbi_ci=Vbici_Vbi_ci;
3357 #if defined(_DERIVATE)
3362 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
3364 a=((0.1*vp)+(4.0*VT));
3365 #if defined(_DERIVATE)
3369 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
3370 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
3371 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
3379 #if defined(_DERIVATE)
3380 #define d10_exp0 d00_exp0
3382 #if defined(_DERIVATE)
3387 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
3388 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
3392 #if defined(_DERIVATE)
3396 ee1_Vbi_ci=ex1_Vbi_ci;
3397 ee1_Vtnode_GND=ex1_Vtnode_GND;
3398 ee1_Vb_ci=ex1_Vb_ci;
3403 #if defined(_DERIVATE)
3404 double m10_logE(d10_logE0,d00_logE0,ee1)
3406 #if defined(_DERIVATE)
3410 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
3411 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
3412 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
3414 vj2=((-vp)+(a*d00_logE0));
3419 #if defined(_DERIVATE)
3423 vj2_Vbi_ci=vj1_Vbi_ci;
3424 vj2_Vtnode_GND=vj1_Vtnode_GND;
3425 vj2_Vb_ci=vj1_Vb_ci;
3429 #if defined(_DERIVATE)
3433 vj4_Vbi_ci=(Vbici_Vbi_ci-vj1_Vbi_ci);
3434 vj4_Vb_ci=(-vj1_Vb_ci);
3435 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
3441 double m00_logE(d00_logE0,(1.0-(vj1/vdci_t)))
3442 #if defined(_DERIVATE)
3443 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdci_t)))
3445 #if defined(_DERIVATE)
3449 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vdci_t))*d10_logE0;
3450 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdci_t-vj1*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
3451 vdj1_Vb_ci=(-(vj1_Vb_ci/vdci_t))*d10_logE0;
3456 double m00_logE(d00_logE0,(1.0-(vj2/vdci_t)))
3457 #if defined(_DERIVATE)
3458 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdci_t)))
3460 #if defined(_DERIVATE)
3464 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vdci_t))*d10_logE0;
3465 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdci_t-vj2*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
3466 vdj2_Vb_ci=(-(vj2_Vb_ci/vdci_t))*d10_logE0;
3471 double m00_exp(d00_exp0,(vdj2*ez))
3472 #if defined(_DERIVATE)
3473 #define d10_exp0 d00_exp0
3475 #if defined(_DERIVATE)
3479 qj1_Vbi_ci=((cjci0_t_ii*(-vdj2_Vbi_ci*ez*
d10_exp0))/ez);
3480 qj1_Vtnode_GND=(((cjci0_t_ii_Vtnode_GND*(1.0-d00_exp0))+(cjci0_t_ii*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
3481 qj1_Vb_ci=((cjci0_t_ii*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
3483 qj1=((cjci0_t_ii*(1.0-d00_exp0))/ez);
3486 double m00_exp(d00_exp0,(vdj1*ezr))
3487 #if defined(_DERIVATE)
3488 #define d10_exp0 d00_exp0
3490 #if defined(_DERIVATE)
3494 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*
d10_exp0))/ezr);
3495 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3496 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
3498 qj2=((cr*(1.0-d00_exp0))/ezr);
3501 double m00_exp(d00_exp0,(vdj2*ezr))
3502 #if defined(_DERIVATE)
3503 #define d10_exp0 d00_exp0
3505 #if defined(_DERIVATE)
3509 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*
d10_exp0))/ezr);
3510 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3511 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
3513 qj3=((cr*(1.0-d00_exp0))/ezr);
3515 #if defined(_DERIVATE)
3516 qjci_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vdci_t+(cmax*vj4_Vbi_ci));
3517 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)));
3518 qjci_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdci_t+(cmax*vj4_Vb_ci));
3520 qjci=((((qj1+qj2)-qj3)*vdci_t)+(cmax*vj4));
3524 #if defined(_DERIVATE)
3526 qjci_Vtnode_GND=0.0;
3539 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
3540 #if defined(_DERIVATE)
3541 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
3543 vf=(vdci_t*(1.0-d00_exp1));
3545 #if defined(_DERIVATE)
3548 xvf_Vbi_ci=((-Vbici_Vbi_ci)/VT);
3549 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbici)*VT_Vtnode_GND)/VT/VT);
3552 xvf=((vf-Vbici)/VT);
3554 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3555 #if defined(_DERIVATE)
3556 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3558 #if defined(_DERIVATE)
3561 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
3562 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
3563 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
3567 #if defined(_DERIVATE)
3570 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
3571 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
3572 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
3574 v_j=(vf-((VT*(xvf+xvf2))*0.5));
3575 #if defined(_DERIVATE)
3584 double m00_logE(d00_logE0,(1.0-(v_j/vdci_t)))
3585 double
m00_exp(d00_exp1,(x*d00_logE0))
3586 #if defined(_DERIVATE)
3587 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdci_t)))
3588 #define d10_exp1 d00_exp1
3590 #if defined(_DERIVATE)
3594 y_Vbi_ci=(-((x_Vbi_ci*d00_logE0)+(x*(-(v_j_Vbi_ci/vdci_t))*d10_logE0))*
d10_exp1);
3595 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);
3596 y_Vb_ci=(-((x_Vb_ci*d00_logE0)+(x*(-(v_j_Vb_ci/vdci_t))*d10_logE0))*d10_exp1);
3600 #if defined(_DERIVATE)
3601 qjci_Vbi_ci=(((((cjci0_t_ii*vdci_t)*y_Vbi_ci)*x-((cjci0_t_ii*vdci_t)*y)*x_Vbi_ci)/x/x)+((2.4*cjci0_t_ii)*(Vbici_Vbi_ci-v_j_Vbi_ci)));
3602 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))));
3603 qjci_Vb_ci=(((((cjci0_t_ii*vdci_t)*y_Vb_ci)*x-((cjci0_t_ii*vdci_t)*y)*x_Vb_ci)/x/x)+((2.4*cjci0_t_ii)*(-v_j_Vb_ci)));
3605 qjci=((((cjci0_t_ii*vdci_t)*y)/
x)+((2.4*cjci0_t_ii)*(Vbici-v_j)));
3609 #if defined(_DERIVATE)
3611 qjci_Vtnode_GND=0.0;
3617 #if defined(_DYNAMIC)
3618 #if defined(_DERIVATE)
3619 qjcii_Vbi_ci=(qjci_Vbi_ci+qjcxi_Vbi_ci);
3620 qjcii_Vtnode_GND=(qjci_Vtnode_GND+qjcxi_Vtnode_GND);
3621 qjcii_Vb_ci=(qjci_Vb_ci+qjcxi_Vb_ci);
3630 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
3631 #if defined(_DERIVATE)
3632 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
3634 vf=(vdci_t*(1.0-d00_exp1));
3636 #if defined(_DERIVATE)
3639 xvf_Vbi_ci=((-Vbici_Vbi_ci)/VT);
3640 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbici)*VT_Vtnode_GND)/VT/VT);
3643 xvf=((vf-Vbici)/VT);
3645 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3646 #if defined(_DERIVATE)
3647 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3649 #if defined(_DERIVATE)
3652 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
3653 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
3654 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
3658 #if defined(_DERIVATE)
3661 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
3662 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
3663 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
3665 v_j=(vf-((VT*(xvf+xvf2))*0.5));
3666 #if defined(_DERIVATE)
3667 dvj_Vbi_ci=(((0.5*(xvf_Vbi_ci+xvf2_Vbi_ci))*xvf2-(0.5*(xvf+xvf2))*xvf2_Vbi_ci)/xvf2/xvf2);
3668 dvj_Vtnode_GND=(((0.5*(xvf_Vtnode_GND+xvf2_Vtnode_GND))*xvf2-(0.5*(xvf+xvf2))*xvf2_Vtnode_GND)/xvf2/xvf2);
3669 dvj_Vb_ci=(((0.5*(xvf_Vb_ci+xvf2_Vb_ci))*xvf2-(0.5*(xvf+xvf2))*xvf2_Vb_ci)/xvf2/xvf2);
3671 dvj=((0.5*(xvf+xvf2))/xvf2);
3673 double m00_logE(d00_logE0,(1-(v_j/vdci_t)))
3674 double
m00_exp(d00_exp1,((-zci)*d00_logE0))
3675 #if defined(_DERIVATE)
3676 double m10_logE(d10_logE0,d00_logE0,(1-(v_j/vdci_t)))
3677 #define d10_exp1 d00_exp1
3679 #if defined(_DERIVATE)
3680 occ_Vbi_ci=((((1*((-zci)*(-(v_j_Vbi_ci/vdci_t))*d10_logE0)*
d10_exp1)*dvj)+((1*d00_exp1)*dvj_Vbi_ci))+((2.4*1)*(-dvj_Vbi_ci)));
3681 occ_Vtnode_GND=((((1*((-zci)*(-((v_j_Vtnode_GND*vdci_t-v_j*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0)*d10_exp1)*dvj)+((1*d00_exp1)*dvj_Vtnode_GND))+((2.4*1)*(-dvj_Vtnode_GND)));
3682 occ_Vb_ci=((((1*((-zci)*(-(v_j_Vb_ci/vdci_t))*d10_logE0)*d10_exp1)*dvj)+((1*d00_exp1)*dvj_Vb_ci))+((2.4*1)*(-dvj_Vb_ci)));
3684 occ=(((1*d00_exp1)*dvj)+((2.4*1)*(1-dvj)));
3689 #if defined(_DERIVATE)
3696 #if defined(_DERIVATE)
3697 cc_Vbi_ci=(-1*occ_Vbi_ci/occ/occ);
3698 cc_Vtnode_GND=(-1*occ_Vtnode_GND/occ/occ);
3699 cc_Vb_ci=(-1*occ_Vb_ci/occ/occ);
3702 #if defined(_DERIVATE)
3703 tf0_Vtnode_GND=((t0_t_Vtnode_GND+(dt0h*cc_Vtnode_GND))+(tbvl*occ_Vtnode_GND));
3704 tf0_Vbi_ci=((dt0h*cc_Vbi_ci)+(tbvl*occ_Vbi_ci));
3705 tf0_Vb_ci=((dt0h*cc_Vb_ci)+(tbvl*occ_Vb_ci));
3707 tf0=((t0_t+(dt0h*(cc-1)))+(tbvl*(occ-1)));
3708 arg=((0.5*vdedc)/vt0);
3711 double
m00_exp(d00_exp1,(-arg))
3712 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
3713 vdj0=((2*vt0)*d00_logE2);
3715 #if defined(_DERIVATE)
3716 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgbe*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
3718 vdjt=(((vdj0*qtt0)+(vgbe*(1-qtt0)))-((mg*VT)*ln_qtt0));
3720 double m00_exp(d00_exp0,((-vdjt)/VT))
3721 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
3722 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
3723 #if defined(_DERIVATE)
3724 #define d10_exp0 d00_exp0
3725 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
3726 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
3728 #if defined(_DERIVATE)
3729 vdedc_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)));
3731 vdedc_t=(vdjt+((2*VT)*d00_logE2));
3734 double m00_logE(d00_logE0,(vdedc/vdedc_t))
3735 double
m00_exp(d00_exp1,(zedc*d00_logE0))
3736 #if defined(_DERIVATE)
3737 double m10_logE(d10_logE0,d00_logE0,(vdedc/vdedc_t))
3738 #define d10_exp1 d00_exp1
3740 #if defined(_DERIVATE)
3741 cT_cT0_Vtnode_GND=(1*(zedc*(-vdedc*vdedc_t_Vtnode_GND/vdedc_t/vdedc_t)*d10_logE0)*d10_exp1);
3743 cT_cT0=(1*d00_exp1);
3745 #if defined(_DERIVATE)
3746 ajedc_t_Vtnode_GND=((ajedc*vdedc_t_Vtnode_GND)/vdedc);
3748 ajedc_t=((ajedc*vdedc_t)/vdedc);
3754 double m00_logE(d00_logE0,(vdedc/vdedc_t))
3755 double
m00_exp(d00_exp1,((1-zedc)*d00_logE0))
3756 #if defined(_DERIVATE)
3757 double m10_logE(d10_logE0,d00_logE0,(vdedc/vdedc_t))
3758 #define d10_exp1 d00_exp1
3760 #if defined(_DERIVATE)
3761 expv_Vtnode_GND=((1-zedc)*(-vdedc*vdedc_t_Vtnode_GND/vdedc_t/vdedc_t)*d10_logE0)*d10_exp1;
3765 #if defined(_DERIVATE)
3770 aa_Vtnode_GND=(-(delte*(-expv_Vtnode_GND)));
3772 aa=(1-(delte*(1-expv)));
3773 #if defined(_DERIVATE)
3778 aa_Vtnode_GND=(aa_Vtnode_GND+(((((1-a_bpt)*(1-zedc))*ver_t_Vtnode_GND)*expv)+((((1-a_bpt)*(1-zedc))*ver_t)*expv_Vtnode_GND)));
3780 aa=(aa+((((1-a_bpt)*(1-zedc))*ver_t)*expv));
3783 double
m00_logE(d00_logE1,d00_fabs0)
3784 double m00_exp(d00_exp2,(d00_logE1/(1-zedc)))
3785 #if defined(_DERIVATE)
3786 double m10_fabs(d10_fabs0,d00_fabs0,aa)
3787 double
m10_logE(d10_logE1,d00_logE1,d00_fabs0)
3788 #define d10_exp2 d00_exp2
3790 #if defined(_DERIVATE)
3795 aa_Vtnode_GND=(aa_Vtnode_GND*d10_fabs0*d10_logE1/(1-zedc))*
d10_exp2;
3799 #if defined(_DERIVATE)
3804 vr_Vtnode_GND=((vdedc_t_Vtnode_GND*(1-aa))+(vdedc_t*(-aa_Vtnode_GND)));
3807 vr=(vdedc_t*(1-aa));
3808 #if defined(_DERIVATE)
3810 x_Vbi_ei=((Vbiei_Vbi_ei-vr_Vbi_ei)/a_bpt);
3811 x_Vbi_ci=((-vr_Vbi_ci)/a_bpt);
3812 x_Vtnode_GND=((-vr_Vtnode_GND)/a_bpt);
3813 x_Vb_ci=((-vr_Vb_ci)/a_bpt);
3815 x=((Vbiei-vr)/a_bpt);
3817 double m00_sqrt(d00_sqrt0,((x*x)+1.921812))
3818 #if defined(_DERIVATE)
3819 double m10_sqrt(d10_sqrt0,d00_sqrt0,((x*x)+1.921812))
3821 #if defined(_DERIVATE)
3822 sqx_Vbi_ei=((x_Vbi_ei*
x)+(x*x_Vbi_ei))*d10_sqrt0;
3823 sqx_Vbi_ci=((x_Vbi_ci*
x)+(x*x_Vbi_ci))*d10_sqrt0;
3824 sqx_Vtnode_GND=((x_Vtnode_GND*
x)+(x*x_Vtnode_GND))*d10_sqrt0;
3825 sqx_Vb_ci=((x_Vb_ci*
x)+(x*x_Vb_ci))*d10_sqrt0;
3829 #if defined(_DERIVATE)
3830 Vbiei_l_Vbi_ci=(vr_Vbi_ci+((0.5*a_bpt)*(x_Vbi_ci+sqx_Vbi_ci)));
3831 Vbiei_l_Vtnode_GND=(vr_Vtnode_GND+((0.5*a_bpt)*(x_Vtnode_GND+sqx_Vtnode_GND)));
3832 Vbiei_l_Vb_ci=(vr_Vb_ci+((0.5*a_bpt)*(x_Vb_ci+sqx_Vb_ci)));
3833 Vbiei_l_Vbi_ei=(vr_Vbi_ei+((0.5*a_bpt)*(x_Vbi_ei+sqx_Vbi_ei)));
3835 Vbiei_l=(vr+((0.5*a_bpt)*(x+sqx)));
3839 #if defined(_DERIVATE)
3841 Vbiei_l_Vtnode_GND=0.0;
3843 Vbiei_l_Vbi_ei=Vbiei_Vbi_ei;
3852 double
m00_exp(d00_exp1,((-d00_logE0)/zedc))
3853 #if defined(_DERIVATE)
3854 double m10_logE(d10_logE0,d00_logE0,ajedc_t)
3855 #define d10_exp1 d00_exp1
3857 #if defined(_DERIVATE)
3858 vf_Vtnode_GND=((vdedc_t_Vtnode_GND*(1.0-d00_exp1))+(vdedc_t*(-((-ajedc_t_Vtnode_GND*d10_logE0)/zedc)*d10_exp1)));
3860 vf=(vdedc_t*(1.0-d00_exp1));
3862 #if defined(_DERIVATE)
3864 xvf_Vbi_ei=((-Vbiei_l_Vbi_ei)/VT);
3865 xvf_Vbi_ci=((-Vbiei_l_Vbi_ci)/VT);
3866 xvf_Vtnode_GND=(((vf_Vtnode_GND-Vbiei_l_Vtnode_GND)*VT-(vf-Vbiei_l)*VT_Vtnode_GND)/VT/VT);
3867 xvf_Vb_ci=((-Vbiei_l_Vb_ci)/VT);
3869 xvf=((vf-Vbiei_l)/VT);
3871 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3872 #if defined(_DERIVATE)
3873 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3875 #if defined(_DERIVATE)
3877 xvf2_Vbi_ei=((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))*d10_sqrt0;
3878 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
3879 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
3880 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
3884 #if defined(_DERIVATE)
3886 v_j_Vbi_ei=(-(VT*(xvf_Vbi_ei+xvf2_Vbi_ei))*0.5);
3887 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
3888 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
3889 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
3891 v_j=(vf-((VT*(xvf+xvf2))*0.5));
3892 #if defined(_DERIVATE)
3901 double m00_logE(d00_logE0,(1.0-(v_j/vdedc_t)))
3902 double
m00_exp(d00_exp1,(x*d00_logE0))
3903 #if defined(_DERIVATE)
3904 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdedc_t)))
3905 #define d10_exp1 d00_exp1
3907 #if defined(_DERIVATE)
3910 y_Vbi_ei=(-((x_Vbi_ei*d00_logE0)+(x*(-(v_j_Vbi_ei/vdedc_t))*d10_logE0))*d10_exp1);
3911 y_Vbi_ci=(-((x_Vbi_ci*d00_logE0)+(x*(-(v_j_Vbi_ci/vdedc_t))*d10_logE0))*d10_exp1);
3912 y_Vtnode_GND=(-((x_Vtnode_GND*d00_logE0)+(x*(-((v_j_Vtnode_GND*vdedc_t-v_j*vdedc_t_Vtnode_GND)/vdedc_t/vdedc_t))*d10_logE0))*d10_exp1);
3913 y_Vb_ci=(-((x_Vb_ci*d00_logE0)+(x*(-(v_j_Vb_ci/vdedc_t))*d10_logE0))*d10_exp1);
3917 #if defined(_DERIVATE)
3918 qjedc_Vtnode_GND=(((((((cT_cT0_Vtnode_GND*vdedc_t)+(cT_cT0*vdedc_t_Vtnode_GND))*y)+((cT_cT0*vdedc_t)*y_Vtnode_GND))*x-((cT_cT0*vdedc_t)*y)*x_Vtnode_GND)/x/
x)+((((ajedc_t_Vtnode_GND*cT_cT0)+(ajedc_t*cT_cT0_Vtnode_GND))*(Vbiei_l-v_j))+((ajedc_t*cT_cT0)*(Vbiei_l_Vtnode_GND-v_j_Vtnode_GND))));
3919 qjedc_Vbi_ei=(((((cT_cT0*vdedc_t)*y_Vbi_ei)*x-((cT_cT0*vdedc_t)*y)*x_Vbi_ei)/x/x)+((ajedc_t*cT_cT0)*(Vbiei_l_Vbi_ei-v_j_Vbi_ei)));
3920 qjedc_Vbi_ci=(((((cT_cT0*vdedc_t)*y_Vbi_ci)*x-((cT_cT0*vdedc_t)*y)*x_Vbi_ci)/x/x)+((ajedc_t*cT_cT0)*(Vbiei_l_Vbi_ci-v_j_Vbi_ci)));
3921 qjedc_Vb_ci=(((((cT_cT0*vdedc_t)*y_Vb_ci)*x-((cT_cT0*vdedc_t)*y)*x_Vb_ci)/x/x)+((ajedc_t*cT_cT0)*(Vbiei_l_Vb_ci-v_j_Vb_ci)));
3923 qjedc=((((cT_cT0*vdedc_t)*y)/
x)+((ajedc_t*cT_cT0)*(Vbiei_l-v_j)));
3927 #if defined(_DERIVATE)
3928 qjedc_Vtnode_GND=0.0;
3936 double m00_logE(d00_logE0,(vdedc_t/vdedc))
3937 double
m00_exp(d00_exp1,((1-zedc)*d00_logE0))
3938 #if defined(_DERIVATE)
3939 double m10_logE(d10_logE0,d00_logE0,(vdedc_t/vdedc))
3940 #define d10_exp1 d00_exp1
3942 #if defined(_DERIVATE)
3943 Dfie_Vtnode_GND=((delte*(-((1-zedc)*(vdedc_t_Vtnode_GND/vdedc)*d10_logE0)*d10_exp1))/(1-zedc));
3945 Dfie=((delte*(1-d00_exp1))/(1-zedc));
3947 #if defined(_DERIVATE)
3948 Gjei_Vtnode_GND=(Dfie_Vtnode_GND+(qjedc_Vtnode_GND/vdedc));
3949 Gjei_Vbi_ei=(qjedc_Vbi_ei/vdedc);
3950 Gjei_Vbi_ci=(qjedc_Vbi_ci/vdedc);
3951 Gjei_Vb_ci=(qjedc_Vb_ci/vdedc);
3953 Gjei=(Dfie+(qjedc/vdedc));
3955 double m00_logE(d00_logE0,(vdci_t/vdci))
3956 double
m00_exp(d00_exp1,((-zci)*d00_logE0))
3957 #if defined(_DERIVATE)
3958 double m10_logE(d10_logE0,d00_logE0,(vdci_t/vdci))
3959 #define d10_exp1 d00_exp1
3961 #if defined(_DERIVATE)
3962 cT_cT0_Vtnode_GND=((-zci)*(vdci_t_Vtnode_GND/vdci)*d10_logE0)*d10_exp1;
3973 #if defined(_DERIVATE)
3974 vp_Vtnode_GND=(-vdci_t_Vtnode_GND);
3979 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
3980 #if defined(_DERIVATE)
3981 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
3983 vf=(vdci_t*(1.0-d00_exp1));
3985 #if defined(_DERIVATE)
3986 cmax_Vtnode_GND=(2.4*cT_cT0_Vtnode_GND);
3990 double m00_logE(d00_logE0,(vdci_t/vptci))
3991 double
m00_exp(d00_exp1,((zci-zr)*d00_logE0))
3992 #if defined(_DERIVATE)
3993 double m10_logE(d10_logE0,d00_logE0,(vdci_t/vptci))
3994 #define d10_exp1 d00_exp1
3996 #if defined(_DERIVATE)
3997 cr_Vtnode_GND=((cT_cT0_Vtnode_GND*d00_exp1)+(cT_cT0*((zci-zr)*(vdci_t_Vtnode_GND/vptci)*d10_logE0)*d10_exp1));
3999 cr=(cT_cT0*d00_exp1);
4001 #if defined(_DERIVATE)
4006 a_Vtnode_GND=VT_Vtnode_GND;
4009 #if defined(_DERIVATE)
4013 ve_Vbi_ci=(((-Vbici_Vbi_ci)*a-(vf-Vbici)*a_Vbi_ci)/a/a);
4014 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbici)*a_Vtnode_GND)/a/a);
4023 #if defined(_DERIVATE)
4024 #define d10_exp0 d00_exp0
4026 #if defined(_DERIVATE)
4031 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
4032 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
4036 #if defined(_DERIVATE)
4040 ee1_Vbi_ci=ex1_Vbi_ci;
4041 ee1_Vtnode_GND=ex1_Vtnode_GND;
4042 ee1_Vb_ci=ex1_Vb_ci;
4047 #if defined(_DERIVATE)
4048 double m10_logE(d10_logE0,d00_logE0,ee1)
4050 #if defined(_DERIVATE)
4054 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
4055 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
4056 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
4058 vj1=(vf-(a*d00_logE0));
4063 #if defined(_DERIVATE)
4067 vj1_Vbi_ci=Vbici_Vbi_ci;
4073 #if defined(_DERIVATE)
4078 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
4080 a=((0.1*vp)+(4.0*VT));
4081 #if defined(_DERIVATE)
4085 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
4086 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
4087 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
4095 #if defined(_DERIVATE)
4096 #define d10_exp0 d00_exp0
4098 #if defined(_DERIVATE)
4103 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
4104 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
4108 #if defined(_DERIVATE)
4112 ee1_Vbi_ci=ex1_Vbi_ci;
4113 ee1_Vtnode_GND=ex1_Vtnode_GND;
4114 ee1_Vb_ci=ex1_Vb_ci;
4119 #if defined(_DERIVATE)
4120 double m10_logE(d10_logE0,d00_logE0,ee1)
4122 #if defined(_DERIVATE)
4126 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
4127 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
4128 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
4130 vj2=((-vp)+(a*d00_logE0));
4135 #if defined(_DERIVATE)
4139 vj2_Vbi_ci=vj1_Vbi_ci;
4140 vj2_Vtnode_GND=vj1_Vtnode_GND;
4141 vj2_Vb_ci=vj1_Vb_ci;
4145 #if defined(_DERIVATE)
4149 vj4_Vbi_ci=(Vbici_Vbi_ci-vj1_Vbi_ci);
4150 vj4_Vb_ci=(-vj1_Vb_ci);
4151 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
4157 double m00_logE(d00_logE0,(1.0-(vj1/vdci_t)))
4158 #if defined(_DERIVATE)
4159 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdci_t)))
4161 #if defined(_DERIVATE)
4165 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vdci_t))*d10_logE0;
4166 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdci_t-vj1*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
4167 vdj1_Vb_ci=(-(vj1_Vb_ci/vdci_t))*d10_logE0;
4172 double m00_logE(d00_logE0,(1.0-(vj2/vdci_t)))
4173 #if defined(_DERIVATE)
4174 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdci_t)))
4176 #if defined(_DERIVATE)
4180 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vdci_t))*d10_logE0;
4181 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdci_t-vj2*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
4182 vdj2_Vb_ci=(-(vj2_Vb_ci/vdci_t))*d10_logE0;
4187 double m00_exp(d00_exp0,(vdj2*ez))
4188 #if defined(_DERIVATE)
4189 #define d10_exp0 d00_exp0
4191 #if defined(_DERIVATE)
4195 qj1_Vbi_ci=((cT_cT0*(-vdj2_Vbi_ci*ez*
d10_exp0))/ez);
4196 qj1_Vtnode_GND=(((cT_cT0_Vtnode_GND*(1.0-d00_exp0))+(cT_cT0*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
4197 qj1_Vb_ci=((cT_cT0*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
4199 qj1=((cT_cT0*(1.0-d00_exp0))/ez);
4202 double m00_exp(d00_exp0,(vdj1*ezr))
4203 #if defined(_DERIVATE)
4204 #define d10_exp0 d00_exp0
4206 #if defined(_DERIVATE)
4210 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*
d10_exp0))/ezr);
4211 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
4212 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
4214 qj2=((cr*(1.0-d00_exp0))/ezr);
4217 double m00_exp(d00_exp0,(vdj2*ezr))
4218 #if defined(_DERIVATE)
4219 #define d10_exp0 d00_exp0
4221 #if defined(_DERIVATE)
4225 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*
d10_exp0))/ezr);
4226 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
4227 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
4229 qj3=((cr*(1.0-d00_exp0))/ezr);
4231 #if defined(_DERIVATE)
4233 qjcidc_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vdci_t+(cmax*vj4_Vbi_ci));
4234 qjcidc_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)));
4235 qjcidc_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdci_t+(cmax*vj4_Vb_ci));
4237 qjcidc=((((qj1+qj2)-qj3)*vdci_t)+(cmax*vj4));
4241 #if defined(_DERIVATE)
4244 qjcidc_Vtnode_GND=0.0;
4257 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
4258 #if defined(_DERIVATE)
4259 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
4261 vf=(vdci_t*(1.0-d00_exp1));
4263 #if defined(_DERIVATE)
4266 xvf_Vbi_ci=((-Vbici_Vbi_ci)/VT);
4267 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbici)*VT_Vtnode_GND)/VT/VT);
4270 xvf=((vf-Vbici)/VT);
4272 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
4273 #if defined(_DERIVATE)
4274 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
4276 #if defined(_DERIVATE)
4278 xvf2_Vbi_ei=((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))*d10_sqrt0;
4279 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
4280 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
4281 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
4285 #if defined(_DERIVATE)
4287 v_j_Vbi_ei=(-(VT*(xvf_Vbi_ei+xvf2_Vbi_ei))*0.5);
4288 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
4289 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
4290 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
4292 v_j=(vf-((VT*(xvf+xvf2))*0.5));
4293 #if defined(_DERIVATE)
4302 double m00_logE(d00_logE0,(1.0-(v_j/vdci_t)))
4303 double
m00_exp(d00_exp1,(x*d00_logE0))
4304 #if defined(_DERIVATE)
4305 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdci_t)))
4306 #define d10_exp1 d00_exp1
4308 #if defined(_DERIVATE)
4311 y_Vbi_ei=(-((x_Vbi_ei*d00_logE0)+(x*(-(v_j_Vbi_ei/vdci_t))*d10_logE0))*d10_exp1);
4312 y_Vbi_ci=(-((x_Vbi_ci*d00_logE0)+(x*(-(v_j_Vbi_ci/vdci_t))*d10_logE0))*d10_exp1);
4313 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);
4314 y_Vb_ci=(-((x_Vb_ci*d00_logE0)+(x*(-(v_j_Vb_ci/vdci_t))*d10_logE0))*d10_exp1);
4318 #if defined(_DERIVATE)
4319 qjcidc_Vbi_ei=(((((cT_cT0*vdci_t)*y_Vbi_ei)*x-((cT_cT0*vdci_t)*y)*x_Vbi_ei)/x/x)+((2.4*cT_cT0)*(-v_j_Vbi_ei)));
4320 qjcidc_Vbi_ci=(((((cT_cT0*vdci_t)*y_Vbi_ci)*x-((cT_cT0*vdci_t)*y)*x_Vbi_ci)/x/x)+((2.4*cT_cT0)*(Vbici_Vbi_ci-v_j_Vbi_ci)));
4321 qjcidc_Vtnode_GND=(((((((cT_cT0_Vtnode_GND*vdci_t)+(cT_cT0*vdci_t_Vtnode_GND))*y)+((cT_cT0*vdci_t)*y_Vtnode_GND))*x-((cT_cT0*vdci_t)*y)*x_Vtnode_GND)/x/
x)+(((2.4*cT_cT0_Vtnode_GND)*(Vbici-v_j))+((2.4*cT_cT0)*(-v_j_Vtnode_GND))));
4322 qjcidc_Vb_ci=(((((cT_cT0*vdci_t)*y_Vb_ci)*x-((cT_cT0*vdci_t)*y)*x_Vb_ci)/x/x)+((2.4*cT_cT0)*(-v_j_Vb_ci)));
4324 qjcidc=((((cT_cT0*vdci_t)*y)/
x)+((2.4*cT_cT0)*(Vbici-v_j)));
4328 #if defined(_DERIVATE)
4331 qjcidc_Vtnode_GND=0.0;
4338 double m00_logE(d00_logE0,(vdci_t/vdci))
4339 double
m00_exp(d00_exp1,((1-zci)*d00_logE0))
4340 #if defined(_DERIVATE)
4341 double m10_logE(d10_logE0,d00_logE0,(vdci_t/vdci))
4342 #define d10_exp1 d00_exp1
4344 #if defined(_DERIVATE)
4345 Dfic_Vtnode_GND=((deltc*(-((1-zci)*(vdci_t_Vtnode_GND/vdci)*d10_logE0)*d10_exp1))/(1-zci));
4347 Dfic=((deltc*(1-d00_exp1))/(1-zci));
4349 #if defined(_DERIVATE)
4350 Gjci_Vtnode_GND=(Dfic_Vtnode_GND+(qjcidc_Vtnode_GND/vdci));
4351 Gjci_Vbi_ei=(qjcidc_Vbi_ei/vdci);
4352 Gjci_Vbi_ci=(qjcidc_Vbi_ci/vdci);
4353 Gjci_Vb_ci=(qjcidc_Vb_ci/vdci);
4355 Gjci=(Dfic+(qjcidc/vdci));
4356 #if defined(_DERIVATE)
4357 qj_2_Vtnode_GND=(((Gjci_Vtnode_GND*vef_t-Gjci*vef_t_Vtnode_GND)/vef_t/vef_t)+((Gjei_Vtnode_GND*ver_t-Gjei*ver_t_Vtnode_GND)/ver_t/ver_t));
4358 qj_2_Vbi_ei=((Gjci_Vbi_ei/vef_t)+(Gjei_Vbi_ei/ver_t));
4359 qj_2_Vbi_ci=((Gjci_Vbi_ci/vef_t)+(Gjei_Vbi_ci/ver_t));
4360 qj_2_Vb_ci=((Gjci_Vb_ci/vef_t)+(Gjei_Vb_ci/ver_t));
4362 qj_2=((1+(Gjci/vef_t))+(Gjei/ver_t));
4363 #if defined(_DERIVATE)
4364 b_q_Vtnode_GND=(20*qj_2_Vtnode_GND);
4365 b_q_Vbi_ei=(20*qj_2_Vbi_ei);
4366 b_q_Vbi_ci=(20*qj_2_Vbi_ci);
4367 b_q_Vb_ci=(20*qj_2_Vb_ci);
4371 double m00_sqrt(d00_sqrt0,((b_q*b_q)+1.921812))
4372 #if defined(_DERIVATE)
4373 double m10_sqrt(d10_sqrt0,d00_sqrt0,((b_q*b_q)+1.921812))
4375 #if defined(_DERIVATE)
4376 qj_2_Vtnode_GND=(0.025*((b_q_Vtnode_GND+((b_q_Vtnode_GND*b_q)+(b_q*b_q_Vtnode_GND))*d10_sqrt0)/2));
4377 qj_2_Vbi_ei=(0.025*((b_q_Vbi_ei+((b_q_Vbi_ei*b_q)+(b_q*b_q_Vbi_ei))*d10_sqrt0)/2));
4378 qj_2_Vbi_ci=(0.025*((b_q_Vbi_ci+((b_q_Vbi_ci*b_q)+(b_q*b_q_Vbi_ci))*d10_sqrt0)/2));
4379 qj_2_Vb_ci=(0.025*((b_q_Vb_ci+((b_q_Vb_ci*b_q)+(b_q*b_q_Vb_ci))*d10_sqrt0)/2));
4381 qj_2=(0.025*(1+((b_q+d00_sqrt0)/2)));
4383 #if defined(_DERIVATE)
4384 arg1_Vbi_ei=(Vbiei_Vbi_ei/(mcf*VT));
4385 arg1_Vtnode_GND=(-Vbiei*(mcf*VT_Vtnode_GND)/(mcf*VT)/(mcf*VT));
4387 arg1=(Vbiei/(mcf*VT));
4391 #if defined(_DERIVATE)
4392 le1_Vbi_ei=arg1_Vbi_ei;
4393 le1_Vtnode_GND=arg1_Vtnode_GND;
4396 #if defined(_DERIVATE)
4398 arg1_Vtnode_GND=0.0;
4404 #if defined(_DERIVATE)
4412 #if defined(_DERIVATE)
4413 double m10_limexp(d10_limexp0,d00_limexp0,arg1)
4415 #if defined(_DERIVATE)
4416 le1_Vbi_ei=((le1_Vbi_ei*d00_limexp0)+(le1*arg1_Vbi_ei*d10_limexp0));
4417 le1_Vtnode_GND=((le1_Vtnode_GND*d00_limexp0)+(le1*arg1_Vtnode_GND*d10_limexp0));
4419 le1=(le1*d00_limexp0);
4421 #if defined(_DERIVATE)
4422 itfi_Vtnode_GND=((is_t_Vtnode_GND*le1)+(is_t*le1_Vtnode_GND));
4423 itfi_Vbi_ei=(is_t*le1_Vbi_ei);
4426 #if defined(_DERIVATE)
4427 arg2_Vbi_ci=(Vbici_Vbi_ci/(mcr*VT));
4428 arg2_Vtnode_GND=(-Vbici*(mcr*VT_Vtnode_GND)/(mcr*VT)/(mcr*VT));
4430 arg2=(Vbici/(mcr*VT));
4434 #if defined(_DERIVATE)
4435 le2_Vbi_ci=arg2_Vbi_ci;
4436 le2_Vtnode_GND=arg2_Vtnode_GND;
4439 #if defined(_DERIVATE)
4441 arg2_Vtnode_GND=0.0;
4447 #if defined(_DERIVATE)
4455 #if defined(_DERIVATE)
4456 double m10_limexp(d10_limexp0,d00_limexp0,arg2)
4458 #if defined(_DERIVATE)
4459 le2_Vbi_ci=((le2_Vbi_ci*d00_limexp0)+(le2*arg2_Vbi_ci*d10_limexp0));
4460 le2_Vtnode_GND=((le2_Vtnode_GND*d00_limexp0)+(le2*arg2_Vtnode_GND*d10_limexp0));
4462 le2=(le2*d00_limexp0);
4464 #if defined(_DERIVATE)
4465 itri_Vtnode_GND=((is_t_Vtnode_GND*le2)+(is_t*le2_Vtnode_GND));
4466 itri_Vbi_ci=(is_t*le2_Vbi_ci);
4472 #if defined(_DERIVATE)
4473 denom_iqf_Vtnode_GND=(fiqf*((tf0_Vtnode_GND*t0_t-tf0*t0_t_Vtnode_GND)/t0_t/t0_t));
4474 denom_iqf_Vbi_ci=(fiqf*(tf0_Vbi_ci/t0_t));
4475 denom_iqf_Vb_ci=(fiqf*(tf0_Vb_ci/t0_t));
4477 denom_iqf=(fiqf*((tf0/t0_t)-1));
4478 #if defined(_DERIVATE)
4479 ickf_Vtnode_GND=((iqf_t_Vtnode_GND*(1+denom_iqf)-iqf_t*denom_iqf_Vtnode_GND)/(1+denom_iqf)/(1+denom_iqf));
4480 ickf_Vbi_ci=(-iqf_t*denom_iqf_Vbi_ci/(1+denom_iqf)/(1+denom_iqf));
4481 ickf_Vb_ci=(-iqf_t*denom_iqf_Vb_ci/(1+denom_iqf)/(1+denom_iqf));
4483 ickf=(iqf_t/(1+denom_iqf));
4487 #if defined(_DERIVATE)
4488 ickf_Vtnode_GND=iqf_t_Vtnode_GND;
4494 #if defined(_DERIVATE)
4495 ickr_Vtnode_GND=iqr_t_Vtnode_GND;
4498 #if defined(_DERIVATE)
4499 vc_Vci_ei=Vciei_Vci_ei;
4500 vc_Vtnode_GND=(-vces_t_Vtnode_GND);
4503 #if defined(_DERIVATE)
4504 uvc_Vci_ei=(vc_Vci_ei/VT);
4505 uvc_Vtnode_GND=((vc_Vtnode_GND*VT-vc*VT_Vtnode_GND)/VT/VT);
4509 double m00_sqrt(d00_sqrt0,((uvc*uvc)+1.921812))
4510 #if defined(_DERIVATE)
4511 double m10_sqrt(d10_sqrt0,d00_sqrt0,((uvc*uvc)+1.921812))
4513 #if defined(_DERIVATE)
4514 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))));
4515 vceff_Vci_ei=(VT*(0.5*(uvc_Vci_ei+((uvc_Vci_ei*uvc)+(uvc*uvc_Vci_ei))*d10_sqrt0)));
4517 vceff=(VT*(1+(0.5*(uvc+d00_sqrt0))));
4519 #if defined(_DERIVATE)
4520 x_Vci_ei=(vceff_Vci_ei/vpt);
4523 x_Vtnode_GND=((vceff_Vtnode_GND-vlim_t_Vtnode_GND)/vpt);
4526 x=((vceff-vlim_t)/vpt);
4529 double
m00_sqrt(d00_sqrt1,(1+(((vceff*vceff)/vlim_t)/vlim_t)))
4530 #if defined(_DERIVATE)
4531 double m10_sqrt(d10_sqrt0,d00_sqrt0,((x*x)+1
e-3))
4532 double
m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(((vceff*vceff)/vlim_t)/vlim_t)))
4534 #if defined(_DERIVATE)
4535 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);
4536 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);
4537 ick_Vbi_ei=(((vceff*(0.5*(x_Vbi_ei+((x_Vbi_ei*
x)+(x*x_Vbi_ei))*d10_sqrt0)))/rci0_t)/d00_sqrt1);
4538 ick_Vbi_ci=(((vceff*(0.5*(x_Vbi_ci+((x_Vbi_ci*
x)+(x*x_Vbi_ci))*d10_sqrt0)))/rci0_t)/d00_sqrt1);
4539 ick_Vb_ci=(((vceff*(0.5*(x_Vb_ci+((x_Vb_ci*
x)+(x*x_Vb_ci))*d10_sqrt0)))/rci0_t)/d00_sqrt1);
4541 ick=(((vceff*(1+(0.5*(x+d00_sqrt0))))/rci0_t)/d00_sqrt1);
4547 double m00_logE(d00_logE0,((itfi*(itfi/ick))/iqfe_t))
4548 double
m00_exp(d00_exp1,(0.6666*d00_logE0))
4549 #if defined(_DERIVATE)
4550 double m10_logE(d10_logE0,d00_logE0,((itfi*(itfi/ick))/iqfe_t))
4551 #define d10_exp1 d00_exp1
4553 #if defined(_DERIVATE)
4554 qmE_Vtnode_GND=(0.6666*((((itfi_Vtnode_GND*(itfi/ick))+(itfi*((itfi_Vtnode_GND*ick-itfi*ick_Vtnode_GND)/ick/ick)))*iqfe_t-(itfi*(itfi/ick))*iqfe_t_Vtnode_GND)/iqfe_t/iqfe_t)*d10_logE0)*d10_exp1;
4555 qmE_Vbi_ei=(0.6666*(((itfi_Vbi_ei*(itfi/ick))+(itfi*((itfi_Vbi_ei*ick-itfi*ick_Vbi_ei)/ick/ick)))/iqfe_t)*d10_logE0)*d10_exp1;
4556 qmE_Vci_ei=(0.6666*((itfi*(-itfi*ick_Vci_ei/ick/ick))/iqfe_t)*d10_logE0)*d10_exp1;
4557 qmE_Vbi_ci=(0.6666*((itfi*(-itfi*ick_Vbi_ci/ick/ick))/iqfe_t)*d10_logE0)*d10_exp1;
4558 qmE_Vb_ci=(0.6666*((itfi*(-itfi*ick_Vb_ci/ick/ick))/iqfe_t)*d10_logE0)*d10_exp1;
4565 #if defined(_DERIVATE)
4574 #if defined(_DERIVATE)
4575 qm0_Vtnode_GND=(((itfi_Vtnode_GND*ickf-itfi*ickf_Vtnode_GND)/ickf/ickf)+((itri_Vtnode_GND*ickr-itri*ickr_Vtnode_GND)/ickr/ickr));
4576 qm0_Vbi_ei=(itfi_Vbi_ei/ickf);
4577 qm0_Vbi_ci=((-itfi*ickf_Vbi_ci/ickf/ickf)+(itri_Vbi_ci/ickr));
4578 qm0_Vb_ci=(-itfi*ickf_Vb_ci/ickf/ickf);
4580 qm0=((itfi/ickf)+(itri/ickr));
4581 #if defined(_DERIVATE)
4582 qmB_Vtnode_GND=((itfi_Vtnode_GND*iqfh_t-itfi*iqfh_t_Vtnode_GND)/iqfh_t/iqfh_t);
4583 qmB_Vbi_ei=(itfi_Vbi_ei/iqfh_t);
4586 #if defined(_DERIVATE)
4587 qml_Vtnode_GND=(qm0_Vtnode_GND+qmE_Vtnode_GND);
4588 qml_Vbi_ei=(qm0_Vbi_ei+qmE_Vbi_ei);
4589 qml_Vbi_ci=(qm0_Vbi_ci+qmE_Vbi_ci);
4590 qml_Vb_ci=(qm0_Vb_ci+qmE_Vb_ci);
4591 qml_Vci_ei=qmE_Vci_ei;
4594 #if defined(_DERIVATE)
4595 qmh_Vtnode_GND=(qml_Vtnode_GND+qmB_Vtnode_GND);
4596 qmh_Vbi_ei=(qml_Vbi_ei+qmB_Vbi_ei);
4597 qmh_Vbi_ci=qml_Vbi_ci;
4598 qmh_Vb_ci=qml_Vb_ci;
4599 qmh_Vci_ei=qml_Vci_ei;
4603 double m00_sqrt(d00_sqrt0,((qj_2*qj_2)+qml))
4604 #if defined(_DERIVATE)
4605 double m10_sqrt(d10_sqrt0,d00_sqrt0,((qj_2*qj_2)+qml))
4607 #if defined(_DERIVATE)
4608 qpt_l_Vtnode_GND=(qj_2_Vtnode_GND+(((qj_2_Vtnode_GND*qj_2)+(qj_2*qj_2_Vtnode_GND))+qml_Vtnode_GND)*d10_sqrt0);
4609 qpt_l_Vbi_ei=(qj_2_Vbi_ei+(((qj_2_Vbi_ei*qj_2)+(qj_2*qj_2_Vbi_ei))+qml_Vbi_ei)*d10_sqrt0);
4610 qpt_l_Vbi_ci=(qj_2_Vbi_ci+(((qj_2_Vbi_ci*qj_2)+(qj_2*qj_2_Vbi_ci))+qml_Vbi_ci)*d10_sqrt0);
4611 qpt_l_Vb_ci=(qj_2_Vb_ci+(((qj_2_Vb_ci*qj_2)+(qj_2*qj_2_Vb_ci))+qml_Vb_ci)*d10_sqrt0);
4612 qpt_l_Vci_ei=qml_Vci_ei*d10_sqrt0;
4614 qpt_l=(qj_2+d00_sqrt0);
4617 double m00_sqrt(d00_sqrt0,((qj_2*qj_2)+qmh))
4618 #if defined(_DERIVATE)
4619 double m10_sqrt(d10_sqrt0,d00_sqrt0,((qj_2*qj_2)+qmh))
4621 #if defined(_DERIVATE)
4622 qpt_h_Vtnode_GND=(qj_2_Vtnode_GND+(((qj_2_Vtnode_GND*qj_2)+(qj_2*qj_2_Vtnode_GND))+qmh_Vtnode_GND)*d10_sqrt0);
4623 qpt_h_Vbi_ei=(qj_2_Vbi_ei+(((qj_2_Vbi_ei*qj_2)+(qj_2*qj_2_Vbi_ei))+qmh_Vbi_ei)*d10_sqrt0);
4624 qpt_h_Vbi_ci=(qj_2_Vbi_ci+(((qj_2_Vbi_ci*qj_2)+(qj_2*qj_2_Vbi_ci))+qmh_Vbi_ci)*d10_sqrt0);
4625 qpt_h_Vb_ci=(qj_2_Vb_ci+(((qj_2_Vb_ci*qj_2)+(qj_2*qj_2_Vb_ci))+qmh_Vb_ci)*d10_sqrt0);
4626 qpt_h_Vci_ei=qmh_Vci_ei*d10_sqrt0;
4628 qpt_h=(qj_2+d00_sqrt0);
4630 #if defined(_DERIVATE)
4631 a1_Vtnode_GND=(-(((((ick_Vtnode_GND/(1+ahq))*itfi-(ick/(1+ahq))*itfi_Vtnode_GND)/itfi/itfi)*qpt_l)+(((ick/(1+ahq))/itfi)*qpt_l_Vtnode_GND)));
4632 a1_Vci_ei=(-((((ick_Vci_ei/(1+ahq))/itfi)*qpt_l)+(((ick/(1+ahq))/itfi)*qpt_l_Vci_ei)));
4633 a1_Vbi_ei=(-(((((ick_Vbi_ei/(1+ahq))*itfi-(ick/(1+ahq))*itfi_Vbi_ei)/itfi/itfi)*qpt_l)+(((ick/(1+ahq))/itfi)*qpt_l_Vbi_ei)));
4634 a1_Vbi_ci=(-((((ick_Vbi_ci/(1+ahq))/itfi)*qpt_l)+(((ick/(1+ahq))/itfi)*qpt_l_Vbi_ci)));
4635 a1_Vb_ci=(-((((ick_Vb_ci/(1+ahq))/itfi)*qpt_l)+(((ick/(1+ahq))/itfi)*qpt_l_Vb_ci)));
4637 a1=(1-(((ick/(1+ahq))/itfi)*qpt_l));
4638 #if defined(_DERIVATE)
4639 a2_Vtnode_GND=(((((ick_Vtnode_GND/(1+ahq))*itfi-(ick/(1+ahq))*itfi_Vtnode_GND)/itfi/itfi)*(qpt_h-qpt_l))+(((ick/(1+ahq))/itfi)*(qpt_h_Vtnode_GND-qpt_l_Vtnode_GND)));
4640 a2_Vci_ei=((((ick_Vci_ei/(1+ahq))/itfi)*(qpt_h-qpt_l))+(((ick/(1+ahq))/itfi)*(qpt_h_Vci_ei-qpt_l_Vci_ei)));
4641 a2_Vbi_ei=(((((ick_Vbi_ei/(1+ahq))*itfi-(ick/(1+ahq))*itfi_Vbi_ei)/itfi/itfi)*(qpt_h-qpt_l))+(((ick/(1+ahq))/itfi)*(qpt_h_Vbi_ei-qpt_l_Vbi_ei)));
4642 a2_Vbi_ci=((((ick_Vbi_ci/(1+ahq))/itfi)*(qpt_h-qpt_l))+(((ick/(1+ahq))/itfi)*(qpt_h_Vbi_ci-qpt_l_Vbi_ci)));
4643 a2_Vb_ci=((((ick_Vb_ci/(1+ahq))/itfi)*(qpt_h-qpt_l))+(((ick/(1+ahq))/itfi)*(qpt_h_Vb_ci-qpt_l_Vb_ci)));
4645 a2=(1+(((ick/(1+ahq))/itfi)*(qpt_h-qpt_l)));
4646 #if defined(_DERIVATE)
4647 aa_Vci_ei=((a1_Vci_ei*a2-a1*a2_Vci_ei)/a2/a2);
4648 aa_Vbi_ei=((a1_Vbi_ei*a2-a1*a2_Vbi_ei)/a2/a2);
4649 aa_Vbi_ci=((a1_Vbi_ci*a2-a1*a2_Vbi_ci)/a2/a2);
4650 aa_Vb_ci=((a1_Vb_ci*a2-a1*a2_Vb_ci)/a2/a2);
4651 aa_Vtnode_GND=((a1_Vtnode_GND*a2-a1*a2_Vtnode_GND)/a2/a2);
4655 double m00_sqrt(d00_sqrt0,((aa*aa)+0.01))
4656 double
m00_sqrt(d00_sqrt1,(1+0.01))
4657 #if defined(_DERIVATE)
4658 double m10_sqrt(d10_sqrt0,d00_sqrt0,((aa*aa)+0.01))
4660 #if defined(_DERIVATE)
4661 w_Vci_ei=((((aa_Vci_ei*aa)+(aa*aa_Vci_ei))*d10_sqrt0+aa_Vci_ei)/(1+d00_sqrt1));
4662 w_Vbi_ei=((((aa_Vbi_ei*aa)+(aa*aa_Vbi_ei))*d10_sqrt0+aa_Vbi_ei)/(1+d00_sqrt1));
4663 w_Vbi_ci=((((aa_Vbi_ci*aa)+(aa*aa_Vbi_ci))*d10_sqrt0+aa_Vbi_ci)/(1+d00_sqrt1));
4664 w_Vb_ci=((((aa_Vb_ci*aa)+(aa*aa_Vb_ci))*d10_sqrt0+aa_Vb_ci)/(1+d00_sqrt1));
4665 w_Vtnode_GND=((((aa_Vtnode_GND*aa)+(aa*aa_Vtnode_GND))*d10_sqrt0+aa_Vtnode_GND)/(1+d00_sqrt1));
4667 w=((d00_sqrt0+aa)/(1+d00_sqrt1));
4669 #if defined(_DERIVATE)
4670 qmBw_Vtnode_GND=((((qmB_Vtnode_GND*w)+(qmB*w_Vtnode_GND))*w)+((qmB*w)*w_Vtnode_GND));
4671 qmBw_Vbi_ei=((((qmB_Vbi_ei*w)+(qmB*w_Vbi_ei))*w)+((qmB*w)*w_Vbi_ei));
4672 qmBw_Vci_ei=(((qmB*w_Vci_ei)*w)+((qmB*w)*w_Vci_ei));
4673 qmBw_Vbi_ci=(((qmB*w_Vbi_ci)*w)+((qmB*w)*w_Vbi_ci));
4674 qmBw_Vb_ci=(((qmB*w_Vb_ci)*w)+((qmB*w)*w_Vb_ci));
4677 #if defined(_DERIVATE)
4678 qm_Vtnode_GND=(qml_Vtnode_GND+qmBw_Vtnode_GND);
4679 qm_Vbi_ei=(qml_Vbi_ei+qmBw_Vbi_ei);
4680 qm_Vbi_ci=(qml_Vbi_ci+qmBw_Vbi_ci);
4681 qm_Vb_ci=(qml_Vb_ci+qmBw_Vb_ci);
4682 qm_Vci_ei=(qml_Vci_ei+qmBw_Vci_ei);
4686 double m00_sqrt(d00_sqrt0,((qj_2*qj_2)+qm))
4687 #if defined(_DERIVATE)
4688 double m10_sqrt(d10_sqrt0,d00_sqrt0,((qj_2*qj_2)+qm))
4690 #if defined(_DERIVATE)
4691 qpt_Vtnode_GND=(qj_2_Vtnode_GND+(((qj_2_Vtnode_GND*qj_2)+(qj_2*qj_2_Vtnode_GND))+qm_Vtnode_GND)*d10_sqrt0);
4692 qpt_Vbi_ei=(qj_2_Vbi_ei+(((qj_2_Vbi_ei*qj_2)+(qj_2*qj_2_Vbi_ei))+qm_Vbi_ei)*d10_sqrt0);
4693 qpt_Vbi_ci=(qj_2_Vbi_ci+(((qj_2_Vbi_ci*qj_2)+(qj_2*qj_2_Vbi_ci))+qm_Vbi_ci)*d10_sqrt0);
4694 qpt_Vb_ci=(qj_2_Vb_ci+(((qj_2_Vb_ci*qj_2)+(qj_2*qj_2_Vb_ci))+qm_Vb_ci)*d10_sqrt0);
4695 qpt_Vci_ei=qm_Vci_ei*d10_sqrt0;
4697 qpt=(qj_2+d00_sqrt0);
4699 #if defined(_DERIVATE)
4700 itf_Vtnode_GND=((itfi_Vtnode_GND*qpt-itfi*qpt_Vtnode_GND)/qpt/qpt);
4701 itf_Vbi_ei=((itfi_Vbi_ei*qpt-itfi*qpt_Vbi_ei)/qpt/qpt);
4702 itf_Vbi_ci=(-itfi*qpt_Vbi_ci/qpt/qpt);
4703 itf_Vb_ci=(-itfi*qpt_Vb_ci/qpt/qpt);
4704 itf_Vci_ei=(-itfi*qpt_Vci_ei/qpt/qpt);
4707 #if defined(_DERIVATE)
4708 itr_Vtnode_GND=((itri_Vtnode_GND*qpt-itri*qpt_Vtnode_GND)/qpt/qpt);
4709 itr_Vbi_ci=((itri_Vbi_ci*qpt-itri*qpt_Vbi_ci)/qpt/qpt);
4710 itr_Vbi_ei=(-itri*qpt_Vbi_ei/qpt/qpt);
4711 itr_Vb_ci=(-itri*qpt_Vb_ci/qpt/qpt);
4712 itr_Vci_ei=(-itri*qpt_Vci_ei/qpt/qpt);
4718 #if defined(_DERIVATE)
4727 #if defined(_DERIVATE)
4728 it_Vtnode_GND=(itf_Vtnode_GND-itr_Vtnode_GND);
4729 it_Vbi_ei=(itf_Vbi_ei-itr_Vbi_ei);
4730 it_Vbi_ci=(itf_Vbi_ci-itr_Vbi_ci);
4731 it_Vb_ci=(itf_Vb_ci-itr_Vb_ci);
4732 it_Vci_ei=(itf_Vci_ei-itr_Vci_ei);
4735 #if defined(_DYNAMIC)
4736 #if defined(_DERIVATE)
4737 qf0_Vtnode_GND=((tf0_Vtnode_GND*itf)+(tf0*itf_Vtnode_GND));
4738 qf0_Vbi_ci=((tf0_Vbi_ci*itf)+(tf0*itf_Vbi_ci));
4739 qf0_Vb_ci=((tf0_Vb_ci*itf)+(tf0*itf_Vb_ci));
4740 qf0_Vbi_ei=(tf0*itf_Vbi_ei);
4741 qf0_Vci_ei=(tf0*itf_Vci_ei);
4745 #if defined(_DYNAMIC)
4746 #if defined(_DERIVATE)
4747 a_Vci_ei=(-((ick_Vci_ei*itf-ick*itf_Vci_ei)/itf/itf));
4748 a_Vbi_ei=(-((ick_Vbi_ei*itf-ick*itf_Vbi_ei)/itf/itf));
4749 a_Vbi_ci=(-((ick_Vbi_ci*itf-ick*itf_Vbi_ci)/itf/itf));
4750 a_Vb_ci=(-((ick_Vb_ci*itf-ick*itf_Vb_ci)/itf/itf));
4751 a_Vtnode_GND=(-((ick_Vtnode_GND*itf-ick*itf_Vtnode_GND)/itf/itf));
4755 #if defined(_DYNAMIC)
4757 double m00_sqrt(d00_sqrt0,((a*a)+ahc))
4758 #if defined(_DERIVATE)
4759 double m10_sqrt(d10_sqrt0,d00_sqrt0,((a*a)+ahc))
4761 #if defined(_DERIVATE)
4762 s3_Vci_ei=((a_Vci_ei*a)+(a*a_Vci_ei))*d10_sqrt0;
4763 s3_Vbi_ei=((a_Vbi_ei*a)+(a*a_Vbi_ei))*d10_sqrt0;
4764 s3_Vbi_ci=((a_Vbi_ci*a)+(a*a_Vbi_ci))*d10_sqrt0;
4765 s3_Vb_ci=((a_Vb_ci*a)+(a*a_Vb_ci))*d10_sqrt0;
4766 s3_Vtnode_GND=((a_Vtnode_GND*a)+(a*a_Vtnode_GND))*d10_sqrt0;
4771 #if defined(_DYNAMIC)
4774 #if defined(_DERIVATE)
4775 w_Vci_ei=((a_Vci_ei+s3_Vci_ei)/(1+d00_sqrt0));
4776 w_Vbi_ei=((a_Vbi_ei+s3_Vbi_ei)/(1+d00_sqrt0));
4777 w_Vbi_ci=((a_Vbi_ci+s3_Vbi_ci)/(1+d00_sqrt0));
4778 w_Vb_ci=((a_Vb_ci+s3_Vb_ci)/(1+d00_sqrt0));
4779 w_Vtnode_GND=((a_Vtnode_GND+s3_Vtnode_GND)/(1+d00_sqrt0));
4781 w=((a+s3)/(1+d00_sqrt0));
4784 #if defined(_DYNAMIC)
4785 #if defined(_DERIVATE)
4786 tww_Vtnode_GND=((((thcs_t_Vtnode_GND*w)+(thcs_t*w_Vtnode_GND))*w)+((thcs_t*w)*w_Vtnode_GND));
4787 tww_Vci_ei=(((thcs_t*w_Vci_ei)*w)+((thcs_t*w)*w_Vci_ei));
4788 tww_Vbi_ei=(((thcs_t*w_Vbi_ei)*w)+((thcs_t*w)*w_Vbi_ei));
4789 tww_Vbi_ci=(((thcs_t*w_Vbi_ci)*w)+((thcs_t*w)*w_Vbi_ci));
4790 tww_Vb_ci=(((thcs_t*w_Vb_ci)*w)+((thcs_t*w)*w_Vb_ci));
4794 #if defined(_DYNAMIC)
4795 #if defined(_DERIVATE)
4796 dqfh_Vtnode_GND=((tww_Vtnode_GND*itf)+(tww*itf_Vtnode_GND));
4797 dqfh_Vci_ei=((tww_Vci_ei*itf)+(tww*itf_Vci_ei));
4798 dqfh_Vbi_ei=((tww_Vbi_ei*itf)+(tww*itf_Vbi_ei));
4799 dqfh_Vbi_ci=((tww_Vbi_ci*itf)+(tww*itf_Vbi_ci));
4800 dqfh_Vb_ci=((tww_Vb_ci*itf)+(tww*itf_Vb_ci));
4804 #if defined(_DYNAMIC)
4805 dtfh=(tww*(1+(((2*ick)/itf)/s3)));
4807 #if defined(_DYNAMIC)
4809 double m00_logE(d00_logE0,(itf/ick))
4810 double
m00_exp(d00_exp1,(gte*d00_logE0))
4811 #if defined(_DERIVATE)
4812 double m10_logE(d10_logE0,d00_logE0,(itf/ick))
4813 #define d10_exp1 d00_exp1
4815 #if defined(_DERIVATE)
4816 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));
4817 dtef_Vbi_ei=(tef0_t*(gte*((itf_Vbi_ei*ick-itf*ick_Vbi_ei)/ick/ick)*d10_logE0)*d10_exp1);
4818 dtef_Vbi_ci=(tef0_t*(gte*((itf_Vbi_ci*ick-itf*ick_Vbi_ci)/ick/ick)*d10_logE0)*d10_exp1);
4819 dtef_Vb_ci=(tef0_t*(gte*((itf_Vb_ci*ick-itf*ick_Vb_ci)/ick/ick)*d10_logE0)*d10_exp1);
4820 dtef_Vci_ei=(tef0_t*(gte*((itf_Vci_ei*ick-itf*ick_Vci_ei)/ick/ick)*d10_logE0)*d10_exp1);
4822 dtef=(tef0_t*d00_exp1);
4825 #if defined(_DYNAMIC)
4826 #if defined(_DERIVATE)
4827 dqef_Vtnode_GND=(((dtef_Vtnode_GND*itf)+(dtef*itf_Vtnode_GND))/(gte+1.0));
4828 dqef_Vbi_ei=(((dtef_Vbi_ei*itf)+(dtef*itf_Vbi_ei))/(gte+1.0));
4829 dqef_Vbi_ci=(((dtef_Vbi_ci*itf)+(dtef*itf_Vbi_ci))/(gte+1.0));
4830 dqef_Vb_ci=(((dtef_Vb_ci*itf)+(dtef*itf_Vb_ci))/(gte+1.0));
4831 dqef_Vci_ei=(((dtef_Vci_ei*itf)+(dtef*itf_Vci_ei))/(gte+1.0));
4833 dqef=((dtef*itf)/(gte+1.0));
4835 #if defined(_DYNAMIC)
4836 #if defined(_DERIVATE)
4837 qf_Vtnode_GND=((qf0_Vtnode_GND+dqef_Vtnode_GND)+dqfh_Vtnode_GND);
4838 qf_Vbi_ci=((qf0_Vbi_ci+dqef_Vbi_ci)+dqfh_Vbi_ci);
4839 qf_Vb_ci=((qf0_Vb_ci+dqef_Vb_ci)+dqfh_Vb_ci);
4840 qf_Vbi_ei=((qf0_Vbi_ei+dqef_Vbi_ei)+dqfh_Vbi_ei);
4841 qf_Vci_ei=((qf0_Vci_ei+dqef_Vci_ei)+dqfh_Vci_ei);
4843 qf=((qf0+dqef)+dqfh);
4845 #if defined(_DYNAMIC)
4846 tf=((tf0+dtfh)+dtef);
4848 #if defined(_DYNAMIC)
4849 #if defined(_DERIVATE)
4850 qr_Vtnode_GND=(tr*itr_Vtnode_GND);
4851 qr_Vbi_ci=(tr*itr_Vbi_ci);
4852 qr_Vbi_ei=(tr*itr_Vbi_ei);
4853 qr_Vb_ci=(tr*itr_Vb_ci);
4854 qr_Vci_ei=(tr*itr_Vci_ei);
4858 #if defined(_DERIVATE)
4859 ibrec_Vtnode_GND=(ibhrec*qmBw_Vtnode_GND);
4860 ibrec_Vbi_ei=(ibhrec*qmBw_Vbi_ei);
4861 ibrec_Vci_ei=(ibhrec*qmBw_Vci_ei);
4862 ibrec_Vbi_ci=(ibhrec*qmBw_Vbi_ci);
4863 ibrec_Vb_ci=(ibhrec*qmBw_Vb_ci);
4865 ibrec=(ibhrec*qmBw);
4866 #if defined(_DERIVATE)
4869 DIOY_Vbi_ei=(Vbiei_Vbi_ei/(mbe*VT));
4870 DIOY_Vtnode_GND=(-Vbiei*(mbe*VT_Vtnode_GND)/(mbe*VT)/(mbe*VT));
4872 DIOY=(Vbiei/(mbe*VT));
4879 #if defined(_DERIVATE)
4882 le_Vbi_ei=DIOY_Vbi_ei;
4883 le_Vtnode_GND=DIOY_Vtnode_GND;
4886 #if defined(_DERIVATE)
4890 DIOY_Vtnode_GND=0.0;
4896 #if defined(_DERIVATE)
4906 #if defined(_DERIVATE)
4907 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
4909 #if defined(_DERIVATE)
4912 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
4913 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
4915 le=(le*d00_limexp0);
4917 #if defined(_DERIVATE)
4918 ibe_Vtnode_GND=((ibes_t_Vtnode_GND*(le-1.0))+(ibes_t*le_Vtnode_GND));
4919 ibe_Vbi_ei=(ibes_t*le_Vbi_ei);
4921 ibe=(ibes_t*(le-1.0));
4925 #if defined(_DERIVATE)
4926 ibe_Vtnode_GND=(-ibes_t_Vtnode_GND);
4934 #if defined(_DERIVATE)
4940 #if defined(_DERIVATE)
4943 DIOY_Vbi_ei=(Vbiei_Vbi_ei/(mre*VT));
4944 DIOY_Vtnode_GND=(-Vbiei*(mre*VT_Vtnode_GND)/(mre*VT)/(mre*VT));
4946 DIOY=(Vbiei/(mre*VT));
4953 #if defined(_DERIVATE)
4956 le_Vbi_ei=DIOY_Vbi_ei;
4957 le_Vtnode_GND=DIOY_Vtnode_GND;
4960 #if defined(_DERIVATE)
4964 DIOY_Vtnode_GND=0.0;
4970 #if defined(_DERIVATE)
4980 #if defined(_DERIVATE)
4981 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
4983 #if defined(_DERIVATE)
4986 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
4987 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
4989 le=(le*d00_limexp0);
4991 #if defined(_DERIVATE)
4992 ire_Vtnode_GND=((ires_t_Vtnode_GND*(le-1.0))+(ires_t*le_Vtnode_GND));
4993 ire_Vbi_ei=(ires_t*le_Vbi_ei);
4995 ire=(ires_t*(le-1.0));
4999 #if defined(_DERIVATE)
5000 ire_Vtnode_GND=(-ires_t_Vtnode_GND);
5008 #if defined(_DERIVATE)
5014 #if defined(_DERIVATE)
5015 ijbe_Vtnode_GND=((ibe_Vtnode_GND+ire_Vtnode_GND)+ibrec_Vtnode_GND);
5016 ijbe_Vbi_ei=((ibe_Vbi_ei+ire_Vbi_ei)+ibrec_Vbi_ei);
5017 ijbe_Vci_ei=ibrec_Vci_ei;
5018 ijbe_Vbi_ci=ibrec_Vbi_ci;
5019 ijbe_Vb_ci=ibrec_Vb_ci;
5021 ijbe=((ibe+ire)+ibrec);
5022 #if defined(_DERIVATE)
5024 DIOY_Vbi_ci=(Vbici_Vbi_ci/(mbc*VT));
5026 DIOY_Vtnode_GND=(-Vbici*(mbc*VT_Vtnode_GND)/(mbc*VT)/(mbc*VT));
5028 DIOY=(Vbici/(mbc*VT));
5035 #if defined(_DERIVATE)
5037 le_Vbi_ci=DIOY_Vbi_ci;
5038 le_Vbi_ei=DIOY_Vbi_ei;
5039 le_Vtnode_GND=DIOY_Vtnode_GND;
5042 #if defined(_DERIVATE)
5046 DIOY_Vtnode_GND=0.0;
5052 #if defined(_DERIVATE)
5062 #if defined(_DERIVATE)
5063 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
5065 #if defined(_DERIVATE)
5067 le_Vbi_ci=((le_Vbi_ci*d00_limexp0)+(le*DIOY_Vbi_ci*d10_limexp0));
5068 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
5069 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
5071 le=(le*d00_limexp0);
5073 #if defined(_DERIVATE)
5074 ijbc_Vtnode_GND=((ibcs_t_Vtnode_GND*(le-1.0))+(ibcs_t*le_Vtnode_GND));
5075 ijbc_Vbi_ci=(ibcs_t*le_Vbi_ci);
5076 ijbc_Vbi_ei=(ibcs_t*le_Vbi_ei);
5078 ijbc=(ibcs_t*(le-1.0));
5082 #if defined(_DERIVATE)
5083 ijbc_Vtnode_GND=(-ibcs_t_Vtnode_GND);
5092 #if defined(_DERIVATE)
5093 ijbc_Vtnode_GND=0.0;
5099 #if defined(_DERIVATE)
5100 ibi_Vtnode_GND=(ijbe_Vtnode_GND+ijbc_Vtnode_GND);
5101 ibi_Vbi_ei=(ijbe_Vbi_ei+ijbc_Vbi_ei);
5102 ibi_Vci_ei=ijbe_Vci_ei;
5103 ibi_Vbi_ci=(ijbe_Vbi_ci+ijbc_Vbi_ci);
5104 ibi_Vb_ci=ijbe_Vb_ci;
5110 #if defined(_DERIVATE)
5111 v_bord_Vtnode_GND=((eavl_t_Vtnode_GND*vdci_t)+(eavl_t*vdci_t_Vtnode_GND));
5113 v_bord=(eavl_t*vdci_t);
5115 (((vdci_t-Vbici)>v_bord))
5118 double m00_exp(d00_exp0,(-cc))
5119 #if defined(_DERIVATE)
5120 #define d10_exp0 d00_exp0
5122 #if defined(_DERIVATE)
5123 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));
5124 a_iavl_Vbi_ci=((kavl_t/vdci_t)*(-cc_Vbi_ci)*d10_exp0);
5125 a_iavl_Vb_ci=((kavl_t/vdci_t)*(-cc_Vb_ci)*d10_exp0);
5127 a_iavl=((kavl_t/vdci_t)*d00_exp0);
5129 #if defined(_DERIVATE)
5130 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))))));
5131 iavl_Vbi_ei=itf_Vbi_ei*a_iavl*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord)));
5132 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)))));
5133 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)));
5134 iavl_Vci_ei=itf_Vci_ei*a_iavl*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord)));
5136 iavl=((itf*a_iavl)*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord))));
5142 #if defined(_DERIVATE)
5143 double m10_logE(d10_logE0,d00_logE0,(1/cc))
5145 #if defined(_DERIVATE)
5146 lncc_Vbi_ci=(-1*cc_Vbi_ci/cc/cc)*d10_logE0;
5147 lncc_Vtnode_GND=(-1*cc_Vtnode_GND/cc/cc)*d10_logE0;
5148 lncc_Vb_ci=(-1*cc_Vb_ci/cc/cc)*d10_logE0;
5153 double m00_exp(d00_exp0,(((1/zci)-1)*lncc))
5154 double
m00_exp(d00_exp1,((((-1)/zci)*lncc)-(eavl_t*d00_exp0)))
5155 #if defined(_DERIVATE)
5156 #define d10_exp0 d00_exp0
5157 #define d10_exp1 d00_exp1
5159 #if defined(_DERIVATE)
5160 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));
5161 iavl_Vbi_ei=(kavl_t*itf_Vbi_ei)*d00_exp1;
5162 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));
5163 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));
5164 iavl_Vci_ei=(kavl_t*itf_Vci_ei)*d00_exp1;
5166 iavl=((kavl_t*itf)*d00_exp1);
5172 #if defined(_DERIVATE)
5173 iavl_Vtnode_GND=0.0;
5186 double
m00_exp(d00_exp1,((-d00_logE0)/ze))
5187 #if defined(_DERIVATE)
5188 double m10_logE(d10_logE0,d00_logE0,aje_t)
5189 #define d10_exp1 d00_exp1
5191 #if defined(_DERIVATE)
5192 vf_Vtnode_GND=((vde_t_Vtnode_GND*(1.0-d00_exp1))+(vde_t*(-((-aje_t_Vtnode_GND*d10_logE0)/ze)*d10_exp1)));
5194 vf=(vde_t*(1.0-d00_exp1));
5196 #if defined(_DERIVATE)
5198 xvf_Vbi_ei=((-Vbiei_Vbi_ei)/VT);
5200 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbiei)*VT_Vtnode_GND)/VT/VT);
5203 xvf=((vf-Vbiei)/VT);
5205 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
5206 #if defined(_DERIVATE)
5207 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
5209 #if defined(_DERIVATE)
5211 xvf2_Vbi_ei=((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))*d10_sqrt0;
5212 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
5213 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
5214 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
5218 #if defined(_DERIVATE)
5220 v_j_Vbi_ei=(-(VT*(xvf_Vbi_ei+xvf2_Vbi_ei))*0.5);
5221 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
5222 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
5223 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
5225 v_j=(vf-((VT*(xvf+xvf2))*0.5));
5226 #if defined(_DERIVATE)
5235 double m00_logE(d00_logE0,(1.0-(v_j/vde_t)))
5236 double
m00_exp(d00_exp1,(x*d00_logE0))
5237 #if defined(_DERIVATE)
5238 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vde_t)))
5239 #define d10_exp1 d00_exp1
5241 #if defined(_DERIVATE)
5243 y_Vci_ei=(-x_Vci_ei*d00_logE0*d10_exp1);
5244 y_Vbi_ei=(-((x_Vbi_ei*d00_logE0)+(x*(-(v_j_Vbi_ei/vde_t))*d10_logE0))*d10_exp1);
5245 y_Vbi_ci=(-((x_Vbi_ci*d00_logE0)+(x*(-(v_j_Vbi_ci/vde_t))*d10_logE0))*d10_exp1);
5246 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);
5247 y_Vb_ci=(-((x_Vb_ci*d00_logE0)+(x*(-(v_j_Vb_ci/vde_t))*d10_logE0))*d10_exp1);
5251 #if defined(_DERIVATE)
5252 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))));
5253 qjei_Vci_ei=((((cje0_t*vde_t)*y_Vci_ei)*x-((cje0_t*vde_t)*y)*x_Vci_ei)/x/x);
5254 qjei_Vbi_ei=(((((cje0_t*vde_t)*y_Vbi_ei)*x-((cje0_t*vde_t)*y)*x_Vbi_ei)/x/x)+((aje_t*cje0_t)*(Vbiei_Vbi_ei-v_j_Vbi_ei)));
5255 qjei_Vbi_ci=(((((cje0_t*vde_t)*y_Vbi_ci)*x-((cje0_t*vde_t)*y)*x_Vbi_ci)/x/x)+((aje_t*cje0_t)*(-v_j_Vbi_ci)));
5256 qjei_Vb_ci=(((((cje0_t*vde_t)*y_Vb_ci)*x-((cje0_t*vde_t)*y)*x_Vb_ci)/x/x)+((aje_t*cje0_t)*(-v_j_Vb_ci)));
5258 qjei=((((cje0_t*vde_t)*y)/
x)+((aje_t*cje0_t)*(Vbiei-v_j)));
5262 #if defined(_DERIVATE)
5263 qjei_Vtnode_GND=0.0;
5271 #if defined(_DERIVATE)
5272 qje_Vtnode_GND=((qjei_Vtnode_GND*cje0_t-qjei*cje0_t_Vtnode_GND)/cje0_t/cje0_t);
5273 qje_Vci_ei=(qjei_Vci_ei/cje0_t);
5274 qje_Vbi_ei=(qjei_Vbi_ei/cje0_t);
5275 qje_Vbi_ci=(qjei_Vbi_ci/cje0_t);
5276 qje_Vb_ci=(qjei_Vb_ci/cje0_t);
5282 #if defined(_DERIVATE)
5283 qjci_Vbi_ci=(qjci_Vbi_ci/cjci0_t_ii);
5284 qjci_Vtnode_GND=((qjci_Vtnode_GND*cjci0_t_ii-qjci*cjci0_t_ii_Vtnode_GND)/cjci0_t_ii/cjci0_t_ii);
5285 qjci_Vb_ci=(qjci_Vb_ci/cjci0_t_ii);
5287 qjci=(qjci/cjci0_t_ii);
5291 #if defined(_DERIVATE)
5293 qjci_Vtnode_GND=0.0;
5301 #if defined(_DERIVATE)
5302 Qz_nom_Vtnode_GND=(((qje_Vtnode_GND/vr0e)+(qjci_Vtnode_GND/vr0c))+qm0_Vtnode_GND);
5303 Qz_nom_Vci_ei=(qje_Vci_ei/vr0e);
5304 Qz_nom_Vbi_ei=((qje_Vbi_ei/vr0e)+qm0_Vbi_ei);
5305 Qz_nom_Vbi_ci=(((qje_Vbi_ci/vr0e)+(qjci_Vbi_ci/vr0c))+qm0_Vbi_ci);
5306 Qz_nom_Vb_ci=(((qje_Vb_ci/vr0e)+(qjci_Vb_ci/vr0c))+qm0_Vb_ci);
5308 Qz_nom=(((1+(qje/vr0e))+(qjci/vr0c))+qm0);
5310 double m00_sqrt(d00_sqrt0,((Qz_nom*Qz_nom)+0.01))
5311 #if defined(_DERIVATE)
5312 double m10_sqrt(d10_sqrt0,d00_sqrt0,((Qz_nom*Qz_nom)+0.01))
5314 #if defined(_DERIVATE)
5315 fQz_Vtnode_GND=(0.5*(Qz_nom_Vtnode_GND+((Qz_nom_Vtnode_GND*Qz_nom)+(Qz_nom*Qz_nom_Vtnode_GND))*d10_sqrt0));
5316 fQz_Vci_ei=(0.5*(Qz_nom_Vci_ei+((Qz_nom_Vci_ei*Qz_nom)+(Qz_nom*Qz_nom_Vci_ei))*d10_sqrt0));
5317 fQz_Vbi_ei=(0.5*(Qz_nom_Vbi_ei+((Qz_nom_Vbi_ei*Qz_nom)+(Qz_nom*Qz_nom_Vbi_ei))*d10_sqrt0));
5318 fQz_Vbi_ci=(0.5*(Qz_nom_Vbi_ci+((Qz_nom_Vbi_ci*Qz_nom)+(Qz_nom*Qz_nom_Vbi_ci))*d10_sqrt0));
5319 fQz_Vb_ci=(0.5*(Qz_nom_Vb_ci+((Qz_nom_Vb_ci*Qz_nom)+(Qz_nom*Qz_nom_Vb_ci))*d10_sqrt0));
5321 fQz=(0.5*(Qz_nom+d00_sqrt0));
5323 #if defined(_DERIVATE)
5324 rbi_Vtnode_GND=((rbi0_t_Vtnode_GND*fQz-rbi0_t*fQz_Vtnode_GND)/fQz/fQz);
5325 rbi_Vci_ei=(-rbi0_t*fQz_Vci_ei/fQz/fQz);
5326 rbi_Vbi_ei=(-rbi0_t*fQz_Vbi_ei/fQz/fQz);
5327 rbi_Vbi_ci=(-rbi0_t*fQz_Vbi_ci/fQz/fQz);
5328 rbi_Vb_ci=(-rbi0_t*fQz_Vb_ci/fQz/fQz);
5334 #if defined(_DERIVATE)
5335 eta_Vtnode_GND=(((((fgeo*rbi_Vtnode_GND)*ibi)+((fgeo*rbi)*ibi_Vtnode_GND))*VT-((fgeo*rbi)*ibi)*VT_Vtnode_GND)/VT/VT);
5336 eta_Vci_ei=((((fgeo*rbi_Vci_ei)*ibi)+((fgeo*rbi)*ibi_Vci_ei))/VT);
5337 eta_Vbi_ei=((((fgeo*rbi_Vbi_ei)*ibi)+((fgeo*rbi)*ibi_Vbi_ei))/VT);
5338 eta_Vbi_ci=((((fgeo*rbi_Vbi_ci)*ibi)+((fgeo*rbi)*ibi_Vbi_ci))/VT);
5339 eta_Vb_ci=((((fgeo*rbi_Vb_ci)*ibi)+((fgeo*rbi)*ibi_Vb_ci))/VT);
5341 eta=(((fgeo*rbi)*ibi)/VT);
5345 #if defined(_DERIVATE)
5346 rbi_Vtnode_GND=((rbi_Vtnode_GND*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vtnode_GND))));
5347 rbi_Vci_ei=((rbi_Vci_ei*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vci_ei))));
5348 rbi_Vbi_ei=((rbi_Vbi_ei*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vbi_ei))));
5349 rbi_Vbi_ci=((rbi_Vbi_ci*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vbi_ci))));
5350 rbi_Vb_ci=((rbi_Vb_ci*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vb_ci))));
5352 rbi=(rbi*(1-(0.5*eta)));
5358 #if defined(_DERIVATE)
5359 double m10_logE(d10_logE0,d00_logE0,(eta+1))
5361 #if defined(_DERIVATE)
5362 rbi_Vtnode_GND=((((rbi_Vtnode_GND*d00_logE0)+(rbi*eta_Vtnode_GND*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vtnode_GND)/eta/eta);
5363 rbi_Vci_ei=((((rbi_Vci_ei*d00_logE0)+(rbi*eta_Vci_ei*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vci_ei)/eta/eta);
5364 rbi_Vbi_ei=((((rbi_Vbi_ei*d00_logE0)+(rbi*eta_Vbi_ei*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vbi_ei)/eta/eta);
5365 rbi_Vbi_ci=((((rbi_Vbi_ci*d00_logE0)+(rbi*eta_Vbi_ci*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vbi_ci)/eta/eta);
5366 rbi_Vb_ci=((((rbi_Vb_ci*d00_logE0)+(rbi*eta_Vb_ci*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vb_ci)/eta/eta);
5368 rbi=((rbi*d00_logE0)/eta);
5375 #if defined(_DERIVATE)
5384 #if defined(_DERIVATE)
5385 rb_Vtnode_GND=(rbi_Vtnode_GND+rbx_t_Vtnode_GND);
5386 rb_Vci_ei=rbi_Vci_ei;
5387 rb_Vbi_ei=rbi_Vbi_ei;
5388 rb_Vbi_ci=rbi_Vbi_ci;
5395 #if defined(_DERIVATE)
5396 HSUM_Vtnode_GND=(msf*VT_Vtnode_GND);
5401 #if defined(_DERIVATE)
5402 double m10_limexp(d10_limexp0,d00_limexp0,(Vbci/HSUM))
5404 #if defined(_DERIVATE)
5405 HSa_Vb_ci=(Vbci_Vb_ci/HSUM)*d10_limexp0;
5406 HSa_Vtnode_GND=(-Vbci*HSUM_Vtnode_GND/HSUM/HSUM)*d10_limexp0;
5412 #if defined(_DERIVATE)
5413 double m10_limexp(d10_limexp0,d00_limexp0,(Vsci/HSUM))
5415 #if defined(_DERIVATE)
5416 HSb_Vs_ci=(Vsci_Vs_ci/HSUM)*d10_limexp0;
5417 HSb_Vtnode_GND=(-Vsci*HSUM_Vtnode_GND/HSUM/HSUM)*d10_limexp0;
5421 #if defined(_DERIVATE)
5422 HSI_Tsu_Vtnode_GND=((itss_t_Vtnode_GND*(HSa-HSb))+(itss_t*(HSa_Vtnode_GND-HSb_Vtnode_GND)));
5423 HSI_Tsu_Vb_ci=(itss_t*HSa_Vb_ci);
5424 HSI_Tsu_Vs_ci=(itss_t*(-HSb_Vs_ci));
5426 HSI_Tsu=(itss_t*(HSa-HSb));
5430 #if defined(_DERIVATE)
5431 HSI_Tsu_Vtnode_GND=0.0;
5437 #if defined(_DERIVATE)
5438 DIOY_Vs_ci=(Vsci_Vs_ci/(msc*VT));
5441 DIOY_Vtnode_GND=(-Vsci*(msc*VT_Vtnode_GND)/(msc*VT)/(msc*VT));
5443 DIOY=(Vsci/(msc*VT));
5450 #if defined(_DERIVATE)
5451 le_Vs_ci=DIOY_Vs_ci;
5452 le_Vbi_ci=DIOY_Vbi_ci;
5453 le_Vbi_ei=DIOY_Vbi_ei;
5454 le_Vtnode_GND=DIOY_Vtnode_GND;
5457 #if defined(_DERIVATE)
5461 DIOY_Vtnode_GND=0.0;
5467 #if defined(_DERIVATE)
5477 #if defined(_DERIVATE)
5478 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
5480 #if defined(_DERIVATE)
5481 le_Vs_ci=((le_Vs_ci*d00_limexp0)+(le*DIOY_Vs_ci*d10_limexp0));
5482 le_Vbi_ci=((le_Vbi_ci*d00_limexp0)+(le*DIOY_Vbi_ci*d10_limexp0));
5483 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
5484 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
5486 le=(le*d00_limexp0);
5488 #if defined(_DERIVATE)
5489 ijsc_Vtnode_GND=((iscs_t_Vtnode_GND*(le-1.0))+(iscs_t*le_Vtnode_GND));
5490 ijsc_Vs_ci=(iscs_t*le_Vs_ci);
5491 ijsc_Vbi_ci=(iscs_t*le_Vbi_ci);
5492 ijsc_Vbi_ei=(iscs_t*le_Vbi_ei);
5494 ijsc=(iscs_t*(le-1.0));
5498 #if defined(_DERIVATE)
5499 ijsc_Vtnode_GND=(-iscs_t_Vtnode_GND);
5509 #if defined(_DERIVATE)
5510 ijsc_Vtnode_GND=0.0;
5525 #if defined(_DYNAMIC)
5528 #if defined(_DYNAMIC)
5529 #if defined(_DERIVATE)
5530 vp_Vtnode_GND=(-vds_t_Vtnode_GND);
5534 #if defined(_DYNAMIC)
5537 double
m00_exp(d00_exp1,((-d00_logE0)/zs))
5538 #if defined(_DERIVATE)
5539 vf_Vtnode_GND=vds_t_Vtnode_GND*(1.0-d00_exp1);
5541 vf=(vds_t*(1.0-d00_exp1));
5544 #if defined(_DYNAMIC)
5545 #if defined(_DERIVATE)
5546 cmax_Vtnode_GND=(2.4*cjs0_t_Vtnode_GND);
5550 #if defined(_DYNAMIC)
5552 double m00_logE(d00_logE0,(vds_t/vpts))
5553 double
m00_exp(d00_exp1,((zs-zr)*d00_logE0))
5554 #if defined(_DERIVATE)
5555 double m10_logE(d10_logE0,d00_logE0,(vds_t/vpts))
5556 #define d10_exp1 d00_exp1
5558 #if defined(_DERIVATE)
5559 cr_Vtnode_GND=((cjs0_t_Vtnode_GND*d00_exp1)+(cjs0_t*((zs-zr)*(vds_t_Vtnode_GND/vpts)*d10_logE0)*d10_exp1));
5561 cr=(cjs0_t*d00_exp1);
5564 #if defined(_DYNAMIC)
5565 #if defined(_DERIVATE)
5570 a_Vtnode_GND=VT_Vtnode_GND;
5574 #if defined(_DYNAMIC)
5575 #if defined(_DERIVATE)
5576 ve_Vs_ci=((-Vsci_Vs_ci)/a);
5577 ve_Vci_ei=(-(vf-Vsci)*a_Vci_ei/a/a);
5578 ve_Vbi_ei=(-(vf-Vsci)*a_Vbi_ei/a/a);
5579 ve_Vbi_ci=(-(vf-Vsci)*a_Vbi_ci/a/a);
5580 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vsci)*a_Vtnode_GND)/a/a);
5581 ve_Vb_ci=(-(vf-Vsci)*a_Vb_ci/a/a);
5589 #if defined(_DYNAMIC)
5592 #if defined(_DERIVATE)
5593 #define d10_exp0 d00_exp0
5595 #if defined(_DERIVATE)
5596 ex1_Vs_ci=ve_Vs_ci*d10_exp0;
5597 ex1_Vci_ei=ve_Vci_ei*d10_exp0;
5598 ex1_Vbi_ei=ve_Vbi_ei*d10_exp0;
5599 ex1_Vbi_ci=ve_Vbi_ci*d10_exp0;
5600 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
5601 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
5606 #if defined(_DYNAMIC)
5607 #if defined(_DERIVATE)
5608 ee1_Vs_ci=ex1_Vs_ci;
5609 ee1_Vci_ei=ex1_Vci_ei;
5610 ee1_Vbi_ei=ex1_Vbi_ei;
5611 ee1_Vbi_ci=ex1_Vbi_ci;
5612 ee1_Vtnode_GND=ex1_Vtnode_GND;
5613 ee1_Vb_ci=ex1_Vb_ci;
5617 #if defined(_DYNAMIC)
5620 #if defined(_DERIVATE)
5621 double m10_logE(d10_logE0,d00_logE0,ee1)
5623 #if defined(_DERIVATE)
5624 vj1_Vci_ei=(-((a_Vci_ei*d00_logE0)+(a*ee1_Vci_ei*d10_logE0)));
5625 vj1_Vbi_ei=(-((a_Vbi_ei*d00_logE0)+(a*ee1_Vbi_ei*d10_logE0)));
5626 vj1_Vs_ci=(-(a*ee1_Vs_ci*d10_logE0));
5627 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
5628 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
5629 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
5631 vj1=(vf-(a*d00_logE0));
5637 #if defined(_DYNAMIC)
5638 #if defined(_DERIVATE)
5641 vj1_Vs_ci=Vsci_Vs_ci;
5650 #if defined(_DYNAMIC)
5651 #if defined(_DERIVATE)
5656 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
5658 a=((0.1*vp)+(4.0*VT));
5660 #if defined(_DYNAMIC)
5661 #if defined(_DERIVATE)
5662 vr_Vci_ei=((vj1_Vci_ei*a-(vp+vj1)*a_Vci_ei)/a/a);
5663 vr_Vbi_ei=((vj1_Vbi_ei*a-(vp+vj1)*a_Vbi_ei)/a/a);
5664 vr_Vs_ci=(vj1_Vs_ci/a);
5665 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
5666 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
5667 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
5675 #if defined(_DYNAMIC)
5678 #if defined(_DERIVATE)
5679 #define d10_exp0 d00_exp0
5681 #if defined(_DERIVATE)
5682 ex1_Vs_ci=vr_Vs_ci*d10_exp0;
5683 ex1_Vci_ei=vr_Vci_ei*d10_exp0;
5684 ex1_Vbi_ei=vr_Vbi_ei*d10_exp0;
5685 ex1_Vbi_ci=vr_Vbi_ci*d10_exp0;
5686 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
5687 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
5692 #if defined(_DYNAMIC)
5693 #if defined(_DERIVATE)
5694 ee1_Vs_ci=ex1_Vs_ci;
5695 ee1_Vci_ei=ex1_Vci_ei;
5696 ee1_Vbi_ei=ex1_Vbi_ei;
5697 ee1_Vbi_ci=ex1_Vbi_ci;
5698 ee1_Vtnode_GND=ex1_Vtnode_GND;
5699 ee1_Vb_ci=ex1_Vb_ci;
5703 #if defined(_DYNAMIC)
5706 #if defined(_DERIVATE)
5707 double m10_logE(d10_logE0,d00_logE0,ee1)
5709 #if defined(_DERIVATE)
5710 vj2_Vci_ei=((a_Vci_ei*d00_logE0)+(a*ee1_Vci_ei*d10_logE0));
5711 vj2_Vbi_ei=((a_Vbi_ei*d00_logE0)+(a*ee1_Vbi_ei*d10_logE0));
5712 vj2_Vs_ci=(a*ee1_Vs_ci*d10_logE0);
5713 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
5714 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
5715 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
5717 vj2=((-vp)+(a*d00_logE0));
5723 #if defined(_DYNAMIC)
5724 #if defined(_DERIVATE)
5725 vj2_Vci_ei=vj1_Vci_ei;
5726 vj2_Vbi_ei=vj1_Vbi_ei;
5727 vj2_Vs_ci=vj1_Vs_ci;
5728 vj2_Vbi_ci=vj1_Vbi_ci;
5729 vj2_Vtnode_GND=vj1_Vtnode_GND;
5730 vj2_Vb_ci=vj1_Vb_ci;
5736 #if defined(_DYNAMIC)
5737 #if defined(_DERIVATE)
5738 vj4_Vs_ci=(Vsci_Vs_ci-vj1_Vs_ci);
5739 vj4_Vci_ei=(-vj1_Vci_ei);
5740 vj4_Vbi_ei=(-vj1_Vbi_ei);
5741 vj4_Vbi_ci=(-vj1_Vbi_ci);
5742 vj4_Vb_ci=(-vj1_Vb_ci);
5743 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
5747 #if defined(_DYNAMIC)
5750 #if defined(_DYNAMIC)
5753 #if defined(_DYNAMIC)
5755 double m00_logE(d00_logE0,(1.0-(vj1/vds_t)))
5756 #if defined(_DERIVATE)
5757 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vds_t)))
5759 #if defined(_DERIVATE)
5760 vdj1_Vci_ei=(-(vj1_Vci_ei/vds_t))*d10_logE0;
5761 vdj1_Vbi_ei=(-(vj1_Vbi_ei/vds_t))*d10_logE0;
5762 vdj1_Vs_ci=(-(vj1_Vs_ci/vds_t))*d10_logE0;
5763 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vds_t))*d10_logE0;
5764 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vds_t-vj1*vds_t_Vtnode_GND)/vds_t/vds_t))*d10_logE0;
5765 vdj1_Vb_ci=(-(vj1_Vb_ci/vds_t))*d10_logE0;
5770 #if defined(_DYNAMIC)
5772 double m00_logE(d00_logE0,(1.0-(vj2/vds_t)))
5773 #if defined(_DERIVATE)
5774 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vds_t)))
5776 #if defined(_DERIVATE)
5777 vdj2_Vci_ei=(-(vj2_Vci_ei/vds_t))*d10_logE0;
5778 vdj2_Vbi_ei=(-(vj2_Vbi_ei/vds_t))*d10_logE0;
5779 vdj2_Vs_ci=(-(vj2_Vs_ci/vds_t))*d10_logE0;
5780 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vds_t))*d10_logE0;
5781 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vds_t-vj2*vds_t_Vtnode_GND)/vds_t/vds_t))*d10_logE0;
5782 vdj2_Vb_ci=(-(vj2_Vb_ci/vds_t))*d10_logE0;
5787 #if defined(_DYNAMIC)
5789 double m00_exp(d00_exp0,(vdj2*ez))
5790 #if defined(_DERIVATE)
5791 #define d10_exp0 d00_exp0
5793 #if defined(_DERIVATE)
5794 qj1_Vci_ei=((cjs0_t*(-vdj2_Vci_ei*ez*d10_exp0))/ez);
5795 qj1_Vbi_ei=((cjs0_t*(-vdj2_Vbi_ei*ez*d10_exp0))/ez);
5796 qj1_Vs_ci=((cjs0_t*(-vdj2_Vs_ci*ez*d10_exp0))/ez);
5797 qj1_Vbi_ci=((cjs0_t*(-vdj2_Vbi_ci*ez*d10_exp0))/ez);
5798 qj1_Vtnode_GND=(((cjs0_t_Vtnode_GND*(1.0-d00_exp0))+(cjs0_t*(-vdj2_Vtnode_GND*ez*d10_exp0)))/ez);
5799 qj1_Vb_ci=((cjs0_t*(-vdj2_Vb_ci*ez*d10_exp0))/ez);
5801 qj1=((cjs0_t*(1.0-d00_exp0))/ez);
5804 #if defined(_DYNAMIC)
5806 double m00_exp(d00_exp0,(vdj1*ezr))
5807 #if defined(_DERIVATE)
5808 #define d10_exp0 d00_exp0
5810 #if defined(_DERIVATE)
5811 qj2_Vci_ei=((cr*(-vdj1_Vci_ei*ezr*d10_exp0))/ezr);
5812 qj2_Vbi_ei=((cr*(-vdj1_Vbi_ei*ezr*d10_exp0))/ezr);
5813 qj2_Vs_ci=((cr*(-vdj1_Vs_ci*ezr*d10_exp0))/ezr);
5814 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*d10_exp0))/ezr);
5815 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*d10_exp0)))/ezr);
5816 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*d10_exp0))/ezr);
5818 qj2=((cr*(1.0-d00_exp0))/ezr);
5821 #if defined(_DYNAMIC)
5823 double m00_exp(d00_exp0,(vdj2*ezr))
5824 #if defined(_DERIVATE)
5825 #define d10_exp0 d00_exp0
5827 #if defined(_DERIVATE)
5828 qj3_Vci_ei=((cr*(-vdj2_Vci_ei*ezr*d10_exp0))/ezr);
5829 qj3_Vbi_ei=((cr*(-vdj2_Vbi_ei*ezr*d10_exp0))/ezr);
5830 qj3_Vs_ci=((cr*(-vdj2_Vs_ci*ezr*d10_exp0))/ezr);
5831 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*d10_exp0))/ezr);
5832 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*d10_exp0)))/ezr);
5833 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*d10_exp0))/ezr);
5835 qj3=((cr*(1.0-d00_exp0))/ezr);
5838 #if defined(_DYNAMIC)
5839 #if defined(_DERIVATE)
5840 qjs_Vci_ei=(((qj1_Vci_ei+qj2_Vci_ei)-qj3_Vci_ei)*vds_t+(cmax*vj4_Vci_ei));
5841 qjs_Vbi_ei=(((qj1_Vbi_ei+qj2_Vbi_ei)-qj3_Vbi_ei)*vds_t+(cmax*vj4_Vbi_ei));
5842 qjs_Vs_ci=(((qj1_Vs_ci+qj2_Vs_ci)-qj3_Vs_ci)*vds_t+(cmax*vj4_Vs_ci));
5843 qjs_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vds_t+(cmax*vj4_Vbi_ci));
5844 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)));
5845 qjs_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vds_t+(cmax*vj4_Vb_ci));
5847 qjs=((((qj1+qj2)-qj3)*vds_t)+(cmax*vj4));
5852 #if defined(_DYNAMIC)
5853 #if defined(_DERIVATE)
5872 #if defined(_DYNAMIC)
5875 double
m00_exp(d00_exp1,((-d00_logE0)/zs))
5876 #if defined(_DERIVATE)
5877 vf_Vtnode_GND=vds_t_Vtnode_GND*(1.0-d00_exp1);
5879 vf=(vds_t*(1.0-d00_exp1));
5882 #if defined(_DYNAMIC)
5883 #if defined(_DERIVATE)
5884 xvf_Vs_ci=((-Vsci_Vs_ci)/VT);
5887 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vsci)*VT_Vtnode_GND)/VT/VT);
5892 #if defined(_DYNAMIC)
5894 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
5895 #if defined(_DERIVATE)
5896 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
5898 #if defined(_DERIVATE)
5899 xvf2_Vs_ci=((xvf_Vs_ci*xvf)+(xvf*xvf_Vs_ci))*d10_sqrt0;
5900 xvf2_Vbi_ei=((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))*d10_sqrt0;
5901 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
5902 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
5903 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
5908 #if defined(_DYNAMIC)
5909 #if defined(_DERIVATE)
5910 v_j_Vs_ci=(-(VT*(xvf_Vs_ci+xvf2_Vs_ci))*0.5);
5911 v_j_Vbi_ei=(-(VT*(xvf_Vbi_ei+xvf2_Vbi_ei))*0.5);
5912 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
5913 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
5914 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
5916 v_j=(vf-((VT*(xvf+xvf2))*0.5));
5918 #if defined(_DYNAMIC)
5919 #if defined(_DERIVATE)
5928 #if defined(_DYNAMIC)
5930 double m00_logE(d00_logE0,(1.0-(v_j/vds_t)))
5931 double
m00_exp(d00_exp1,(x*d00_logE0))
5932 #if defined(_DERIVATE)
5933 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vds_t)))
5934 #define d10_exp1 d00_exp1
5936 #if defined(_DERIVATE)
5937 y_Vs_ci=(-(x*(-(v_j_Vs_ci/vds_t))*d10_logE0)*d10_exp1);
5938 y_Vci_ei=(-x_Vci_ei*d00_logE0*d10_exp1);
5939 y_Vbi_ei=(-((x_Vbi_ei*d00_logE0)+(x*(-(v_j_Vbi_ei/vds_t))*d10_logE0))*d10_exp1);
5940 y_Vbi_ci=(-((x_Vbi_ci*d00_logE0)+(x*(-(v_j_Vbi_ci/vds_t))*d10_logE0))*d10_exp1);
5941 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);
5942 y_Vb_ci=(-((x_Vb_ci*d00_logE0)+(x*(-(v_j_Vb_ci/vds_t))*d10_logE0))*d10_exp1);
5947 #if defined(_DYNAMIC)
5948 #if defined(_DERIVATE)
5949 qjs_Vci_ei=((((cjs0_t*vds_t)*y_Vci_ei)*x-((cjs0_t*vds_t)*y)*x_Vci_ei)/x/x);
5950 qjs_Vbi_ei=(((((cjs0_t*vds_t)*y_Vbi_ei)*x-((cjs0_t*vds_t)*y)*x_Vbi_ei)/x/x)+((2.4*cjs0_t)*(-v_j_Vbi_ei)));
5951 qjs_Vs_ci=((((cjs0_t*vds_t)*y_Vs_ci)/
x)+((2.4*cjs0_t)*(Vsci_Vs_ci-v_j_Vs_ci)));
5952 qjs_Vbi_ci=(((((cjs0_t*vds_t)*y_Vbi_ci)*x-((cjs0_t*vds_t)*y)*x_Vbi_ci)/x/x)+((2.4*cjs0_t)*(-v_j_Vbi_ci)));
5953 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))));
5954 qjs_Vb_ci=(((((cjs0_t*vds_t)*y_Vb_ci)*x-((cjs0_t*vds_t)*y)*x_Vb_ci)/x/x)+((2.4*cjs0_t)*(-v_j_Vb_ci)));
5956 qjs=((((cjs0_t*vds_t)*y)/
x)+((2.4*cjs0_t)*(Vsci-v_j)));
5961 #if defined(_DYNAMIC)
5962 #if defined(_DERIVATE)
5977 (((flsh==1)&&(rth_t>=0.001)))
5979 #if defined(_DERIVATE)
5984 pterm_Vtnode_GND=(it_Vtnode_GND*Vciei+((iavl_Vtnode_GND*(vdci_t-Vbici))+(iavl*vdci_t_Vtnode_GND)));
5985 pterm_Vbi_ei=(it_Vbi_ei*Vciei+iavl_Vbi_ei*(vdci_t-Vbici));
5986 pterm_Vbi_ci=(it_Vbi_ci*Vciei+((iavl_Vbi_ci*(vdci_t-Vbici))+(iavl*(-Vbici_Vbi_ci))));
5987 pterm_Vb_ci=(it_Vb_ci*Vciei+iavl_Vb_ci*(vdci_t-Vbici));
5988 pterm_Vci_ei=(((it_Vci_ei*Vciei)+(it*Vciei_Vci_ei))+iavl_Vci_ei*(vdci_t-Vbici));
5990 pterm=((it*Vciei)+(iavl*(vdci_t-Vbici)));
5995 (((flsh==2)&&(rth_t>=0.001)))
5997 #if defined(_DERIVATE)
6001 pterm_Vs_ci=((ijsc_Vs_ci*Vsci)+(ijsc*Vsci_Vs_ci));
6002 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);
6003 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);
6004 pterm_Vbi_ci=(((((Vciei*it_Vbi_ci)+(((-Vbici_Vbi_ci)*iavl)+((vdci_t-Vbici)*iavl_Vbi_ci)))+ijbe_Vbi_ci*Vbiei)+((ijbc_Vbi_ci*Vbici)+(ijbc*Vbici_Vbi_ci)))+ijsc_Vbi_ci*Vsci);
6005 pterm_Vb_ci=(((Vciei*it_Vb_ci)+((vdci_t-Vbici)*iavl_Vb_ci))+ijbe_Vb_ci*Vbiei);
6006 pterm_Vci_ei=((((Vciei_Vci_ei*it)+(Vciei*it_Vci_ei))+((vdci_t-Vbici)*iavl_Vci_ei))+ijbe_Vci_ei*Vbiei);
6008 pterm=(((((Vciei*it)+((vdci_t-Vbici)*iavl))+(ijbe*Vbiei))+(ijbc*Vbici))+(ijsc*Vsci));
6012 #if defined(_DERIVATE)
6015 pterm_Vb_bi=(pterm_Vb_bi+(((Vbbi_Vb_bi*Vbbi)+(Vbbi*Vbbi_Vb_bi))/rb));
6016 pterm_Vs_ci=pterm_Vs_ci;
6017 pterm_Vtnode_GND=(pterm_Vtnode_GND+(-(Vbbi*Vbbi)*rb_Vtnode_GND/rb/rb));
6018 pterm_Vbi_ei=(pterm_Vbi_ei+(-(Vbbi*Vbbi)*rb_Vbi_ei/rb/rb));
6019 pterm_Vbi_ci=(pterm_Vbi_ci+(-(Vbbi*Vbbi)*rb_Vbi_ci/rb/rb));
6020 pterm_Vb_ci=(pterm_Vb_ci+(-(Vbbi*Vbbi)*rb_Vb_ci/rb/rb));
6021 pterm_Vci_ei=(pterm_Vci_ei+(-(Vbbi*Vbbi)*rb_Vci_ei/rb/rb));
6023 pterm=(pterm+((Vbbi*Vbbi)/rb));
6028 #if defined(_DERIVATE)
6030 pterm_Vei_e=(pterm_Vei_e+(((Veie_Vei_e*Veie)+(Veie*Veie_Vei_e))/re_t));
6031 pterm_Vb_bi=pterm_Vb_bi;
6032 pterm_Vs_ci=pterm_Vs_ci;
6033 pterm_Vtnode_GND=(pterm_Vtnode_GND+(-(Veie*Veie)*re_t_Vtnode_GND/re_t/re_t));
6034 pterm_Vbi_ei=pterm_Vbi_ei;
6035 pterm_Vbi_ci=pterm_Vbi_ci;
6036 pterm_Vb_ci=pterm_Vb_ci;
6037 pterm_Vci_ei=pterm_Vci_ei;
6039 pterm=(pterm+((Veie*Veie)/re_t));
6044 #if defined(_DERIVATE)
6045 pterm_Vci_c=(pterm_Vci_c+(((Vcic_Vci_c*Vcic)+(Vcic*Vcic_Vci_c))/rcx_t));
6046 pterm_Vei_e=pterm_Vei_e;
6047 pterm_Vb_bi=pterm_Vb_bi;
6048 pterm_Vs_ci=pterm_Vs_ci;
6049 pterm_Vtnode_GND=(pterm_Vtnode_GND+(-(Vcic*Vcic)*rcx_t_Vtnode_GND/rcx_t/rcx_t));
6050 pterm_Vbi_ei=pterm_Vbi_ei;
6051 pterm_Vbi_ci=pterm_Vbi_ci;
6052 pterm_Vb_ci=pterm_Vb_ci;
6053 pterm_Vci_ei=pterm_Vci_ei;
6055 pterm=(pterm+((Vcic*Vcic)/rcx_t));
6059 #if defined(_DERIVATE)
6060 Ibici_Vtnode_GND=(ijbc_Vtnode_GND-iavl_Vtnode_GND);
6061 Ibici_Vbi_ci=(ijbc_Vbi_ci-iavl_Vbi_ci);
6062 Ibici_Vbi_ei=(ijbc_Vbi_ei-iavl_Vbi_ei);
6063 Ibici_Vb_ci=(-iavl_Vb_ci);
6064 Ibici_Vci_ei=(-iavl_Vci_ei);
6067 #if defined(_DYNAMIC)
6068 #if defined(_DERIVATE)
6069 Qbci_Vb_ci=(cbcpar*Vbci_Vb_ci);
6073 #if defined(_DYNAMIC)
6074 #if defined(_DERIVATE)
6075 Qbe_Vb_e=(cbepar*Vbe_Vb_e);
6079 #if defined(_DYNAMIC)
6080 #if defined(_DERIVATE)
6081 Qbici_Vbi_ci=(qjcii_Vbi_ci+qr_Vbi_ci);
6082 Qbici_Vtnode_GND=(qjcii_Vtnode_GND+qr_Vtnode_GND);
6083 Qbici_Vb_ci=(qjcii_Vb_ci+qr_Vb_ci);
6084 Qbici_Vbi_ei=qr_Vbi_ei;
6085 Qbici_Vci_ei=qr_Vci_ei;
6089 #if defined(_DYNAMIC)
6090 #if defined(_DERIVATE)
6091 Qbiei_Vtnode_GND=(qjei_Vtnode_GND+qf_Vtnode_GND);
6092 Qbiei_Vci_ei=(qjei_Vci_ei+qf_Vci_ei);
6093 Qbiei_Vbi_ei=(qjei_Vbi_ei+qf_Vbi_ei);
6094 Qbiei_Vbi_ci=(qjei_Vbi_ci+qf_Vbi_ci);
6095 Qbiei_Vb_ci=(qjei_Vb_ci+qf_Vb_ci);
6099 #if defined(_DERIVATE)
6100 ijsc_Vtnode_GND=(HICUMtype*ijsc_Vtnode_GND);
6101 ijsc_Vs_ci=(HICUMtype*ijsc_Vs_ci);
6102 ijsc_Vbi_ci=(HICUMtype*ijsc_Vbi_ci);
6103 ijsc_Vbi_ei=(HICUMtype*ijsc_Vbi_ei);
6105 ijsc=(HICUMtype*ijsc);
6106 #if defined(_DYNAMIC)
6107 #if defined(_DERIVATE)
6108 qjs_Vci_ei=(HICUMtype*qjs_Vci_ei);
6109 qjs_Vbi_ei=(HICUMtype*qjs_Vbi_ei);
6110 qjs_Vs_ci=(HICUMtype*qjs_Vs_ci);
6111 qjs_Vbi_ci=(HICUMtype*qjs_Vbi_ci);
6112 qjs_Vtnode_GND=(HICUMtype*qjs_Vtnode_GND);
6113 qjs_Vb_ci=(HICUMtype*qjs_Vb_ci);
6115 qjs=(HICUMtype*qjs);
6117 #if defined(_DYNAMIC)
6118 #if defined(_DERIVATE)
6119 qjcx_Vbi_ci=(HICUMtype*qjcx_Vbi_ci);
6120 qjcx_Vtnode_GND=(HICUMtype*qjcx_Vtnode_GND);
6121 qjcx_Vb_ci=(HICUMtype*qjcx_Vb_ci);
6123 qjcx=(HICUMtype*qjcx);
6125 #if defined(_DYNAMIC)
6126 #if defined(_DERIVATE)
6127 Qbci_Vb_ci=(HICUMtype*Qbci_Vb_ci);
6129 Qbci=(HICUMtype*Qbci);
6131 #if defined(_DYNAMIC)
6132 #if defined(_DERIVATE)
6133 Qbe_Vb_e=(HICUMtype*Qbe_Vb_e);
6135 Qbe=(HICUMtype*Qbe);
6137 #if defined(_DERIVATE)
6138 Ibici_Vtnode_GND=(HICUMtype*Ibici_Vtnode_GND);
6139 Ibici_Vbi_ci=(HICUMtype*Ibici_Vbi_ci);
6140 Ibici_Vbi_ei=(HICUMtype*Ibici_Vbi_ei);
6141 Ibici_Vb_ci=(HICUMtype*Ibici_Vb_ci);
6142 Ibici_Vci_ei=(HICUMtype*Ibici_Vci_ei);
6144 Ibici=(HICUMtype*Ibici);
6145 #if defined(_DYNAMIC)
6146 #if defined(_DERIVATE)
6147 Qbici_Vbi_ci=(HICUMtype*Qbici_Vbi_ci);
6148 Qbici_Vtnode_GND=(HICUMtype*Qbici_Vtnode_GND);
6149 Qbici_Vb_ci=(HICUMtype*Qbici_Vb_ci);
6150 Qbici_Vbi_ei=(HICUMtype*Qbici_Vbi_ei);
6151 Qbici_Vci_ei=(HICUMtype*Qbici_Vci_ei);
6153 Qbici=(HICUMtype*Qbici);
6155 #if defined(_DERIVATE)
6156 ijbe_Vtnode_GND=(HICUMtype*ijbe_Vtnode_GND);
6157 ijbe_Vbi_ei=(HICUMtype*ijbe_Vbi_ei);
6158 ijbe_Vci_ei=(HICUMtype*ijbe_Vci_ei);
6159 ijbe_Vbi_ci=(HICUMtype*ijbe_Vbi_ci);
6160 ijbe_Vb_ci=(HICUMtype*ijbe_Vb_ci);
6162 ijbe=(HICUMtype*ijbe);
6163 #if defined(_DYNAMIC)
6164 #if defined(_DERIVATE)
6165 Qbiei_Vtnode_GND=(HICUMtype*Qbiei_Vtnode_GND);
6166 Qbiei_Vci_ei=(HICUMtype*Qbiei_Vci_ei);
6167 Qbiei_Vbi_ei=(HICUMtype*Qbiei_Vbi_ei);
6168 Qbiei_Vbi_ci=(HICUMtype*Qbiei_Vbi_ci);
6169 Qbiei_Vb_ci=(HICUMtype*Qbiei_Vb_ci);
6171 Qbiei=(HICUMtype*Qbiei);
6173 #if defined(_DERIVATE)
6174 it_Vtnode_GND=(HICUMtype*it_Vtnode_GND);
6175 it_Vbi_ei=(HICUMtype*it_Vbi_ei);
6176 it_Vbi_ci=(HICUMtype*it_Vbi_ci);
6177 it_Vb_ci=(HICUMtype*it_Vb_ci);
6178 it_Vci_ei=(HICUMtype*it_Vci_ei);
6182 #if defined(_DERIVATE)
6186 #if defined(_DERIVATE)
6190 #if defined(_DERIVATE)
6196 #if defined(_DERIVATE)
6202 #if defined(_DYNAMIC)
6204 #if defined(_DERIVATE)
6213 #if defined(_DYNAMIC)
6215 #if defined(_DERIVATE)
6221 #if defined(_DYNAMIC)
6223 #if defined(_DERIVATE)
6227 #if defined(_DYNAMIC)
6229 #if defined(_DERIVATE)
6237 #if defined(_DERIVATE)
6245 #if defined(_DERIVATE)
6253 #if defined(_DERIVATE)
6261 #if defined(_DERIVATE)
6266 (((rbi0>=0.001)||(rbx>=0.001)))
6269 #if defined(_DERIVATE)
6281 #if defined(_DERIVATE)
6286 #if defined(_DERIVATE)
6293 #if defined(_DYNAMIC)
6295 #if defined(_DERIVATE)
6304 #if defined(_DERIVATE)
6311 #if defined(_DYNAMIC)
6313 #if defined(_DERIVATE)
6322 #if defined(_DERIVATE)
6330 (((flsh==0)||(rth<0.001)))
6333 #if defined(_DERIVATE)
6340 #if defined(_DERIVATE)
6351 #if defined(_DYNAMIC)
6353 #if defined(_DERIVATE)
6358 #if defined(_DERIVATE)
6359 fourkt_Vtnode_GND=((4.0*1.3806503e-23)*Tdev_Vtnode_GND);
6361 fourkt=((4.0*1.3806503e-23)*Tdev);
6363 (((rbx>=0.001)||(rbi0>=0.001)))
6377 twoq=(2.0*1.602176462e-19);
6381 double m00_pow(d00_pow0,ijbe,af)
6382 #if defined(_DERIVATE)
6383 double m10_pow(d10_pow0,d00_pow0,ijbe,af)
6385 #if defined(_DERIVATE)
6386 flicker_Pwr_Vtnode_GND=(kf*(d10_pow0*ijbe_Vtnode_GND));
6387 flicker_Pwr_Vbi_ei=(kf*(d10_pow0*ijbe_Vbi_ei));
6388 flicker_Pwr_Vci_ei=(kf*(d10_pow0*ijbe_Vci_ei));
6389 flicker_Pwr_Vbi_ci=(kf*(d10_pow0*ijbe_Vbi_ci));
6390 flicker_Pwr_Vb_ci=(kf*(d10_pow0*ijbe_Vb_ci));
6392 flicker_Pwr=(kf*d00_pow0);
6411 for (
int i1 = 0; i1 < 8; i1++) {
6412 setI (i1, _rhs[i1]);
6413 for (
int i2 = 0; i2 < 8; i2++) {
6414 setY (i1, i2, _jstat[i1][i2]);
6460 matrix hicumL0V1p2g::calcMatrixY (nr_double_t frequency)
6466 for (
int i1 = 0; i1 < 8; i1++) {
6467 for (
int i2 = 0; i2 < 8; i2++) {
6468 y (i1,i2) =
rect (_jstat[i1][i2], _jdyna[i1][i2] * 2 *
M_PI * _freq);
6502 int i1, i2, i3, i4, state;
6505 for (i1 = 0; i1 < 8; i1++) {
6506 for (i2 = 0; i2 < 8; i2++) {
6507 state = 2 * (i2 + 8 * i1);
6509 if (_charges[i1][i2] != 0.0)
6514 for (i1 = 0; i1 < 8; i1++) {
6515 state = 2 * (i1 + 8 * i1);
6516 if (_charges[i1][i1] != 0.0)
6521 for (i1 = 0; i1 < 8; i1++) {
6522 for (i2 = 0; i2 < 8; i2++) {
6524 for (i3 = 0; i3 < 8; i3++) {
6525 for (i4 = 0; i4 < 8; i4++) {
6527 if (_caps[i1][i2][i3][i4] != 0.0)
6532 for (i1 = 0; i1 < 8; i1++) {
6533 for (i2 = 0; i2 < 8; i2++) {
6535 for (i3 = 0; i3 < 8; i3++) {
6536 if (_caps[i1][i2][i3][i3] != 0.0)
6541 for (i1 = 0; i1 < 8; i1++) {
6542 for (i3 = 0; i3 < 8; i3++) {
6543 for (i4 = 0; i4 < 8; i4++) {
6545 if (_caps[i1][i1][i3][i4] != 0.0)
6550 for (i1 = 0; i1 < 8; i1++) {
6551 for (i3 = 0; i3 < 8; i3++) {
6552 if (_caps[i1][i1][i3][i3] != 0.0)
6558 matrix hicumL0V1p2g::calcMatrixCy (nr_double_t frequency)
6604 for (
int i1 = 0; i1 < 8; i1++) {
6605 setQ (i1, _qhs[i1]);
6606 setCV (i1, _chs[i1]);
6607 setGV (i1, _ghs[i1]);
6608 for (
int i2 = 0; i2 < 8; i2++) {
6609 setQV (i1, i2, _jdyna[i1][i2]);