16 #include "component.h"
20 #ifndef CIR_hicumL0V1p3
21 #define CIR_hicumL0V1p3 -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 "hicumL0V1p3"
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 hicumL0V1p3::initModel (
void)
267 initializeInstance ();
288 void hicumL0V1p3::initVerilog (
void)
291 _white_pwr[
b][
bi] = 0.0;
292 _white_pwr[
ci][
c] = 0.0;
293 _white_pwr[
ei][
e] = 0.0;
294 _white_pwr[
ci][
ei] = 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 hicumL0V1p3::loadVariables (
void)
441 #define _DERIVATEFORDDX
444 void hicumL0V1p3::initializeModel (
void)
468 void hicumL0V1p3::initializeInstance (
void)
473 void hicumL0V1p3::initialStep (
void)
478 void hicumL0V1p3::finalStep (
void)
483 void hicumL0V1p3::calcVerilog (
void)
488 #if defined(_DERIVATE)
489 double flicker_Pwr_Vtnode_GND;
490 double flicker_Pwr_Vbi_ei;
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_Vbi_ei;
621 double Qz_nom_Vci_ei;
622 double Qz_nom_Vbi_ci;
626 #if defined(_DERIVATE)
627 double lncc_Vtnode_GND;
631 #if defined(_DERIVATE)
632 double iavl_Vtnode_GND;
639 #if defined(_DERIVATE)
640 double a_iavl_Vtnode_GND;
641 double a_iavl_Vbi_ci;
645 #if defined(_DERIVATE)
646 double v_bord_Vtnode_GND;
649 #if defined(_DERIVATE)
650 double ibi_Vtnode_GND;
654 #if defined(_DERIVATE)
655 double ijbc_Vtnode_GND;
659 #if defined(_DERIVATE)
660 double ijbe_Vtnode_GND;
664 #if defined(_DERIVATE)
665 double ire_Vtnode_GND;
669 #if defined(_DERIVATE)
670 double ibe_Vtnode_GND;
674 #if defined(_DERIVATE)
678 double le_Vtnode_GND;
681 #if defined(_DERIVATE)
685 double DIOY_Vtnode_GND;
687 #if defined(_DYNAMIC)
689 #if defined(_DERIVATE)
690 double qr_Vtnode_GND;
698 #if defined(_DYNAMIC)
700 #if defined(_DERIVATE)
701 double qf_Vtnode_GND;
708 #if defined(_DYNAMIC)
710 #if defined(_DERIVATE)
711 double dqef_Vtnode_GND;
718 #if defined(_DYNAMIC)
720 #if defined(_DERIVATE)
721 double dtef_Vtnode_GND;
729 #if defined(_DYNAMIC)
731 #if defined(_DERIVATE)
732 double dqfh_Vtnode_GND;
739 #if defined(_DYNAMIC)
741 #if defined(_DERIVATE)
742 double tww_Vtnode_GND;
749 #if defined(_DYNAMIC)
751 #if defined(_DERIVATE)
759 #if defined(_DYNAMIC)
761 #if defined(_DERIVATE)
766 double s3_Vtnode_GND;
769 #if defined(_DYNAMIC)
771 #if defined(_DERIVATE)
772 double qf0_Vtnode_GND;
779 #if defined(_DERIVATE)
780 double it_Vtnode_GND;
787 #if defined(_DERIVATE)
788 double itr_Vtnode_GND;
795 #if defined(_DERIVATE)
796 double itf_Vtnode_GND;
803 #if defined(_DERIVATE)
805 double p2_v_Vtnode_GND;
811 #if defined(_DERIVATE)
813 double p2_u_Vtnode_GND;
819 #if defined(_DERIVATE)
821 double tmp3_Vtnode_GND;
827 #if defined(_DERIVATE)
829 double tmp2_Vtnode_GND;
835 #if defined(_DERIVATE)
837 double q_p3_Vtnode_GND;
843 #if defined(_DERIVATE)
845 double p2_D_Vtnode_GND;
851 #if defined(_DERIVATE)
853 double p2_q_Vtnode_GND;
859 #if defined(_DERIVATE)
860 double p2_p_Vtnode_GND;
867 #if defined(_DERIVATE)
869 double tmp_Vtnode_GND;
875 #if defined(_DERIVATE)
876 double p2_c_Vtnode_GND;
881 #if defined(_DERIVATE)
882 double p2_b_Vtnode_GND;
889 #if defined(_DERIVATE)
891 double p2_a_Vtnode_GND;
898 #if defined(_DERIVATE)
900 double qpt_Vtnode_GND;
906 #if defined(_DERIVATE)
907 double qm_Vtnode_GND;
914 #if defined(_DERIVATE)
915 double wdc_Vtnode_GND;
922 #if defined(_DERIVATE)
923 double aa_Vtnode_GND;
930 #if defined(_DERIVATE)
931 double a2_Vtnode_GND;
938 #if defined(_DERIVATE)
939 double a1_Vtnode_GND;
946 #if defined(_DERIVATE)
947 double diff_q_Vtnode_GND;
948 double diff_q_Vbi_ei;
949 double diff_q_Vbi_ci;
951 double diff_q_Vci_ei;
954 #if defined(_DERIVATE)
956 double qpt_h_Vtnode_GND;
962 #if defined(_DERIVATE)
964 double qpt_l_Vtnode_GND;
970 #if defined(_DERIVATE)
971 double qmh_Vtnode_GND;
978 #if defined(_DERIVATE)
979 double qml_Vtnode_GND;
986 #if defined(_DERIVATE)
987 double itri_Vtnode_GND;
991 #if defined(_DERIVATE)
993 double le2_Vtnode_GND;
996 #if defined(_DERIVATE)
998 double arg2_Vtnode_GND;
1001 #if defined(_DERIVATE)
1002 double itfi_Vtnode_GND;
1006 #if defined(_DERIVATE)
1008 double le1_Vtnode_GND;
1011 #if defined(_DERIVATE)
1013 double arg1_Vtnode_GND;
1017 #if defined(_DERIVATE)
1018 double ickf_Vtnode_GND;
1023 #if defined(_DERIVATE)
1024 double denom_iqf_Vtnode_GND;
1025 double denom_iqf_Vbi_ci;
1026 double denom_iqf_Vb_ci;
1029 #if defined(_DERIVATE)
1030 double tf0_Vtnode_GND;
1035 #if defined(_DERIVATE)
1037 double qj_2_Vtnode_GND;
1043 #if defined(_DERIVATE)
1045 double b_q_Vtnode_GND;
1052 #if defined(_DERIVATE)
1054 double qj_Vtnode_GND;
1060 #if defined(_DERIVATE)
1061 double qje_Vtnode_GND;
1068 #if defined(_DERIVATE)
1069 double vj_z_Vtnode_GND;
1073 #if defined(_DERIVATE)
1074 double vjh_Vtnode_GND;
1078 #if defined(_DERIVATE)
1079 double h_vbe_Vtnode_GND;
1080 double h_vbe_Vbi_ei;
1082 #if defined(_DERIVATE)
1083 double qjei_Vtnode_GND;
1090 #if defined(_DERIVATE)
1091 double cc_Vtnode_GND;
1096 #if defined(_DERIVATE)
1097 double ick_Vtnode_GND;
1101 #if defined(_DERIVATE)
1102 double vceff_Vtnode_GND;
1103 double vceff_Vci_ei;
1106 #if defined(_DERIVATE)
1108 double uvc_Vtnode_GND;
1111 #if defined(_DERIVATE)
1113 double vc_Vtnode_GND;
1116 #if defined(_DERIVATE)
1117 double cjcii_Vtnode_GND;
1118 double cjcii_Vbi_ci;
1122 #if defined(_DERIVATE)
1124 double dvj_Vtnode_GND;
1127 #if defined(_DYNAMIC)
1129 #if defined(_DERIVATE)
1130 double qjcii_Vbi_ci;
1131 double qjcii_Vtnode_GND;
1135 #if defined(_DERIVATE)
1137 double qjci_Vtnode_GND;
1141 #if defined(_DERIVATE)
1142 double cjcx0_t_ii_Vtnode_GND;
1145 #if defined(_DERIVATE)
1150 double y_Vtnode_GND;
1154 #if defined(_DERIVATE)
1155 double x_Vtnode_GND;
1159 #if defined(_DERIVATE)
1163 double v_j_Vtnode_GND;
1167 #if defined(_DERIVATE)
1171 double xvf2_Vtnode_GND;
1175 #if defined(_DERIVATE)
1179 double xvf_Vtnode_GND;
1182 #if defined(_DYNAMIC)
1184 #if defined(_DERIVATE)
1186 double qjcx_Vtnode_GND;
1191 #if defined(_DERIVATE)
1196 double qj3_Vtnode_GND;
1200 #if defined(_DERIVATE)
1205 double qj2_Vtnode_GND;
1209 #if defined(_DERIVATE)
1214 double qj1_Vtnode_GND;
1218 #if defined(_DERIVATE)
1223 double vdj2_Vtnode_GND;
1227 #if defined(_DERIVATE)
1232 double vdj1_Vtnode_GND;
1238 #if defined(_DERIVATE)
1244 double vj4_Vtnode_GND;
1247 #if defined(_DERIVATE)
1252 double vj2_Vtnode_GND;
1256 #if defined(_DERIVATE)
1261 double vr_Vtnode_GND;
1265 #if defined(_DERIVATE)
1270 double vj1_Vtnode_GND;
1274 #if defined(_DERIVATE)
1279 double ee1_Vtnode_GND;
1283 #if defined(_DERIVATE)
1288 double ex1_Vtnode_GND;
1292 #if defined(_DERIVATE)
1297 double ve_Vtnode_GND;
1301 #if defined(_DERIVATE)
1306 double a_Vtnode_GND;
1309 #if defined(_DERIVATE)
1310 double cr_Vtnode_GND;
1313 #if defined(_DERIVATE)
1314 double cmax_Vtnode_GND;
1317 #if defined(_DERIVATE)
1318 double vf_Vtnode_GND;
1321 #if defined(_DERIVATE)
1322 double vp_Vtnode_GND;
1326 #if defined(_DERIVATE)
1327 double cjcx0_t_i_Vtnode_GND;
1329 #if defined(_DYNAMIC)
1331 #if defined(_DERIVATE)
1332 double qjcxi_Vbi_ci;
1333 double qjcxi_Vtnode_GND;
1338 #if defined(_DERIVATE)
1339 double cjci0_t_ii_Vtnode_GND;
1343 #if defined(_DERIVATE)
1344 double tfh_t_Vtnode_GND;
1347 #if defined(_DERIVATE)
1348 double iqfh_t_Vtnode_GND;
1351 #if defined(_DERIVATE)
1352 double ver_t_Vtnode_GND;
1355 #if defined(_DERIVATE)
1356 double aver_t_Vtnode_GND;
1359 #if defined(_DERIVATE)
1360 double rth_t_Vtnode_GND;
1363 #if defined(_DERIVATE)
1364 double kavl_t_Vtnode_GND;
1367 #if defined(_DERIVATE)
1368 double eavl_t_Vtnode_GND;
1371 #if defined(_DERIVATE)
1372 double re_t_Vtnode_GND;
1375 #if defined(_DERIVATE)
1376 double rbi0_t_Vtnode_GND;
1379 #if defined(_DERIVATE)
1380 double rcx_t_Vtnode_GND;
1383 #if defined(_DERIVATE)
1384 double rbx_t_Vtnode_GND;
1386 #if defined(_DYNAMIC)
1388 #if defined(_DERIVATE)
1389 double tef0_t_Vtnode_GND;
1392 #if defined(_DYNAMIC)
1395 #if defined(_DYNAMIC)
1398 #if defined(_DYNAMIC)
1400 #if defined(_DERIVATE)
1401 double thcs_t_Vtnode_GND;
1405 #if defined(_DERIVATE)
1406 double t0_t_Vtnode_GND;
1409 #if defined(_DERIVATE)
1410 double vces_t_Vtnode_GND;
1413 #if defined(_DERIVATE)
1414 double vlim_t_Vtnode_GND;
1417 #if defined(_DERIVATE)
1418 double rci0_t_Vtnode_GND;
1421 #if defined(_DERIVATE)
1422 double iqf_t_Vtnode_GND;
1424 #if defined(_DYNAMIC)
1426 #if defined(_DERIVATE)
1427 double cjs0_t_Vtnode_GND;
1430 #if defined(_DYNAMIC)
1432 #if defined(_DERIVATE)
1433 double vds_t_Vtnode_GND;
1437 #if defined(_DERIVATE)
1438 double cjcx0_t_Vtnode_GND;
1441 #if defined(_DERIVATE)
1442 double vdcx_t_Vtnode_GND;
1445 #if defined(_DERIVATE)
1446 double cjci0_t_Vtnode_GND;
1449 #if defined(_DERIVATE)
1450 double vdci_t_Vtnode_GND;
1453 #if defined(_DERIVATE)
1454 double ajedc_t_Vtnode_GND;
1457 #if defined(_DERIVATE)
1458 double aje_t_Vtnode_GND;
1461 #if defined(_DERIVATE)
1462 double cje0_dc_t_Vtnode_GND;
1465 #if defined(_DERIVATE)
1466 double vdedc_t_Vtnode_GND;
1470 #if defined(_DERIVATE)
1471 double cje0_t_Vtnode_GND;
1474 #if defined(_DERIVATE)
1475 double vde_t_Vtnode_GND;
1478 #if defined(_DERIVATE)
1479 double vdjt_Vtnode_GND;
1484 #if defined(_DERIVATE)
1485 double iscs_t_Vtnode_GND;
1488 #if defined(_DERIVATE)
1489 double itss_t_Vtnode_GND;
1492 #if defined(_DERIVATE)
1493 double ibcs_t_Vtnode_GND;
1496 #if defined(_DERIVATE)
1497 double ires_t_Vtnode_GND;
1500 #if defined(_DERIVATE)
1501 double ibes_t_Vtnode_GND;
1504 #if defined(_DERIVATE)
1505 double is_t_Vtnode_GND;
1510 #if defined(_DYNAMIC)
1519 #if defined(_DERIVATE)
1520 double ln_qtt0_Vtnode_GND;
1523 #if defined(_DERIVATE)
1524 double qtt0_Vtnode_GND;
1527 #if defined(_DERIVATE)
1528 double dT_Vtnode_GND;
1531 #if defined(_DERIVATE)
1532 double VT_Vtnode_GND;
1536 #if defined(_DERIVATE)
1537 double Tdev_Vtnode_GND;
1542 #if defined(_DERIVATE)
1543 double Vrth_Vtnode_GND;
1545 #if defined(_DYNAMIC)
1547 #if defined(_DERIVATE)
1552 #if defined(_DERIVATE)
1556 #if defined(_DERIVATE)
1560 #if defined(_DERIVATE)
1564 #if defined(_DERIVATE)
1568 #if defined(_DERIVATE)
1569 double Vciei_Vci_ei;
1572 #if defined(_DERIVATE)
1573 double Vbiei_Vbi_ei;
1576 #if defined(_DERIVATE)
1577 double Vbici_Vbi_ci;
1580 #if defined(_DERIVATE)
1583 #if defined(_DERIVATE)
1584 Vbci_Vb_ci=(HICUMtype);
1586 Vbci=(HICUMtype*
BP(
b,
ci));
1587 #if defined(_DERIVATE)
1588 Vbici_Vbi_ci=(HICUMtype);
1590 Vbici=(HICUMtype*
BP(
bi,
ci));
1591 #if defined(_DERIVATE)
1592 Vbiei_Vbi_ei=(HICUMtype);
1594 Vbiei=(HICUMtype*
BP(
bi,
ei));
1595 #if defined(_DERIVATE)
1596 Vciei_Vci_ei=(HICUMtype);
1598 Vciei=(HICUMtype*
BP(
ci,
ei));
1599 #if defined(_DERIVATE)
1600 Vsci_Vs_ci=(HICUMtype);
1602 Vsci=(HICUMtype*
BP(
s,
ci));
1603 #if defined(_DERIVATE)
1607 #if defined(_DERIVATE)
1611 #if defined(_DERIVATE)
1615 #if defined(_DYNAMIC)
1616 #if defined(_DERIVATE)
1617 Vbe_Vb_e=(HICUMtype);
1619 Vbe=(HICUMtype*
BP(
b,
e));
1621 #if defined(_DERIVATE)
1622 Vrth_Vtnode_GND=1.0;
1627 #if defined(_DERIVATE)
1628 Tdev_Vtnode_GND=Vrth_Vtnode_GND;
1630 Tdev=((Tamb+dt)+Vrth);
1632 ((Tdev<((-100.00)+273.15)))
1634 #if defined(_DERIVATE)
1635 Tdev_Vtnode_GND=0.0;
1637 Tdev=((-100.00)+273.15);
1642 ((Tdev>(326.85+273.15)))
1644 #if defined(_DERIVATE)
1645 Tdev_Vtnode_GND=0.0;
1647 Tdev=(326.85+273.15);
1650 vt0=((1.3806503e-23*Tnom)/1.602176462
e-19);
1651 #if defined(_DERIVATE)
1652 VT_Vtnode_GND=((1.3806503e-23*Tdev_Vtnode_GND)/1.602176462
e-19);
1654 VT=((1.3806503e-23*Tdev)/1.602176462
e-19);
1655 #if defined(_DERIVATE)
1656 dT_Vtnode_GND=Tdev_Vtnode_GND;
1659 #if defined(_DERIVATE)
1660 qtt0_Vtnode_GND=(Tdev_Vtnode_GND/Tnom);
1665 #if defined(_DERIVATE)
1666 double m10_logE(d10_logE0,d00_logE0,qtt0)
1668 #if defined(_DERIVATE)
1669 ln_qtt0_Vtnode_GND=qtt0_Vtnode_GND*d10_logE0;
1673 #if defined(_DYNAMIC)
1676 #if defined(_DYNAMIC)
1679 k2=((f2vg*Tnom)+(k1*d00_logE0));
1685 #if defined(_DYNAMIC)
1688 mg=(3-((1.602176462e-19*f1vg)/1.3806503
e-23));
1689 zetabci=((mg+1)-zetaci);
1692 double m00_exp(d00_exp0,((zetact*ln_qtt0)+((vgb/VT)*(qtt0-1))))
1693 #if defined(_DERIVATE)
1694 #define d10_exp0 d00_exp0
1696 #if defined(_DERIVATE)
1697 is_t_Vtnode_GND=(is*((zetact*ln_qtt0_Vtnode_GND)+(((-vgb*VT_Vtnode_GND/VT/VT)*(qtt0-1))+((vgb/VT)*qtt0_Vtnode_GND)))*
d10_exp0);
1702 double m00_exp(d00_exp0,((zetabet*ln_qtt0)+((vge/VT)*(qtt0-1))))
1703 #if defined(_DERIVATE)
1704 #define d10_exp0 d00_exp0
1706 #if defined(_DERIVATE)
1707 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);
1709 ibes_t=(ibes*d00_exp0);
1712 double m00_exp(d00_exp0,(((0.5*mg)*ln_qtt0)+(((0.5*vgbe)/VT)*(qtt0-1))))
1713 #if defined(_DERIVATE)
1714 #define d10_exp0 d00_exp0
1716 #if defined(_DERIVATE)
1717 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);
1719 ires_t=(ires*d00_exp0);
1722 double m00_exp(d00_exp0,((zetabci*ln_qtt0)+((vgc/VT)*(qtt0-1))))
1723 #if defined(_DERIVATE)
1724 #define d10_exp0 d00_exp0
1726 #if defined(_DERIVATE)
1727 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);
1729 ibcs_t=(ibcs*d00_exp0);
1732 double m00_exp(d00_exp0,((zetasct*ln_qtt0)+((vgc/VT)*(qtt0-1))))
1733 #if defined(_DERIVATE)
1734 #define d10_exp0 d00_exp0
1736 #if defined(_DERIVATE)
1737 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);
1739 itss_t=(itss*d00_exp0);
1742 double m00_exp(d00_exp0,((zetasct*ln_qtt0)+((vgs/VT)*(qtt0-1))))
1743 #if defined(_DERIVATE)
1744 #define d10_exp0 d00_exp0
1746 #if defined(_DERIVATE)
1747 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);
1749 iscs_t=(iscs*d00_exp0);
1751 arg=((0.5*vde)/vt0);
1754 double
m00_exp(d00_exp1,(-arg))
1755 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1756 vdj0=((2*vt0)*d00_logE2);
1758 #if defined(_DERIVATE)
1759 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgbe*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1761 vdjt=(((vdj0*qtt0)+(vgbe*(1-qtt0)))-((mg*VT)*ln_qtt0));
1763 double m00_exp(d00_exp0,((-vdjt)/VT))
1764 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1765 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1766 #if defined(_DERIVATE)
1767 #define d10_exp0 d00_exp0
1768 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1769 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1771 #if defined(_DERIVATE)
1772 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)));
1774 vde_t=(vdjt+((2*VT)*d00_logE2));
1777 double m00_logE(d00_logE0,(vde/vde_t))
1778 double
m00_exp(d00_exp1,(ze*d00_logE0))
1779 #if defined(_DERIVATE)
1780 double m10_logE(d10_logE0,d00_logE0,(vde/vde_t))
1781 #define d10_exp1 d00_exp1
1783 #if defined(_DERIVATE)
1784 cje0_t_Vtnode_GND=(cje0*(ze*(-vde*vde_t_Vtnode_GND/vde_t/vde_t)*d10_logE0)*
d10_exp1);
1786 cje0_t=(cje0*d00_exp1);
1789 arg=((0.5*vdedc)/vt0);
1792 double
m00_exp(d00_exp1,(-arg))
1793 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1794 vdj0=((2*vt0)*d00_logE2);
1796 #if defined(_DERIVATE)
1797 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgbe*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1799 vdjt=(((vdj0*qtt0)+(vgbe*(1-qtt0)))-((mg*VT)*ln_qtt0));
1801 double m00_exp(d00_exp0,((-vdjt)/VT))
1802 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1803 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1804 #if defined(_DERIVATE)
1805 #define d10_exp0 d00_exp0
1806 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1807 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1809 #if defined(_DERIVATE)
1810 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)));
1812 vdedc_t=(vdjt+((2*VT)*d00_logE2));
1815 double m00_logE(d00_logE0,(vdedc/vdedc_t))
1816 double
m00_exp(d00_exp1,(zedc*d00_logE0))
1817 #if defined(_DERIVATE)
1818 double m10_logE(d10_logE0,d00_logE0,(vdedc/vdedc_t))
1819 #define d10_exp1 d00_exp1
1821 #if defined(_DERIVATE)
1822 cje0_dc_t_Vtnode_GND=(cje0_dc*(zedc*(-vdedc*vdedc_t_Vtnode_GND/vdedc_t/vdedc_t)*d10_logE0)*
d10_exp1);
1824 cje0_dc_t=(cje0_dc*d00_exp1);
1826 #if defined(_DERIVATE)
1827 aje_t_Vtnode_GND=((aje*vde_t_Vtnode_GND)/vde);
1829 aje_t=((aje*vde_t)/vde);
1830 #if defined(_DERIVATE)
1831 ajedc_t_Vtnode_GND=((ajedc*vdedc_t_Vtnode_GND)/vdedc);
1833 ajedc_t=((ajedc*vdedc_t)/vdedc);
1834 arg=((0.5*vdci)/vt0);
1837 double
m00_exp(d00_exp1,(-arg))
1838 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1839 vdj0=((2*vt0)*d00_logE2);
1841 #if defined(_DERIVATE)
1842 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgbc*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1844 vdjt=(((vdj0*qtt0)+(vgbc*(1-qtt0)))-((mg*VT)*ln_qtt0));
1846 double m00_exp(d00_exp0,((-vdjt)/VT))
1847 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1848 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1849 #if defined(_DERIVATE)
1850 #define d10_exp0 d00_exp0
1851 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1852 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1854 #if defined(_DERIVATE)
1855 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)));
1857 vdci_t=(vdjt+((2*VT)*d00_logE2));
1860 double m00_logE(d00_logE0,(vdci/vdci_t))
1861 double
m00_exp(d00_exp1,(zci*d00_logE0))
1862 #if defined(_DERIVATE)
1863 double m10_logE(d10_logE0,d00_logE0,(vdci/vdci_t))
1864 #define d10_exp1 d00_exp1
1866 #if defined(_DERIVATE)
1867 cjci0_t_Vtnode_GND=(cjci0*(zci*(-vdci*vdci_t_Vtnode_GND/vdci_t/vdci_t)*d10_logE0)*
d10_exp1);
1869 cjci0_t=(cjci0*d00_exp1);
1871 arg=((0.5*vdcx)/vt0);
1874 double
m00_exp(d00_exp1,(-arg))
1875 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1876 vdj0=((2*vt0)*d00_logE2);
1878 #if defined(_DERIVATE)
1879 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgbc*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1881 vdjt=(((vdj0*qtt0)+(vgbc*(1-qtt0)))-((mg*VT)*ln_qtt0));
1883 double m00_exp(d00_exp0,((-vdjt)/VT))
1884 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1885 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1886 #if defined(_DERIVATE)
1887 #define d10_exp0 d00_exp0
1888 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1889 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1891 #if defined(_DERIVATE)
1892 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)));
1894 vdcx_t=(vdjt+((2*VT)*d00_logE2));
1897 double m00_logE(d00_logE0,(vdcx/vdcx_t))
1898 double
m00_exp(d00_exp1,(zcx*d00_logE0))
1899 #if defined(_DERIVATE)
1900 double m10_logE(d10_logE0,d00_logE0,(vdcx/vdcx_t))
1901 #define d10_exp1 d00_exp1
1903 #if defined(_DERIVATE)
1904 cjcx0_t_Vtnode_GND=(cjcx0*(zcx*(-vdcx*vdcx_t_Vtnode_GND/vdcx_t/vdcx_t)*d10_logE0)*
d10_exp1);
1906 cjcx0_t=(cjcx0*d00_exp1);
1908 #if defined(_DYNAMIC)
1909 arg=((0.5*vds)/vt0);
1911 #if defined(_DYNAMIC)
1914 double
m00_exp(d00_exp1,(-arg))
1915 double m00_logE(d00_logE2,(d00_exp0-d00_exp1))
1916 vdj0=((2*vt0)*d00_logE2);
1919 #if defined(_DYNAMIC)
1920 #if defined(_DERIVATE)
1921 vdjt_Vtnode_GND=(((vdj0*qtt0_Vtnode_GND)+(vgsc*(-qtt0_Vtnode_GND)))-(((mg*VT_Vtnode_GND)*ln_qtt0)+((mg*VT)*ln_qtt0_Vtnode_GND)));
1923 vdjt=(((vdj0*qtt0)+(vgsc*(1-qtt0)))-((mg*VT)*ln_qtt0));
1925 #if defined(_DYNAMIC)
1927 double m00_exp(d00_exp0,((-vdjt)/VT))
1928 double
m00_sqrt(d00_sqrt1,(1+(4*d00_exp0)))
1929 double m00_logE(d00_logE2,(0.5*(1+d00_sqrt1)))
1930 #if defined(_DERIVATE)
1931 #define d10_exp0 d00_exp0
1932 double m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(4*d00_exp0)))
1933 double
m10_logE(d10_logE2,d00_logE2,(0.5*(1+d00_sqrt1)))
1935 #if defined(_DERIVATE)
1936 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)));
1938 vds_t=(vdjt+((2*VT)*d00_logE2));
1941 #if defined(_DYNAMIC)
1943 double m00_logE(d00_logE0,(vds/vds_t))
1944 double
m00_exp(d00_exp1,(zs*d00_logE0))
1945 #if defined(_DERIVATE)
1946 double m10_logE(d10_logE0,d00_logE0,(vds/vds_t))
1947 #define d10_exp1 d00_exp1
1949 #if defined(_DERIVATE)
1950 cjs0_t_Vtnode_GND=(cjs0*(zs*(-vds*vds_t_Vtnode_GND/vds_t/vds_t)*d10_logE0)*
d10_exp1);
1952 cjs0_t=(cjs0*d00_exp1);
1956 double m00_exp(d00_exp0,((zetaiqf*ln_qtt0)-((dvgbe/VT)*(qtt0-1))))
1957 #if defined(_DERIVATE)
1958 #define d10_exp0 d00_exp0
1960 #if defined(_DERIVATE)
1961 iqf_t_Vtnode_GND=(iqf*((zetaiqf*ln_qtt0_Vtnode_GND)-(((-dvgbe*VT_Vtnode_GND/VT/VT)*(qtt0-1))+((dvgbe/VT)*qtt0_Vtnode_GND)))*
d10_exp0);
1963 iqf_t=(iqf*d00_exp0);
1966 double m00_exp(d00_exp0,(zetaci*ln_qtt0))
1967 #if defined(_DERIVATE)
1968 #define d10_exp0 d00_exp0
1970 #if defined(_DERIVATE)
1971 rci0_t_Vtnode_GND=(rci0*(zetaci*ln_qtt0_Vtnode_GND)*d10_exp0);
1973 rci0_t=(rci0*d00_exp0);
1976 double m00_exp(d00_exp0,((zetaci-avs)*ln_qtt0))
1977 #if defined(_DERIVATE)
1978 #define d10_exp0 d00_exp0
1980 #if defined(_DERIVATE)
1981 vlim_t_Vtnode_GND=(vlim*((zetaci-avs)*ln_qtt0_Vtnode_GND)*
d10_exp0);
1983 vlim_t=(vlim*d00_exp0);
1985 #if defined(_DERIVATE)
1986 vces_t_Vtnode_GND=(vces*(alces*dT_Vtnode_GND));
1988 vces_t=(vces*(1+(alces*dT)));
1989 #if defined(_DERIVATE)
1990 t0_t_Vtnode_GND=(t0*((alt0*dT_Vtnode_GND)+(((kt0*dT_Vtnode_GND)*dT)+((kt0*dT)*dT_Vtnode_GND))));
1992 t0_t=(t0*((1+(alt0*dT))+((kt0*dT)*dT)));
1993 #if defined(_DYNAMIC)
1995 double m00_exp(d00_exp0,((zetaci-1)*ln_qtt0))
1996 #if defined(_DERIVATE)
1997 #define d10_exp0 d00_exp0
1999 #if defined(_DERIVATE)
2000 thcs_t_Vtnode_GND=(thcs*((zetaci-1)*ln_qtt0_Vtnode_GND)*
d10_exp0);
2002 thcs_t=(thcs*d00_exp0);
2005 #if defined(_DYNAMIC)
2006 zetatef=((zetabet-zetact)-0.5);
2008 #if defined(_DYNAMIC)
2015 #if defined(_DYNAMIC)
2017 double m00_exp(d00_exp0,((zetatef*ln_qtt0)-((dvg/VT)*(qtt0-1))))
2018 #if defined(_DERIVATE)
2019 #define d10_exp0 d00_exp0
2021 #if defined(_DERIVATE)
2022 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);
2024 tef0_t=(tef0*d00_exp0);
2030 #if defined(_DYNAMIC)
2031 #if defined(_DERIVATE)
2032 tef0_t_Vtnode_GND=0.0;
2039 double m00_exp(d00_exp0,(zetarbx*ln_qtt0))
2040 #if defined(_DERIVATE)
2041 #define d10_exp0 d00_exp0
2043 #if defined(_DERIVATE)
2044 rbx_t_Vtnode_GND=(rbx*(zetarbx*ln_qtt0_Vtnode_GND)*d10_exp0);
2046 rbx_t=(rbx*d00_exp0);
2049 double m00_exp(d00_exp0,(zetarcx*ln_qtt0))
2050 #if defined(_DERIVATE)
2051 #define d10_exp0 d00_exp0
2053 #if defined(_DERIVATE)
2054 rcx_t_Vtnode_GND=(rcx*(zetarcx*ln_qtt0_Vtnode_GND)*d10_exp0);
2056 rcx_t=(rcx*d00_exp0);
2059 double m00_exp(d00_exp0,(zetarbi*ln_qtt0))
2060 #if defined(_DERIVATE)
2061 #define d10_exp0 d00_exp0
2063 #if defined(_DERIVATE)
2064 rbi0_t_Vtnode_GND=(rbi0*(zetarbi*ln_qtt0_Vtnode_GND)*d10_exp0);
2066 rbi0_t=(rbi0*d00_exp0);
2069 double m00_exp(d00_exp0,(zetare*ln_qtt0))
2070 #if defined(_DERIVATE)
2071 #define d10_exp0 d00_exp0
2073 #if defined(_DERIVATE)
2074 re_t_Vtnode_GND=(re*(zetare*ln_qtt0_Vtnode_GND)*d10_exp0);
2079 double m00_exp(d00_exp0,(aleav*dT))
2080 #if defined(_DERIVATE)
2081 #define d10_exp0 d00_exp0
2083 #if defined(_DERIVATE)
2084 eavl_t_Vtnode_GND=(eavl*(aleav*dT_Vtnode_GND)*d10_exp0);
2086 eavl_t=(eavl*d00_exp0);
2089 double m00_exp(d00_exp0,(alkav*dT))
2090 #if defined(_DERIVATE)
2091 #define d10_exp0 d00_exp0
2093 #if defined(_DERIVATE)
2094 kavl_t_Vtnode_GND=(kavl*(alkav*dT_Vtnode_GND)*d10_exp0);
2096 kavl_t=(kavl*d00_exp0);
2102 double m00_logE(d00_logE0,(Tdev/Tnom))
2103 double
m00_exp(d00_exp1,(zetarth*d00_logE0))
2104 #if defined(_DERIVATE)
2105 double m10_logE(d10_logE0,d00_logE0,(Tdev/Tnom))
2106 #define d10_exp1 d00_exp1
2108 #if defined(_DERIVATE)
2109 rth_t_Vtnode_GND=(rth*(zetarth*(Tdev_Vtnode_GND/Tnom)*d10_logE0)*
d10_exp1);
2111 rth_t=(rth*d00_exp1);
2116 #if defined(_DERIVATE)
2117 rth_t_Vtnode_GND=0.0;
2122 double m00_exp(d00_exp0,(zetaver*ln_qtt0))
2123 #if defined(_DERIVATE)
2124 #define d10_exp0 d00_exp0
2126 #if defined(_DERIVATE)
2127 aver_t_Vtnode_GND=(aver*(zetaver*ln_qtt0_Vtnode_GND)*d10_exp0);
2129 aver_t=(aver*d00_exp0);
2132 double m00_exp(d00_exp0,(zetavgbe*ln_qtt0))
2133 double m00_exp(d00_exp1,((dvgbe/VT)*(d00_exp0-1)))
2134 #if defined(_DERIVATE)
2135 #define d10_exp0 d00_exp0
2136 #define d10_exp1 d00_exp1
2138 #if defined(_DERIVATE)
2139 ver_t_Vtnode_GND=(-ver*(((-dvgbe*VT_Vtnode_GND/VT/VT)*(d00_exp0-1))+((dvgbe/VT)*(zetavgbe*ln_qtt0_Vtnode_GND)*d10_exp0))*d10_exp1/d00_exp1/d00_exp1);
2141 ver_t=(ver/d00_exp1);
2143 #if defined(_DERIVATE)
2144 iqfh_t_Vtnode_GND=(iqfh*((aliqfh*dT_Vtnode_GND)+(((kiqfh*dT_Vtnode_GND)*dT)+((kiqfh*dT)*dT_Vtnode_GND))));
2146 iqfh_t=(iqfh*((1+(aliqfh*dT))+((kiqfh*dT)*dT)));
2148 double m00_exp(d00_exp0,(((vgb-vge)/VT)*(qtt0-1)))
2149 #if defined(_DERIVATE)
2150 #define d10_exp0 d00_exp0
2152 #if defined(_DERIVATE)
2153 tfh_t_Vtnode_GND=(((tfh*((aliqfh*dT_Vtnode_GND)+(((kiqfh*dT_Vtnode_GND)*dT)+((kiqfh*dT)*dT_Vtnode_GND))))*d00_exp0)+((tfh*((1+(aliqfh*dT))+((kiqfh*dT)*dT)))*(((-(vgb-vge)*VT_Vtnode_GND/VT/VT)*(qtt0-1))+(((vgb-vge)/VT)*qtt0_Vtnode_GND))*
d10_exp0));
2155 tfh_t=((tfh*((1+(aliqfh*dT))+((kiqfh*dT)*dT)))*d00_exp0);
2161 #if defined(_DERIVATE)
2162 cjci0_t_ii_Vtnode_GND=cjci0_t_Vtnode_GND*fbc;
2164 cjci0_t_ii=(cjci0_t*fbc);
2165 #if defined(_DYNAMIC)
2166 #if defined(_DERIVATE)
2168 qjcxi_Vtnode_GND=0.0;
2173 #if defined(_DERIVATE)
2174 cjcx0_t_i_Vtnode_GND=cjci0_t_Vtnode_GND*(1-fbc);
2176 cjcx0_t_i=(cjci0_t*(1-fbc));
2184 #if defined(_DERIVATE)
2185 vp_Vtnode_GND=(-vdci_t_Vtnode_GND);
2190 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
2191 #if defined(_DERIVATE)
2192 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
2194 vf=(vdci_t*(1.0-d00_exp1));
2196 #if defined(_DERIVATE)
2197 cmax_Vtnode_GND=(2.4*cjcx0_t_i_Vtnode_GND);
2199 cmax=(2.4*cjcx0_t_i);
2201 double m00_logE(d00_logE0,(vdci_t/vptci))
2202 double
m00_exp(d00_exp1,((zci-zr)*d00_logE0))
2203 #if defined(_DERIVATE)
2204 double m10_logE(d10_logE0,d00_logE0,(vdci_t/vptci))
2205 #define d10_exp1 d00_exp1
2207 #if defined(_DERIVATE)
2208 cr_Vtnode_GND=((cjcx0_t_i_Vtnode_GND*d00_exp1)+(cjcx0_t_i*((zci-zr)*(vdci_t_Vtnode_GND/vptci)*d10_logE0)*
d10_exp1));
2210 cr=(cjcx0_t_i*d00_exp1);
2212 #if defined(_DERIVATE)
2217 a_Vtnode_GND=VT_Vtnode_GND;
2220 #if defined(_DERIVATE)
2225 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbci)*a_Vtnode_GND)/a/a);
2226 ve_Vb_ci=(((-Vbci_Vb_ci)*a-(vf-Vbci)*a_Vb_ci)/a/a);
2234 #if defined(_DERIVATE)
2235 #define d10_exp0 d00_exp0
2237 #if defined(_DERIVATE)
2242 ex1_Vtnode_GND=ve_Vtnode_GND*
d10_exp0;
2243 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
2247 #if defined(_DERIVATE)
2252 ee1_Vtnode_GND=ex1_Vtnode_GND;
2253 ee1_Vb_ci=ex1_Vb_ci;
2258 #if defined(_DERIVATE)
2259 double m10_logE(d10_logE0,d00_logE0,ee1)
2261 #if defined(_DERIVATE)
2266 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2267 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
2269 vj1=(vf-(a*d00_logE0));
2274 #if defined(_DERIVATE)
2280 vj1_Vb_ci=Vbci_Vb_ci;
2284 #if defined(_DERIVATE)
2289 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
2291 a=((0.1*vp)+(4.0*VT));
2292 #if defined(_DERIVATE)
2297 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
2298 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
2306 #if defined(_DERIVATE)
2307 #define d10_exp0 d00_exp0
2309 #if defined(_DERIVATE)
2314 ex1_Vtnode_GND=vr_Vtnode_GND*
d10_exp0;
2315 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
2319 #if defined(_DERIVATE)
2324 ee1_Vtnode_GND=ex1_Vtnode_GND;
2325 ee1_Vb_ci=ex1_Vb_ci;
2330 #if defined(_DERIVATE)
2331 double m10_logE(d10_logE0,d00_logE0,ee1)
2333 #if defined(_DERIVATE)
2338 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2339 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
2341 vj2=((-vp)+(a*d00_logE0));
2346 #if defined(_DERIVATE)
2351 vj2_Vtnode_GND=vj1_Vtnode_GND;
2352 vj2_Vb_ci=vj1_Vb_ci;
2356 #if defined(_DERIVATE)
2361 vj4_Vb_ci=(Vbci_Vb_ci-vj1_Vb_ci);
2362 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
2368 double m00_logE(d00_logE0,(1.0-(vj1/vdci_t)))
2369 #if defined(_DERIVATE)
2370 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdci_t)))
2372 #if defined(_DERIVATE)
2377 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdci_t-vj1*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
2378 vdj1_Vb_ci=(-(vj1_Vb_ci/vdci_t))*d10_logE0;
2383 double m00_logE(d00_logE0,(1.0-(vj2/vdci_t)))
2384 #if defined(_DERIVATE)
2385 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdci_t)))
2387 #if defined(_DERIVATE)
2392 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdci_t-vj2*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
2393 vdj2_Vb_ci=(-(vj2_Vb_ci/vdci_t))*d10_logE0;
2398 double m00_exp(d00_exp0,(vdj2*ez))
2399 #if defined(_DERIVATE)
2400 #define d10_exp0 d00_exp0
2402 #if defined(_DERIVATE)
2407 qj1_Vtnode_GND=(((cjcx0_t_i_Vtnode_GND*(1.0-d00_exp0))+(cjcx0_t_i*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
2408 qj1_Vb_ci=((cjcx0_t_i*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
2410 qj1=((cjcx0_t_i*(1.0-d00_exp0))/ez);
2413 double m00_exp(d00_exp0,(vdj1*ezr))
2414 #if defined(_DERIVATE)
2415 #define d10_exp0 d00_exp0
2417 #if defined(_DERIVATE)
2422 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2423 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
2425 qj2=((cr*(1.0-d00_exp0))/ezr);
2428 double m00_exp(d00_exp0,(vdj2*ezr))
2429 #if defined(_DERIVATE)
2430 #define d10_exp0 d00_exp0
2432 #if defined(_DERIVATE)
2437 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2438 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
2440 qj3=((cr*(1.0-d00_exp0))/ezr);
2442 #if defined(_DYNAMIC)
2443 #if defined(_DERIVATE)
2445 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)));
2446 qjcx_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdci_t+(cmax*vj4_Vb_ci));
2448 qjcx=((((qj1+qj2)-qj3)*vdci_t)+(cmax*vj4));
2453 #if defined(_DYNAMIC)
2454 #if defined(_DERIVATE)
2456 qjcx_Vtnode_GND=0.0;
2470 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
2471 #if defined(_DERIVATE)
2472 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
2474 vf=(vdci_t*(1.0-d00_exp1));
2476 #if defined(_DERIVATE)
2480 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbci)*VT_Vtnode_GND)/VT/VT);
2481 xvf_Vb_ci=((-Vbci_Vb_ci)/VT);
2485 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
2486 #if defined(_DERIVATE)
2487 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
2489 #if defined(_DERIVATE)
2493 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
2494 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
2498 #if defined(_DERIVATE)
2502 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
2503 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
2505 v_j=(vf-((VT*(xvf+xvf2))*0.5));
2506 #if defined(_DERIVATE)
2512 double m00_logE(d00_logE0,(1.0-(v_j/vdci_t)))
2513 double
m00_exp(d00_exp1,(x*d00_logE0))
2514 #if defined(_DERIVATE)
2515 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdci_t)))
2516 #define d10_exp1 d00_exp1
2518 #if defined(_DERIVATE)
2523 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);
2524 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vdci_t))*d10_logE0)*d10_exp1);
2528 #if defined(_DYNAMIC)
2529 #if defined(_DERIVATE)
2531 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))));
2532 qjcx_Vb_ci=((((cjcx0_t_i*vdci_t)*y_Vb_ci)/
x)+((2.4*cjcx0_t_i)*(Vbci_Vb_ci-v_j_Vb_ci)));
2534 qjcx=((((cjcx0_t_i*vdci_t)*y)/
x)+((2.4*cjcx0_t_i)*(Vbci-v_j)));
2539 #if defined(_DYNAMIC)
2540 #if defined(_DERIVATE)
2542 qjcx_Vtnode_GND=0.0;
2552 #if defined(_DERIVATE)
2553 cjci0_t_ii_Vtnode_GND=cjci0_t_Vtnode_GND;
2556 #if defined(_DERIVATE)
2557 cjcx0_t_ii_Vtnode_GND=cjcx0_t_Vtnode_GND*fbc;
2559 cjcx0_t_ii=(cjcx0_t*fbc);
2567 #if defined(_DERIVATE)
2568 vp_Vtnode_GND=(-vdcx_t_Vtnode_GND);
2573 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
2574 #if defined(_DERIVATE)
2575 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
2577 vf=(vdcx_t*(1.0-d00_exp1));
2579 #if defined(_DERIVATE)
2580 cmax_Vtnode_GND=(2.4*cjcx0_t_ii_Vtnode_GND);
2582 cmax=(2.4*cjcx0_t_ii);
2584 double m00_logE(d00_logE0,(vdcx_t/vptcx))
2585 double
m00_exp(d00_exp1,((zcx-zr)*d00_logE0))
2586 #if defined(_DERIVATE)
2587 double m10_logE(d10_logE0,d00_logE0,(vdcx_t/vptcx))
2588 #define d10_exp1 d00_exp1
2590 #if defined(_DERIVATE)
2591 cr_Vtnode_GND=((cjcx0_t_ii_Vtnode_GND*d00_exp1)+(cjcx0_t_ii*((zcx-zr)*(vdcx_t_Vtnode_GND/vptcx)*d10_logE0)*
d10_exp1));
2593 cr=(cjcx0_t_ii*d00_exp1);
2595 #if defined(_DERIVATE)
2600 a_Vtnode_GND=VT_Vtnode_GND;
2603 #if defined(_DERIVATE)
2607 ve_Vbi_ci=(((-Vbici_Vbi_ci)*a-(vf-Vbici)*a_Vbi_ci)/a/a);
2608 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbici)*a_Vtnode_GND)/a/a);
2617 #if defined(_DERIVATE)
2618 #define d10_exp0 d00_exp0
2620 #if defined(_DERIVATE)
2625 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
2626 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
2630 #if defined(_DERIVATE)
2634 ee1_Vbi_ci=ex1_Vbi_ci;
2635 ee1_Vtnode_GND=ex1_Vtnode_GND;
2636 ee1_Vb_ci=ex1_Vb_ci;
2641 #if defined(_DERIVATE)
2642 double m10_logE(d10_logE0,d00_logE0,ee1)
2644 #if defined(_DERIVATE)
2648 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
2649 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2650 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
2652 vj1=(vf-(a*d00_logE0));
2657 #if defined(_DERIVATE)
2661 vj1_Vbi_ci=Vbici_Vbi_ci;
2667 #if defined(_DERIVATE)
2672 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
2674 a=((0.1*vp)+(4.0*VT));
2675 #if defined(_DERIVATE)
2679 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
2680 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
2681 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
2689 #if defined(_DERIVATE)
2690 #define d10_exp0 d00_exp0
2692 #if defined(_DERIVATE)
2697 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
2698 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
2702 #if defined(_DERIVATE)
2706 ee1_Vbi_ci=ex1_Vbi_ci;
2707 ee1_Vtnode_GND=ex1_Vtnode_GND;
2708 ee1_Vb_ci=ex1_Vb_ci;
2713 #if defined(_DERIVATE)
2714 double m10_logE(d10_logE0,d00_logE0,ee1)
2716 #if defined(_DERIVATE)
2720 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
2721 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
2722 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
2724 vj2=((-vp)+(a*d00_logE0));
2729 #if defined(_DERIVATE)
2733 vj2_Vbi_ci=vj1_Vbi_ci;
2734 vj2_Vtnode_GND=vj1_Vtnode_GND;
2735 vj2_Vb_ci=vj1_Vb_ci;
2739 #if defined(_DERIVATE)
2743 vj4_Vbi_ci=(Vbici_Vbi_ci-vj1_Vbi_ci);
2744 vj4_Vb_ci=(-vj1_Vb_ci);
2745 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
2751 double m00_logE(d00_logE0,(1.0-(vj1/vdcx_t)))
2752 #if defined(_DERIVATE)
2753 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdcx_t)))
2755 #if defined(_DERIVATE)
2759 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vdcx_t))*d10_logE0;
2760 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdcx_t-vj1*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
2761 vdj1_Vb_ci=(-(vj1_Vb_ci/vdcx_t))*d10_logE0;
2766 double m00_logE(d00_logE0,(1.0-(vj2/vdcx_t)))
2767 #if defined(_DERIVATE)
2768 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdcx_t)))
2770 #if defined(_DERIVATE)
2774 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vdcx_t))*d10_logE0;
2775 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdcx_t-vj2*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
2776 vdj2_Vb_ci=(-(vj2_Vb_ci/vdcx_t))*d10_logE0;
2781 double m00_exp(d00_exp0,(vdj2*ez))
2782 #if defined(_DERIVATE)
2783 #define d10_exp0 d00_exp0
2785 #if defined(_DERIVATE)
2789 qj1_Vbi_ci=((cjcx0_t_ii*(-vdj2_Vbi_ci*ez*
d10_exp0))/ez);
2790 qj1_Vtnode_GND=(((cjcx0_t_ii_Vtnode_GND*(1.0-d00_exp0))+(cjcx0_t_ii*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
2791 qj1_Vb_ci=((cjcx0_t_ii*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
2793 qj1=((cjcx0_t_ii*(1.0-d00_exp0))/ez);
2796 double m00_exp(d00_exp0,(vdj1*ezr))
2797 #if defined(_DERIVATE)
2798 #define d10_exp0 d00_exp0
2800 #if defined(_DERIVATE)
2804 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*
d10_exp0))/ezr);
2805 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2806 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
2808 qj2=((cr*(1.0-d00_exp0))/ezr);
2811 double m00_exp(d00_exp0,(vdj2*ezr))
2812 #if defined(_DERIVATE)
2813 #define d10_exp0 d00_exp0
2815 #if defined(_DERIVATE)
2819 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*
d10_exp0))/ezr);
2820 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
2821 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
2823 qj3=((cr*(1.0-d00_exp0))/ezr);
2825 #if defined(_DYNAMIC)
2826 #if defined(_DERIVATE)
2827 qjcxi_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vdcx_t+(cmax*vj4_Vbi_ci));
2828 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)));
2829 qjcxi_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdcx_t+(cmax*vj4_Vb_ci));
2831 qjcxi=((((qj1+qj2)-qj3)*vdcx_t)+(cmax*vj4));
2836 #if defined(_DYNAMIC)
2837 #if defined(_DERIVATE)
2839 qjcxi_Vtnode_GND=0.0;
2853 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
2854 #if defined(_DERIVATE)
2855 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
2857 vf=(vdcx_t*(1.0-d00_exp1));
2859 #if defined(_DERIVATE)
2862 xvf_Vbi_ci=((-Vbici_Vbi_ci)/VT);
2863 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbici)*VT_Vtnode_GND)/VT/VT);
2866 xvf=((vf-Vbici)/VT);
2868 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
2869 #if defined(_DERIVATE)
2870 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
2872 #if defined(_DERIVATE)
2875 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
2876 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
2877 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
2881 #if defined(_DERIVATE)
2884 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
2885 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
2886 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
2888 v_j=(vf-((VT*(xvf+xvf2))*0.5));
2889 #if defined(_DERIVATE)
2895 double m00_logE(d00_logE0,(1.0-(v_j/vdcx_t)))
2896 double
m00_exp(d00_exp1,(x*d00_logE0))
2897 #if defined(_DERIVATE)
2898 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdcx_t)))
2899 #define d10_exp1 d00_exp1
2901 #if defined(_DERIVATE)
2905 y_Vbi_ci=(-(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)*d10_exp1);
2906 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);
2907 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vdcx_t))*d10_logE0)*d10_exp1);
2911 #if defined(_DYNAMIC)
2912 #if defined(_DERIVATE)
2913 qjcxi_Vbi_ci=((((cjcx0_t_ii*vdcx_t)*y_Vbi_ci)/
x)+((2.4*cjcx0_t_ii)*(Vbici_Vbi_ci-v_j_Vbi_ci)));
2914 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))));
2915 qjcxi_Vb_ci=((((cjcx0_t_ii*vdcx_t)*y_Vb_ci)/
x)+((2.4*cjcx0_t_ii)*(-v_j_Vb_ci)));
2917 qjcxi=((((cjcx0_t_ii*vdcx_t)*y)/
x)+((2.4*cjcx0_t_ii)*(Vbici-v_j)));
2922 #if defined(_DYNAMIC)
2923 #if defined(_DERIVATE)
2925 qjcxi_Vtnode_GND=0.0;
2932 #if defined(_DERIVATE)
2933 cjcx0_t_i_Vtnode_GND=cjcx0_t_Vtnode_GND*(1-fbc);
2935 cjcx0_t_i=(cjcx0_t*(1-fbc));
2943 #if defined(_DERIVATE)
2944 vp_Vtnode_GND=(-vdcx_t_Vtnode_GND);
2949 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
2950 #if defined(_DERIVATE)
2951 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
2953 vf=(vdcx_t*(1.0-d00_exp1));
2955 #if defined(_DERIVATE)
2956 cmax_Vtnode_GND=(2.4*cjcx0_t_i_Vtnode_GND);
2958 cmax=(2.4*cjcx0_t_i);
2960 double m00_logE(d00_logE0,(vdcx_t/vptcx))
2961 double
m00_exp(d00_exp1,((zcx-zr)*d00_logE0))
2962 #if defined(_DERIVATE)
2963 double m10_logE(d10_logE0,d00_logE0,(vdcx_t/vptcx))
2964 #define d10_exp1 d00_exp1
2966 #if defined(_DERIVATE)
2967 cr_Vtnode_GND=((cjcx0_t_i_Vtnode_GND*d00_exp1)+(cjcx0_t_i*((zcx-zr)*(vdcx_t_Vtnode_GND/vptcx)*d10_logE0)*
d10_exp1));
2969 cr=(cjcx0_t_i*d00_exp1);
2971 #if defined(_DERIVATE)
2976 a_Vtnode_GND=VT_Vtnode_GND;
2979 #if defined(_DERIVATE)
2984 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbci)*a_Vtnode_GND)/a/a);
2985 ve_Vb_ci=(((-Vbci_Vb_ci)*a-(vf-Vbci)*a_Vb_ci)/a/a);
2993 #if defined(_DERIVATE)
2994 #define d10_exp0 d00_exp0
2996 #if defined(_DERIVATE)
3001 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
3002 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
3006 #if defined(_DERIVATE)
3010 ee1_Vbi_ci=ex1_Vbi_ci;
3011 ee1_Vtnode_GND=ex1_Vtnode_GND;
3012 ee1_Vb_ci=ex1_Vb_ci;
3017 #if defined(_DERIVATE)
3018 double m10_logE(d10_logE0,d00_logE0,ee1)
3020 #if defined(_DERIVATE)
3024 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
3025 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
3026 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
3028 vj1=(vf-(a*d00_logE0));
3033 #if defined(_DERIVATE)
3039 vj1_Vb_ci=Vbci_Vb_ci;
3043 #if defined(_DERIVATE)
3048 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
3050 a=((0.1*vp)+(4.0*VT));
3051 #if defined(_DERIVATE)
3055 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
3056 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
3057 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
3065 #if defined(_DERIVATE)
3066 #define d10_exp0 d00_exp0
3068 #if defined(_DERIVATE)
3073 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
3074 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
3078 #if defined(_DERIVATE)
3082 ee1_Vbi_ci=ex1_Vbi_ci;
3083 ee1_Vtnode_GND=ex1_Vtnode_GND;
3084 ee1_Vb_ci=ex1_Vb_ci;
3089 #if defined(_DERIVATE)
3090 double m10_logE(d10_logE0,d00_logE0,ee1)
3092 #if defined(_DERIVATE)
3096 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
3097 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
3098 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
3100 vj2=((-vp)+(a*d00_logE0));
3105 #if defined(_DERIVATE)
3109 vj2_Vbi_ci=vj1_Vbi_ci;
3110 vj2_Vtnode_GND=vj1_Vtnode_GND;
3111 vj2_Vb_ci=vj1_Vb_ci;
3115 #if defined(_DERIVATE)
3119 vj4_Vbi_ci=(-vj1_Vbi_ci);
3120 vj4_Vb_ci=(Vbci_Vb_ci-vj1_Vb_ci);
3121 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
3127 double m00_logE(d00_logE0,(1.0-(vj1/vdcx_t)))
3128 #if defined(_DERIVATE)
3129 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdcx_t)))
3131 #if defined(_DERIVATE)
3135 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vdcx_t))*d10_logE0;
3136 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdcx_t-vj1*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
3137 vdj1_Vb_ci=(-(vj1_Vb_ci/vdcx_t))*d10_logE0;
3142 double m00_logE(d00_logE0,(1.0-(vj2/vdcx_t)))
3143 #if defined(_DERIVATE)
3144 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdcx_t)))
3146 #if defined(_DERIVATE)
3150 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vdcx_t))*d10_logE0;
3151 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdcx_t-vj2*vdcx_t_Vtnode_GND)/vdcx_t/vdcx_t))*d10_logE0;
3152 vdj2_Vb_ci=(-(vj2_Vb_ci/vdcx_t))*d10_logE0;
3157 double m00_exp(d00_exp0,(vdj2*ez))
3158 #if defined(_DERIVATE)
3159 #define d10_exp0 d00_exp0
3161 #if defined(_DERIVATE)
3165 qj1_Vbi_ci=((cjcx0_t_i*(-vdj2_Vbi_ci*ez*
d10_exp0))/ez);
3166 qj1_Vtnode_GND=(((cjcx0_t_i_Vtnode_GND*(1.0-d00_exp0))+(cjcx0_t_i*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
3167 qj1_Vb_ci=((cjcx0_t_i*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
3169 qj1=((cjcx0_t_i*(1.0-d00_exp0))/ez);
3172 double m00_exp(d00_exp0,(vdj1*ezr))
3173 #if defined(_DERIVATE)
3174 #define d10_exp0 d00_exp0
3176 #if defined(_DERIVATE)
3180 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*
d10_exp0))/ezr);
3181 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3182 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
3184 qj2=((cr*(1.0-d00_exp0))/ezr);
3187 double m00_exp(d00_exp0,(vdj2*ezr))
3188 #if defined(_DERIVATE)
3189 #define d10_exp0 d00_exp0
3191 #if defined(_DERIVATE)
3195 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*
d10_exp0))/ezr);
3196 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3197 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
3199 qj3=((cr*(1.0-d00_exp0))/ezr);
3201 #if defined(_DYNAMIC)
3202 #if defined(_DERIVATE)
3203 qjcx_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vdcx_t+(cmax*vj4_Vbi_ci));
3204 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)));
3205 qjcx_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdcx_t+(cmax*vj4_Vb_ci));
3207 qjcx=((((qj1+qj2)-qj3)*vdcx_t)+(cmax*vj4));
3212 #if defined(_DYNAMIC)
3213 #if defined(_DERIVATE)
3215 qjcx_Vtnode_GND=0.0;
3229 double
m00_exp(d00_exp1,((-d00_logE0)/zcx))
3230 #if defined(_DERIVATE)
3231 vf_Vtnode_GND=vdcx_t_Vtnode_GND*(1.0-d00_exp1);
3233 vf=(vdcx_t*(1.0-d00_exp1));
3235 #if defined(_DERIVATE)
3239 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbci)*VT_Vtnode_GND)/VT/VT);
3240 xvf_Vb_ci=((-Vbci_Vb_ci)/VT);
3244 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3245 #if defined(_DERIVATE)
3246 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3248 #if defined(_DERIVATE)
3251 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
3252 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
3253 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
3257 #if defined(_DERIVATE)
3260 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
3261 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
3262 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
3264 v_j=(vf-((VT*(xvf+xvf2))*0.5));
3265 #if defined(_DERIVATE)
3271 double m00_logE(d00_logE0,(1.0-(v_j/vdcx_t)))
3272 double
m00_exp(d00_exp1,(x*d00_logE0))
3273 #if defined(_DERIVATE)
3274 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdcx_t)))
3275 #define d10_exp1 d00_exp1
3277 #if defined(_DERIVATE)
3281 y_Vbi_ci=(-(x*(-(v_j_Vbi_ci/vdcx_t))*d10_logE0)*d10_exp1);
3282 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);
3283 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vdcx_t))*d10_logE0)*d10_exp1);
3287 #if defined(_DYNAMIC)
3288 #if defined(_DERIVATE)
3289 qjcx_Vbi_ci=((((cjcx0_t_i*vdcx_t)*y_Vbi_ci)/
x)+((2.4*cjcx0_t_i)*(-v_j_Vbi_ci)));
3290 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))));
3291 qjcx_Vb_ci=((((cjcx0_t_i*vdcx_t)*y_Vb_ci)/
x)+((2.4*cjcx0_t_i)*(Vbci_Vb_ci-v_j_Vb_ci)));
3293 qjcx=((((cjcx0_t_i*vdcx_t)*y)/
x)+((2.4*cjcx0_t_i)*(Vbci-v_j)));
3298 #if defined(_DYNAMIC)
3299 #if defined(_DERIVATE)
3301 qjcx_Vtnode_GND=0.0;
3316 #if defined(_DERIVATE)
3317 vp_Vtnode_GND=(-vdci_t_Vtnode_GND);
3322 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
3323 #if defined(_DERIVATE)
3324 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
3326 vf=(vdci_t*(1.0-d00_exp1));
3328 #if defined(_DERIVATE)
3329 cmax_Vtnode_GND=(2.4*cjci0_t_ii_Vtnode_GND);
3331 cmax=(2.4*cjci0_t_ii);
3333 double m00_logE(d00_logE0,(vdci_t/vptci))
3334 double
m00_exp(d00_exp1,((zci-zr)*d00_logE0))
3335 #if defined(_DERIVATE)
3336 double m10_logE(d10_logE0,d00_logE0,(vdci_t/vptci))
3337 #define d10_exp1 d00_exp1
3339 #if defined(_DERIVATE)
3340 cr_Vtnode_GND=((cjci0_t_ii_Vtnode_GND*d00_exp1)+(cjci0_t_ii*((zci-zr)*(vdci_t_Vtnode_GND/vptci)*d10_logE0)*
d10_exp1));
3342 cr=(cjci0_t_ii*d00_exp1);
3344 #if defined(_DERIVATE)
3349 a_Vtnode_GND=VT_Vtnode_GND;
3352 #if defined(_DERIVATE)
3356 ve_Vbi_ci=(((-Vbici_Vbi_ci)*a-(vf-Vbici)*a_Vbi_ci)/a/a);
3357 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vbici)*a_Vtnode_GND)/a/a);
3366 #if defined(_DERIVATE)
3367 #define d10_exp0 d00_exp0
3369 #if defined(_DERIVATE)
3374 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
3375 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
3379 #if defined(_DERIVATE)
3383 ee1_Vbi_ci=ex1_Vbi_ci;
3384 ee1_Vtnode_GND=ex1_Vtnode_GND;
3385 ee1_Vb_ci=ex1_Vb_ci;
3390 #if defined(_DERIVATE)
3391 double m10_logE(d10_logE0,d00_logE0,ee1)
3393 #if defined(_DERIVATE)
3397 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
3398 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
3399 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
3401 vj1=(vf-(a*d00_logE0));
3406 #if defined(_DERIVATE)
3410 vj1_Vbi_ci=Vbici_Vbi_ci;
3416 #if defined(_DERIVATE)
3421 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
3423 a=((0.1*vp)+(4.0*VT));
3424 #if defined(_DERIVATE)
3428 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
3429 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
3430 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
3438 #if defined(_DERIVATE)
3439 #define d10_exp0 d00_exp0
3441 #if defined(_DERIVATE)
3446 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
3447 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
3451 #if defined(_DERIVATE)
3455 ee1_Vbi_ci=ex1_Vbi_ci;
3456 ee1_Vtnode_GND=ex1_Vtnode_GND;
3457 ee1_Vb_ci=ex1_Vb_ci;
3462 #if defined(_DERIVATE)
3463 double m10_logE(d10_logE0,d00_logE0,ee1)
3465 #if defined(_DERIVATE)
3469 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
3470 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
3471 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
3473 vj2=((-vp)+(a*d00_logE0));
3478 #if defined(_DERIVATE)
3482 vj2_Vbi_ci=vj1_Vbi_ci;
3483 vj2_Vtnode_GND=vj1_Vtnode_GND;
3484 vj2_Vb_ci=vj1_Vb_ci;
3488 #if defined(_DERIVATE)
3492 vj4_Vbi_ci=(Vbici_Vbi_ci-vj1_Vbi_ci);
3493 vj4_Vb_ci=(-vj1_Vb_ci);
3494 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
3500 double m00_logE(d00_logE0,(1.0-(vj1/vdci_t)))
3501 #if defined(_DERIVATE)
3502 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vdci_t)))
3504 #if defined(_DERIVATE)
3508 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vdci_t))*d10_logE0;
3509 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vdci_t-vj1*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
3510 vdj1_Vb_ci=(-(vj1_Vb_ci/vdci_t))*d10_logE0;
3515 double m00_logE(d00_logE0,(1.0-(vj2/vdci_t)))
3516 #if defined(_DERIVATE)
3517 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vdci_t)))
3519 #if defined(_DERIVATE)
3523 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vdci_t))*d10_logE0;
3524 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vdci_t-vj2*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0;
3525 vdj2_Vb_ci=(-(vj2_Vb_ci/vdci_t))*d10_logE0;
3530 double m00_exp(d00_exp0,(vdj2*ez))
3531 #if defined(_DERIVATE)
3532 #define d10_exp0 d00_exp0
3534 #if defined(_DERIVATE)
3538 qj1_Vbi_ci=((cjci0_t_ii*(-vdj2_Vbi_ci*ez*
d10_exp0))/ez);
3539 qj1_Vtnode_GND=(((cjci0_t_ii_Vtnode_GND*(1.0-d00_exp0))+(cjci0_t_ii*(-vdj2_Vtnode_GND*ez*
d10_exp0)))/ez);
3540 qj1_Vb_ci=((cjci0_t_ii*(-vdj2_Vb_ci*ez*
d10_exp0))/ez);
3542 qj1=((cjci0_t_ii*(1.0-d00_exp0))/ez);
3545 double m00_exp(d00_exp0,(vdj1*ezr))
3546 #if defined(_DERIVATE)
3547 #define d10_exp0 d00_exp0
3549 #if defined(_DERIVATE)
3553 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*
d10_exp0))/ezr);
3554 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3555 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*
d10_exp0))/ezr);
3557 qj2=((cr*(1.0-d00_exp0))/ezr);
3560 double m00_exp(d00_exp0,(vdj2*ezr))
3561 #if defined(_DERIVATE)
3562 #define d10_exp0 d00_exp0
3564 #if defined(_DERIVATE)
3568 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*
d10_exp0))/ezr);
3569 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*
d10_exp0)))/ezr);
3570 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*
d10_exp0))/ezr);
3572 qj3=((cr*(1.0-d00_exp0))/ezr);
3574 #if defined(_DERIVATE)
3575 qjci_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vdci_t+(cmax*vj4_Vbi_ci));
3576 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)));
3577 qjci_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vdci_t+(cmax*vj4_Vb_ci));
3579 qjci=((((qj1+qj2)-qj3)*vdci_t)+(cmax*vj4));
3583 #if defined(_DERIVATE)
3585 qjci_Vtnode_GND=0.0;
3598 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
3599 #if defined(_DERIVATE)
3600 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
3602 vf=(vdci_t*(1.0-d00_exp1));
3604 #if defined(_DERIVATE)
3607 xvf_Vbi_ci=((-Vbici_Vbi_ci)/VT);
3608 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbici)*VT_Vtnode_GND)/VT/VT);
3611 xvf=((vf-Vbici)/VT);
3613 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3614 #if defined(_DERIVATE)
3615 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3617 #if defined(_DERIVATE)
3620 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
3621 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
3622 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
3626 #if defined(_DERIVATE)
3629 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
3630 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
3631 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
3633 v_j=(vf-((VT*(xvf+xvf2))*0.5));
3634 #if defined(_DERIVATE)
3640 double m00_logE(d00_logE0,(1.0-(v_j/vdci_t)))
3641 double
m00_exp(d00_exp1,(x*d00_logE0))
3642 #if defined(_DERIVATE)
3643 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdci_t)))
3644 #define d10_exp1 d00_exp1
3646 #if defined(_DERIVATE)
3650 y_Vbi_ci=(-(x*(-(v_j_Vbi_ci/vdci_t))*d10_logE0)*d10_exp1);
3651 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);
3652 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vdci_t))*d10_logE0)*d10_exp1);
3656 #if defined(_DERIVATE)
3657 qjci_Vbi_ci=((((cjci0_t_ii*vdci_t)*y_Vbi_ci)/
x)+((2.4*cjci0_t_ii)*(Vbici_Vbi_ci-v_j_Vbi_ci)));
3658 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))));
3659 qjci_Vb_ci=((((cjci0_t_ii*vdci_t)*y_Vb_ci)/
x)+((2.4*cjci0_t_ii)*(-v_j_Vb_ci)));
3661 qjci=((((cjci0_t_ii*vdci_t)*y)/
x)+((2.4*cjci0_t_ii)*(Vbici-v_j)));
3665 #if defined(_DERIVATE)
3667 qjci_Vtnode_GND=0.0;
3673 #if defined(_DYNAMIC)
3674 #if defined(_DERIVATE)
3675 qjcii_Vbi_ci=(qjci_Vbi_ci+qjcxi_Vbi_ci);
3676 qjcii_Vtnode_GND=(qjci_Vtnode_GND+qjcxi_Vtnode_GND);
3677 qjcii_Vb_ci=(qjci_Vb_ci+qjcxi_Vb_ci);
3686 double
m00_exp(d00_exp1,((-d00_logE0)/zci))
3687 #if defined(_DERIVATE)
3688 vf_Vtnode_GND=vdci_t_Vtnode_GND*(1.0-d00_exp1);
3690 vf=(vdci_t*(1.0-d00_exp1));
3692 #if defined(_DERIVATE)
3695 xvf_Vbi_ci=((-Vbici_Vbi_ci)/VT);
3696 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbici)*VT_Vtnode_GND)/VT/VT);
3699 xvf=((vf-Vbici)/VT);
3701 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3702 #if defined(_DERIVATE)
3703 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3705 #if defined(_DERIVATE)
3708 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
3709 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
3710 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
3714 #if defined(_DERIVATE)
3717 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
3718 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
3719 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
3721 v_j=(vf-((VT*(xvf+xvf2))*0.5));
3722 #if defined(_DERIVATE)
3723 dvj_Vbi_ci=(((0.5*(xvf_Vbi_ci+xvf2_Vbi_ci))*xvf2-(0.5*(xvf+xvf2))*xvf2_Vbi_ci)/xvf2/xvf2);
3724 dvj_Vtnode_GND=(((0.5*(xvf_Vtnode_GND+xvf2_Vtnode_GND))*xvf2-(0.5*(xvf+xvf2))*xvf2_Vtnode_GND)/xvf2/xvf2);
3725 dvj_Vb_ci=(((0.5*(xvf_Vb_ci+xvf2_Vb_ci))*xvf2-(0.5*(xvf+xvf2))*xvf2_Vb_ci)/xvf2/xvf2);
3727 dvj=((0.5*(xvf+xvf2))/xvf2);
3729 double m00_logE(d00_logE0,(1-(v_j/vdci_t)))
3730 double
m00_exp(d00_exp1,((-zci)*d00_logE0))
3731 #if defined(_DERIVATE)
3732 double m10_logE(d10_logE0,d00_logE0,(1-(v_j/vdci_t)))
3733 #define d10_exp1 d00_exp1
3735 #if defined(_DERIVATE)
3736 cjcii_Vtnode_GND=(((((cjci0_t_ii_Vtnode_GND*d00_exp1)+(cjci0_t_ii*((-zci)*(-((v_j_Vtnode_GND*vdci_t-v_j*vdci_t_Vtnode_GND)/vdci_t/vdci_t))*d10_logE0)*
d10_exp1))*dvj)+((cjci0_t_ii*d00_exp1)*dvj_Vtnode_GND))+(((2.4*cjci0_t_ii_Vtnode_GND)*(1-dvj))+((2.4*cjci0_t_ii)*(-dvj_Vtnode_GND))));
3737 cjcii_Vbi_ci=((((cjci0_t_ii*((-zci)*(-(v_j_Vbi_ci/vdci_t))*d10_logE0)*
d10_exp1)*dvj)+((cjci0_t_ii*d00_exp1)*dvj_Vbi_ci))+((2.4*cjci0_t_ii)*(-dvj_Vbi_ci)));
3738 cjcii_Vb_ci=((((cjci0_t_ii*((-zci)*(-(v_j_Vb_ci/vdci_t))*d10_logE0)*
d10_exp1)*dvj)+((cjci0_t_ii*d00_exp1)*dvj_Vb_ci))+((2.4*cjci0_t_ii)*(-dvj_Vb_ci)));
3740 cjcii=(((cjci0_t_ii*d00_exp1)*dvj)+((2.4*cjci0_t_ii)*(1-dvj)));
3745 #if defined(_DERIVATE)
3746 cjcii_Vtnode_GND=0.0;
3752 #if defined(_DERIVATE)
3753 vc_Vci_ei=Vciei_Vci_ei;
3754 vc_Vtnode_GND=(-vces_t_Vtnode_GND);
3757 #if defined(_DERIVATE)
3758 uvc_Vci_ei=(vc_Vci_ei/VT);
3759 uvc_Vtnode_GND=((vc_Vtnode_GND*VT-vc*VT_Vtnode_GND)/VT/VT);
3763 double m00_sqrt(d00_sqrt0,((uvc*uvc)+1.921812))
3764 #if defined(_DERIVATE)
3765 double m10_sqrt(d10_sqrt0,d00_sqrt0,((uvc*uvc)+1.921812))
3767 #if defined(_DERIVATE)
3768 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))));
3769 vceff_Vci_ei=(VT*(0.5*(uvc_Vci_ei+((uvc_Vci_ei*uvc)+(uvc*uvc_Vci_ei))*d10_sqrt0)));
3771 vceff=(VT*(1+(0.5*(uvc+d00_sqrt0))));
3773 #if defined(_DERIVATE)
3774 x_Vtnode_GND=((vceff_Vtnode_GND-vlim_t_Vtnode_GND)/vpt);
3775 x_Vci_ei=(vceff_Vci_ei/vpt);
3777 x=((vceff-vlim_t)/vpt);
3780 double
m00_sqrt(d00_sqrt1,(1+(((vceff*vceff)/vlim_t)/vlim_t)))
3781 #if defined(_DERIVATE)
3782 double m10_sqrt(d10_sqrt0,d00_sqrt0,((x*x)+1
e-3))
3783 double
m10_sqrt(d10_sqrt1,d00_sqrt1,(1+(((vceff*vceff)/vlim_t)/vlim_t)))
3785 #if defined(_DERIVATE)
3786 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);
3787 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);
3789 ick=(((vceff*(1+(0.5*(x+d00_sqrt0))))/rci0_t)/d00_sqrt1);
3792 (((cjcii>0.0)&&(cjci0_t_ii>0.0)))
3794 #if defined(_DERIVATE)
3795 cc_Vtnode_GND=((cjci0_t_ii_Vtnode_GND*cjcii-cjci0_t_ii*cjcii_Vtnode_GND)/cjcii/cjcii);
3796 cc_Vbi_ci=(-cjci0_t_ii*cjcii_Vbi_ci/cjcii/cjcii);
3797 cc_Vb_ci=(-cjci0_t_ii*cjcii_Vb_ci/cjcii/cjcii);
3799 cc=(cjci0_t_ii/cjcii);
3800 #if defined(_DERIVATE)
3801 qjci_Vbi_ci=(qjci_Vbi_ci/cjci0_t_ii);
3802 qjci_Vtnode_GND=((qjci_Vtnode_GND*cjci0_t_ii-qjci*cjci0_t_ii_Vtnode_GND)/cjci0_t_ii/cjci0_t_ii);
3803 qjci_Vb_ci=(qjci_Vb_ci/cjci0_t_ii);
3805 qjci=(qjci/cjci0_t_ii);
3809 #if defined(_DERIVATE)
3815 #if defined(_DERIVATE)
3817 qjci_Vtnode_GND=0.0;
3827 double
m00_exp(d00_exp1,((-d00_logE0)/zedc))
3828 #if defined(_DERIVATE)
3829 double m10_logE(d10_logE0,d00_logE0,ajedc_t)
3830 #define d10_exp1 d00_exp1
3832 #if defined(_DERIVATE)
3833 vf_Vtnode_GND=((vdedc_t_Vtnode_GND*(1.0-d00_exp1))+(vdedc_t*(-((-ajedc_t_Vtnode_GND*d10_logE0)/zedc)*
d10_exp1)));
3835 vf=(vdedc_t*(1.0-d00_exp1));
3837 #if defined(_DERIVATE)
3839 xvf_Vbi_ei=((-Vbiei_Vbi_ei)/VT);
3841 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbiei)*VT_Vtnode_GND)/VT/VT);
3844 xvf=((vf-Vbiei)/VT);
3846 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
3847 #if defined(_DERIVATE)
3848 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
3850 #if defined(_DERIVATE)
3852 xvf2_Vbi_ei=((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))*d10_sqrt0;
3853 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
3854 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
3855 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
3859 #if defined(_DERIVATE)
3861 v_j_Vbi_ei=(-(VT*(xvf_Vbi_ei+xvf2_Vbi_ei))*0.5);
3862 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
3863 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
3864 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
3866 v_j=(vf-((VT*(xvf+xvf2))*0.5));
3867 #if defined(_DERIVATE)
3873 double m00_logE(d00_logE0,(1.0-(v_j/vdedc_t)))
3874 double
m00_exp(d00_exp1,(x*d00_logE0))
3875 #if defined(_DERIVATE)
3876 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vdedc_t)))
3877 #define d10_exp1 d00_exp1
3879 #if defined(_DERIVATE)
3881 y_Vci_ei=(-x_Vci_ei*d00_logE0*
d10_exp1);
3882 y_Vbi_ei=(-(x*(-(v_j_Vbi_ei/vdedc_t))*d10_logE0)*d10_exp1);
3883 y_Vbi_ci=(-(x*(-(v_j_Vbi_ci/vdedc_t))*d10_logE0)*d10_exp1);
3884 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);
3885 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vdedc_t))*d10_logE0)*d10_exp1);
3889 #if defined(_DERIVATE)
3890 qjei_Vtnode_GND=(((((((cje0_dc_t_Vtnode_GND*vdedc_t)+(cje0_dc_t*vdedc_t_Vtnode_GND))*y)+((cje0_dc_t*vdedc_t)*y_Vtnode_GND))*x-((cje0_dc_t*vdedc_t)*y)*x_Vtnode_GND)/x/
x)+((((ajedc_t_Vtnode_GND*cje0_dc_t)+(ajedc_t*cje0_dc_t_Vtnode_GND))*(Vbiei-v_j))+((ajedc_t*cje0_dc_t)*(-v_j_Vtnode_GND))));
3891 qjei_Vci_ei=((((cje0_dc_t*vdedc_t)*y_Vci_ei)*x-((cje0_dc_t*vdedc_t)*y)*x_Vci_ei)/x/x);
3892 qjei_Vbi_ei=((((cje0_dc_t*vdedc_t)*y_Vbi_ei)/
x)+((ajedc_t*cje0_dc_t)*(Vbiei_Vbi_ei-v_j_Vbi_ei)));
3893 qjei_Vbi_ci=((((cje0_dc_t*vdedc_t)*y_Vbi_ci)/
x)+((ajedc_t*cje0_dc_t)*(-v_j_Vbi_ci)));
3894 qjei_Vb_ci=((((cje0_dc_t*vdedc_t)*y_Vb_ci)/
x)+((ajedc_t*cje0_dc_t)*(-v_j_Vb_ci)));
3896 qjei=((((cje0_dc_t*vdedc_t)*y)/
x)+((ajedc_t*cje0_dc_t)*(Vbiei-v_j)));
3900 #if defined(_DERIVATE)
3901 qjei_Vtnode_GND=0.0;
3912 #if defined(_DERIVATE)
3913 h_vbe_Vtnode_GND=0.0;
3920 #if defined(_DERIVATE)
3921 vjh_Vtnode_GND=((vdedc_t_Vtnode_GND*(2.0*VT)-(vdedc_t-Vbiei)*(2.0*VT_Vtnode_GND))/(2.0*VT)/(2.0*VT));
3922 vjh_Vbi_ei=((-Vbiei_Vbi_ei)/(2.0*VT));
3924 vjh=((vdedc_t-Vbiei)/(2.0*VT));
3926 double m00_sqrt(d00_sqrt0,((vjh*vjh)+1.921812))
3927 #if defined(_DERIVATE)
3928 double m10_sqrt(d10_sqrt0,d00_sqrt0,((vjh*vjh)+1.921812))
3930 #if defined(_DERIVATE)
3931 vjh_Vtnode_GND=(vdedc_t_Vtnode_GND-(((2.0*VT_Vtnode_GND)*(vjh+d00_sqrt0))+((2.0*VT)*(vjh_Vtnode_GND+((vjh_Vtnode_GND*vjh)+(vjh*vjh_Vtnode_GND))*d10_sqrt0)))*0.5);
3932 vjh_Vbi_ei=(-((2.0*VT)*(vjh_Vbi_ei+((vjh_Vbi_ei*vjh)+(vjh*vjh_Vbi_ei))*d10_sqrt0))*0.5);
3934 vjh=(vdedc_t-(((2.0*VT)*(vjh+d00_sqrt0))*0.5));
3936 #if defined(_DERIVATE)
3937 vjh_Vtnode_GND=(((vjh_Vtnode_GND-VT_Vtnode_GND)*VT-(vjh-VT)*VT_Vtnode_GND)/VT/VT);
3938 vjh_Vbi_ei=(vjh_Vbi_ei/VT);
3942 double m00_sqrt(d00_sqrt0,((vjh*vjh)+1.921812))
3943 #if defined(_DERIVATE)
3944 double m10_sqrt(d10_sqrt0,d00_sqrt0,((vjh*vjh)+1.921812))
3946 #if defined(_DERIVATE)
3947 vjh_Vtnode_GND=((VT_Vtnode_GND*(1.0+((vjh+d00_sqrt0)*0.5)))+(VT*(vjh_Vtnode_GND+((vjh_Vtnode_GND*vjh)+(vjh*vjh_Vtnode_GND))*d10_sqrt0)*0.5));
3948 vjh_Vbi_ei=(VT*(vjh_Vbi_ei+((vjh_Vbi_ei*vjh)+(vjh*vjh_Vbi_ei))*d10_sqrt0)*0.5);
3950 vjh=(VT*(1.0+((vjh+d00_sqrt0)*0.5)));
3953 double m00_logE(d00_logE0,(1.0-(vjh/vdedc_t)))
3954 double
m00_exp(d00_exp1,(zedc*d00_logE0))
3955 #if defined(_DERIVATE)
3956 double m10_logE(d10_logE0,d00_logE0,(1.0-(vjh/vdedc_t)))
3957 #define d10_exp1 d00_exp1
3959 #if defined(_DERIVATE)
3960 vj_z_Vtnode_GND=(((-(zedc*(-((vjh_Vtnode_GND*vdedc_t-vjh*vdedc_t_Vtnode_GND)/vdedc_t/vdedc_t))*d10_logE0)*
d10_exp1)*aver_t)+((1.0-d00_exp1)*aver_t_Vtnode_GND));
3961 vj_z_Vbi_ei=(-(zedc*(-(vjh_Vbi_ei/vdedc_t))*d10_logE0)*d10_exp1)*aver_t;
3963 vj_z=((1.0-d00_exp1)*aver_t);
3967 #if defined(_DERIVATE)
3968 #define d10_exp0 d00_exp0
3970 #if defined(_DERIVATE)
3971 h_vbe_Vtnode_GND=((vj_z_Vtnode_GND*
d10_exp0*vj_z-(d00_exp0-1.0)*vj_z_Vtnode_GND)/vj_z/vj_z);
3972 h_vbe_Vbi_ei=((vj_z_Vbi_ei*
d10_exp0*vj_z-(d00_exp0-1.0)*vj_z_Vbi_ei)/vj_z/vj_z);
3974 h_vbe=((d00_exp0-1.0)/vj_z);
3977 #if defined(_DERIVATE)
3978 qje_Vtnode_GND=((((h_vbe_Vtnode_GND*qjei)+(h_vbe*qjei_Vtnode_GND))*cje0_t-(h_vbe*qjei)*cje0_t_Vtnode_GND)/cje0_t/cje0_t);
3979 qje_Vbi_ei=(((h_vbe_Vbi_ei*qjei)+(h_vbe*qjei_Vbi_ei))/cje0_t);
3980 qje_Vci_ei=((h_vbe*qjei_Vci_ei)/cje0_t);
3981 qje_Vbi_ci=((h_vbe*qjei_Vbi_ci)/cje0_t);
3982 qje_Vb_ci=((h_vbe*qjei_Vb_ci)/cje0_t);
3984 qje=((h_vbe*qjei)/cje0_t);
3985 #if defined(_DERIVATE)
3986 qj_Vbi_ci=((qjci_Vbi_ci/vef)+(qje_Vbi_ci/ver_t));
3987 qj_Vtnode_GND=((qjci_Vtnode_GND/vef)+((qje_Vtnode_GND*ver_t-qje*ver_t_Vtnode_GND)/ver_t/ver_t));
3988 qj_Vb_ci=((qjci_Vb_ci/vef)+(qje_Vb_ci/ver_t));
3989 qj_Vbi_ei=(qje_Vbi_ei/ver_t);
3990 qj_Vci_ei=(qje_Vci_ei/ver_t);
3992 qj=((1+(qjci/vef))+(qje/ver_t));
3993 #if defined(_DYNAMIC)
3996 #if defined(_DERIVATE)
3997 b_q_Vbi_ci=(20*qj_Vbi_ci);
3998 b_q_Vtnode_GND=(20*qj_Vtnode_GND);
3999 b_q_Vb_ci=(20*qj_Vb_ci);
4000 b_q_Vbi_ei=(20*qj_Vbi_ei);
4001 b_q_Vci_ei=(20*qj_Vci_ei);
4005 double m00_sqrt(d00_sqrt0,((b_q*b_q)+1.921812))
4006 #if defined(_DERIVATE)
4007 double m10_sqrt(d10_sqrt0,d00_sqrt0,((b_q*b_q)+1.921812))
4009 #if defined(_DERIVATE)
4010 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));
4011 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));
4012 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));
4013 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));
4014 qj_2_Vci_ei=(0.025*((b_q_Vci_ei+((b_q_Vci_ei*b_q)+(b_q*b_q_Vci_ei))*d10_sqrt0)/2));
4016 qj_2=(0.025*(1+((b_q+d00_sqrt0)/2)));
4018 #if defined(_DERIVATE)
4019 tf0_Vtnode_GND=((t0_t_Vtnode_GND+(dt0h*cc_Vtnode_GND))+(tbvl*(-1*cc_Vtnode_GND/cc/cc)));
4020 tf0_Vbi_ci=((dt0h*cc_Vbi_ci)+(tbvl*(-1*cc_Vbi_ci/cc/cc)));
4021 tf0_Vb_ci=((dt0h*cc_Vb_ci)+(tbvl*(-1*cc_Vb_ci/cc/cc)));
4023 tf0=((t0_t+(dt0h*(cc-1)))+(tbvl*((1/cc)-1)));
4027 #if defined(_DERIVATE)
4028 denom_iqf_Vtnode_GND=(fiqf*(tf0_Vtnode_GND/t0));
4029 denom_iqf_Vbi_ci=(fiqf*(tf0_Vbi_ci/t0));
4030 denom_iqf_Vb_ci=(fiqf*(tf0_Vb_ci/t0));
4032 denom_iqf=(fiqf*((tf0/t0)-1));
4033 #if defined(_DERIVATE)
4034 ickf_Vtnode_GND=((iqf_t_Vtnode_GND*(1+denom_iqf)-iqf_t*denom_iqf_Vtnode_GND)/(1+denom_iqf)/(1+denom_iqf));
4035 ickf_Vbi_ci=(-iqf_t*denom_iqf_Vbi_ci/(1+denom_iqf)/(1+denom_iqf));
4036 ickf_Vb_ci=(-iqf_t*denom_iqf_Vb_ci/(1+denom_iqf)/(1+denom_iqf));
4038 ickf=(iqf_t/(1+denom_iqf));
4042 #if defined(_DERIVATE)
4043 ickf_Vtnode_GND=iqf_t_Vtnode_GND;
4050 #if defined(_DERIVATE)
4051 arg1_Vbi_ei=(Vbiei_Vbi_ei/(mcf*VT));
4052 arg1_Vtnode_GND=(-Vbiei*(mcf*VT_Vtnode_GND)/(mcf*VT)/(mcf*VT));
4054 arg1=(Vbiei/(mcf*VT));
4058 #if defined(_DERIVATE)
4059 le1_Vbi_ei=arg1_Vbi_ei;
4060 le1_Vtnode_GND=arg1_Vtnode_GND;
4063 #if defined(_DERIVATE)
4065 arg1_Vtnode_GND=0.0;
4071 #if defined(_DERIVATE)
4079 #if defined(_DERIVATE)
4080 double m10_limexp(d10_limexp0,d00_limexp0,arg1)
4082 #if defined(_DERIVATE)
4083 le1_Vbi_ei=((le1_Vbi_ei*d00_limexp0)+(le1*arg1_Vbi_ei*d10_limexp0));
4084 le1_Vtnode_GND=((le1_Vtnode_GND*d00_limexp0)+(le1*arg1_Vtnode_GND*d10_limexp0));
4086 le1=(le1*d00_limexp0);
4088 #if defined(_DERIVATE)
4089 itfi_Vtnode_GND=((is_t_Vtnode_GND*le1)+(is_t*le1_Vtnode_GND));
4090 itfi_Vbi_ei=(is_t*le1_Vbi_ei);
4093 #if defined(_DERIVATE)
4094 arg2_Vbi_ci=(Vbici_Vbi_ci/(mcr*VT));
4095 arg2_Vtnode_GND=(-Vbici*(mcr*VT_Vtnode_GND)/(mcr*VT)/(mcr*VT));
4097 arg2=(Vbici/(mcr*VT));
4101 #if defined(_DERIVATE)
4102 le2_Vbi_ci=arg2_Vbi_ci;
4103 le2_Vtnode_GND=arg2_Vtnode_GND;
4106 #if defined(_DERIVATE)
4108 arg2_Vtnode_GND=0.0;
4114 #if defined(_DERIVATE)
4122 #if defined(_DERIVATE)
4123 double m10_limexp(d10_limexp0,d00_limexp0,arg2)
4125 #if defined(_DERIVATE)
4126 le2_Vbi_ci=((le2_Vbi_ci*d00_limexp0)+(le2*arg2_Vbi_ci*d10_limexp0));
4127 le2_Vtnode_GND=((le2_Vtnode_GND*d00_limexp0)+(le2*arg2_Vtnode_GND*d10_limexp0));
4129 le2=(le2*d00_limexp0);
4131 #if defined(_DERIVATE)
4132 itri_Vtnode_GND=((is_t_Vtnode_GND*le2)+(is_t*le2_Vtnode_GND));
4133 itri_Vbi_ci=(is_t*le2_Vbi_ci);
4140 double m00_logE(d00_logE0,((itfi*(itfi/ick))*(tfh_t/iqfh_t)))
4141 double
m00_exp(d00_exp1,(0.6666*d00_logE0))
4142 #if defined(_DERIVATE)
4143 double m10_logE(d10_logE0,d00_logE0,((itfi*(itfi/ick))*(tfh_t/iqfh_t)))
4144 #define d10_exp1 d00_exp1
4146 #if defined(_DERIVATE)
4147 qml_Vtnode_GND=((((itfi_Vtnode_GND*ickf-itfi*ickf_Vtnode_GND)/ickf/ickf)+(itri_Vtnode_GND/ickr))+(0.6666*((((itfi_Vtnode_GND*(itfi/ick))+(itfi*((itfi_Vtnode_GND*ick-itfi*ick_Vtnode_GND)/ick/ick)))*(tfh_t/iqfh_t))+((itfi*(itfi/ick))*((tfh_t_Vtnode_GND*iqfh_t-tfh_t*iqfh_t_Vtnode_GND)/iqfh_t/iqfh_t)))*d10_logE0)*d10_exp1);
4148 qml_Vbi_ei=((itfi_Vbi_ei/ickf)+(0.6666*((itfi_Vbi_ei*(itfi/ick))+(itfi*(itfi_Vbi_ei/ick)))*(tfh_t/iqfh_t)*d10_logE0)*d10_exp1);
4149 qml_Vbi_ci=((-itfi*ickf_Vbi_ci/ickf/ickf)+(itri_Vbi_ci/ickr));
4150 qml_Vb_ci=(-itfi*ickf_Vb_ci/ickf/ickf);
4151 qml_Vci_ei=(0.6666*(itfi*(-itfi*ick_Vci_ei/ick/ick))*(tfh_t/iqfh_t)*d10_logE0)*d10_exp1;
4153 qml=(((itfi/ickf)+(itri/ickr))+d00_exp1);
4156 double m00_logE(d00_logE0,((itfi*(itfi/ick))*(tfh_t/iqfh_t)))
4157 double
m00_exp(d00_exp1,(0.6666*d00_logE0))
4158 #if defined(_DERIVATE)
4159 double m10_logE(d10_logE0,d00_logE0,((itfi*(itfi/ick))*(tfh_t/iqfh_t)))
4160 #define d10_exp1 d00_exp1
4162 #if defined(_DERIVATE)
4163 qmh_Vtnode_GND=(((((itfi_Vtnode_GND*ickf-itfi*ickf_Vtnode_GND)/ickf/ickf)+(itri_Vtnode_GND/ickr))+((itfi_Vtnode_GND*iqfh_t-itfi*iqfh_t_Vtnode_GND)/iqfh_t/iqfh_t))+(0.6666*((((itfi_Vtnode_GND*(itfi/ick))+(itfi*((itfi_Vtnode_GND*ick-itfi*ick_Vtnode_GND)/ick/ick)))*(tfh_t/iqfh_t))+((itfi*(itfi/ick))*((tfh_t_Vtnode_GND*iqfh_t-tfh_t*iqfh_t_Vtnode_GND)/iqfh_t/iqfh_t)))*d10_logE0)*d10_exp1);
4164 qmh_Vbi_ei=(((itfi_Vbi_ei/ickf)+(itfi_Vbi_ei/iqfh_t))+(0.6666*((itfi_Vbi_ei*(itfi/ick))+(itfi*(itfi_Vbi_ei/ick)))*(tfh_t/iqfh_t)*d10_logE0)*d10_exp1);
4165 qmh_Vbi_ci=((-itfi*ickf_Vbi_ci/ickf/ickf)+(itri_Vbi_ci/ickr));
4166 qmh_Vb_ci=(-itfi*ickf_Vb_ci/ickf/ickf);
4167 qmh_Vci_ei=(0.6666*(itfi*(-itfi*ick_Vci_ei/ick/ick))*(tfh_t/iqfh_t)*d10_logE0)*d10_exp1;
4169 qmh=((((itfi/ickf)+(itri/ickr))+(itfi/iqfh_t))+d00_exp1);
4174 #if defined(_DERIVATE)
4175 qml_Vtnode_GND=(((itfi_Vtnode_GND*ickf-itfi*ickf_Vtnode_GND)/ickf/ickf)+(itri_Vtnode_GND/ickr));
4176 qml_Vbi_ei=(itfi_Vbi_ei/ickf);
4177 qml_Vbi_ci=((-itfi*ickf_Vbi_ci/ickf/ickf)+(itri_Vbi_ci/ickr));
4178 qml_Vb_ci=(-itfi*ickf_Vb_ci/ickf/ickf);
4181 qml=((itfi/ickf)+(itri/ickr));
4182 #if defined(_DERIVATE)
4183 qmh_Vtnode_GND=((((itfi_Vtnode_GND*ickf-itfi*ickf_Vtnode_GND)/ickf/ickf)+(itri_Vtnode_GND/ickr))+((itfi_Vtnode_GND*iqfh_t-itfi*iqfh_t_Vtnode_GND)/iqfh_t/iqfh_t));
4184 qmh_Vbi_ei=((itfi_Vbi_ei/ickf)+(itfi_Vbi_ei/iqfh_t));
4185 qmh_Vbi_ci=((-itfi*ickf_Vbi_ci/ickf/ickf)+(itri_Vbi_ci/ickr));
4186 qmh_Vb_ci=(-itfi*ickf_Vb_ci/ickf/ickf);
4189 qmh=(((itfi/ickf)+(itri/ickr))+(itfi/iqfh_t));
4192 double m00_sqrt(d00_sqrt0,((qj_2*qj_2)+qml))
4193 #if defined(_DERIVATE)
4194 double m10_sqrt(d10_sqrt0,d00_sqrt0,((qj_2*qj_2)+qml))
4196 #if defined(_DERIVATE)
4197 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);
4198 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);
4199 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);
4200 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);
4201 qpt_l_Vci_ei=(qj_2_Vci_ei+(((qj_2_Vci_ei*qj_2)+(qj_2*qj_2_Vci_ei))+qml_Vci_ei)*d10_sqrt0);
4203 qpt_l=(qj_2+d00_sqrt0);
4206 double m00_sqrt(d00_sqrt0,((qj_2*qj_2)+qmh))
4207 #if defined(_DERIVATE)
4208 double m10_sqrt(d10_sqrt0,d00_sqrt0,((qj_2*qj_2)+qmh))
4210 #if defined(_DERIVATE)
4211 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);
4212 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);
4213 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);
4214 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);
4215 qpt_h_Vci_ei=(qj_2_Vci_ei+(((qj_2_Vci_ei*qj_2)+(qj_2*qj_2_Vci_ei))+qmh_Vci_ei)*d10_sqrt0);
4217 qpt_h=(qj_2+d00_sqrt0);
4219 #if defined(_DERIVATE)
4220 diff_q_Vtnode_GND=(qmh_Vtnode_GND-qml_Vtnode_GND);
4221 diff_q_Vbi_ei=(qmh_Vbi_ei-qml_Vbi_ei);
4222 diff_q_Vbi_ci=(qmh_Vbi_ci-qml_Vbi_ci);
4223 diff_q_Vb_ci=(qmh_Vb_ci-qml_Vb_ci);
4224 diff_q_Vci_ei=(qmh_Vci_ei-qml_Vci_ei);
4232 #if defined(_DERIVATE)
4233 a1_Vtnode_GND=(-(((((ick_Vtnode_GND/(1+ahq_t))*itfi-(ick/(1+ahq_t))*itfi_Vtnode_GND)/itfi/itfi)*qpt_l)+(((ick/(1+ahq_t))/itfi)*qpt_l_Vtnode_GND)));
4234 a1_Vci_ei=(-((((ick_Vci_ei/(1+ahq_t))/itfi)*qpt_l)+(((ick/(1+ahq_t))/itfi)*qpt_l_Vci_ei)));
4235 a1_Vbi_ei=(-(((-(ick/(1+ahq_t))*itfi_Vbi_ei/itfi/itfi)*qpt_l)+(((ick/(1+ahq_t))/itfi)*qpt_l_Vbi_ei)));
4236 a1_Vbi_ci=(-(((ick/(1+ahq_t))/itfi)*qpt_l_Vbi_ci));
4237 a1_Vb_ci=(-(((ick/(1+ahq_t))/itfi)*qpt_l_Vb_ci));
4239 a1=(1-(((ick/(1+ahq_t))/itfi)*qpt_l));
4240 #if defined(_DERIVATE)
4241 a2_Vtnode_GND=(((((ick_Vtnode_GND/(1+ahq_t))*itfi-(ick/(1+ahq_t))*itfi_Vtnode_GND)/itfi/itfi)*(qpt_h-qpt_l))+(((ick/(1+ahq_t))/itfi)*(qpt_h_Vtnode_GND-qpt_l_Vtnode_GND)));
4242 a2_Vci_ei=((((ick_Vci_ei/(1+ahq_t))/itfi)*(qpt_h-qpt_l))+(((ick/(1+ahq_t))/itfi)*(qpt_h_Vci_ei-qpt_l_Vci_ei)));
4243 a2_Vbi_ei=(((-(ick/(1+ahq_t))*itfi_Vbi_ei/itfi/itfi)*(qpt_h-qpt_l))+(((ick/(1+ahq_t))/itfi)*(qpt_h_Vbi_ei-qpt_l_Vbi_ei)));
4244 a2_Vbi_ci=(((ick/(1+ahq_t))/itfi)*(qpt_h_Vbi_ci-qpt_l_Vbi_ci));
4245 a2_Vb_ci=(((ick/(1+ahq_t))/itfi)*(qpt_h_Vb_ci-qpt_l_Vb_ci));
4247 a2=(1+(((ick/(1+ahq_t))/itfi)*(qpt_h-qpt_l)));
4248 #if defined(_DERIVATE)
4249 aa_Vtnode_GND=((a1_Vtnode_GND*a2-a1*a2_Vtnode_GND)/a2/a2);
4250 aa_Vci_ei=((a1_Vci_ei*a2-a1*a2_Vci_ei)/a2/a2);
4251 aa_Vbi_ei=((a1_Vbi_ei*a2-a1*a2_Vbi_ei)/a2/a2);
4252 aa_Vbi_ci=((a1_Vbi_ci*a2-a1*a2_Vbi_ci)/a2/a2);
4253 aa_Vb_ci=((a1_Vb_ci*a2-a1*a2_Vb_ci)/a2/a2);
4257 double m00_sqrt(d00_sqrt0,((aa*aa)+0.01))
4258 double
m00_sqrt(d00_sqrt1,(1+0.01))
4259 #if defined(_DERIVATE)
4260 double m10_sqrt(d10_sqrt0,d00_sqrt0,((aa*aa)+0.01))
4262 #if defined(_DERIVATE)
4263 wdc_Vtnode_GND=((((aa_Vtnode_GND*aa)+(aa*aa_Vtnode_GND))*d10_sqrt0+aa_Vtnode_GND)/(1+d00_sqrt1));
4264 wdc_Vci_ei=((((aa_Vci_ei*aa)+(aa*aa_Vci_ei))*d10_sqrt0+aa_Vci_ei)/(1+d00_sqrt1));
4265 wdc_Vbi_ei=((((aa_Vbi_ei*aa)+(aa*aa_Vbi_ei))*d10_sqrt0+aa_Vbi_ei)/(1+d00_sqrt1));
4266 wdc_Vbi_ci=((((aa_Vbi_ci*aa)+(aa*aa_Vbi_ci))*d10_sqrt0+aa_Vbi_ci)/(1+d00_sqrt1));
4267 wdc_Vb_ci=((((aa_Vb_ci*aa)+(aa*aa_Vb_ci))*d10_sqrt0+aa_Vb_ci)/(1+d00_sqrt1));
4269 wdc=((d00_sqrt0+aa)/(1+d00_sqrt1));
4274 #if defined(_DERIVATE)
4291 double m00_logE(d00_logE0,((itfi*(itfi/ick))*(tfh_t/iqfh_t)))
4292 double
m00_exp(d00_exp1,(0.6666*d00_logE0))
4293 #if defined(_DERIVATE)
4294 double m10_logE(d10_logE0,d00_logE0,((itfi*(itfi/ick))*(tfh_t/iqfh_t)))
4295 #define d10_exp1 d00_exp1
4297 #if defined(_DERIVATE)
4298 qm_Vtnode_GND=(((((itfi_Vtnode_GND*ickf-itfi*ickf_Vtnode_GND)/ickf/ickf)+(itri_Vtnode_GND/ickr))+((((((itfi_Vtnode_GND*iqfh_t-itfi*iqfh_t_Vtnode_GND)/iqfh_t/iqfh_t)*wdc)+((itfi/iqfh_t)*wdc_Vtnode_GND))*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vtnode_GND)))+(0.6666*((((itfi_Vtnode_GND*(itfi/ick))+(itfi*((itfi_Vtnode_GND*ick-itfi*ick_Vtnode_GND)/ick/ick)))*(tfh_t/iqfh_t))+((itfi*(itfi/ick))*((tfh_t_Vtnode_GND*iqfh_t-tfh_t*iqfh_t_Vtnode_GND)/iqfh_t/iqfh_t)))*d10_logE0)*d10_exp1);
4299 qm_Vbi_ei=(((itfi_Vbi_ei/ickf)+(((((itfi_Vbi_ei/iqfh_t)*wdc)+((itfi/iqfh_t)*wdc_Vbi_ei))*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vbi_ei)))+(0.6666*((itfi_Vbi_ei*(itfi/ick))+(itfi*(itfi_Vbi_ei/ick)))*(tfh_t/iqfh_t)*d10_logE0)*d10_exp1);
4300 qm_Vbi_ci=(((-itfi*ickf_Vbi_ci/ickf/ickf)+(itri_Vbi_ci/ickr))+((((itfi/iqfh_t)*wdc_Vbi_ci)*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vbi_ci)));
4301 qm_Vb_ci=((-itfi*ickf_Vb_ci/ickf/ickf)+((((itfi/iqfh_t)*wdc_Vb_ci)*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vb_ci)));
4302 qm_Vci_ei=(((((itfi/iqfh_t)*wdc_Vci_ei)*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vci_ei))+(0.6666*(itfi*(-itfi*ick_Vci_ei/ick/ick))*(tfh_t/iqfh_t)*d10_logE0)*d10_exp1);
4304 qm=((((itfi/ickf)+(itri/ickr))+(((itfi/iqfh_t)*wdc)*wdc))+d00_exp1);
4309 #if defined(_DERIVATE)
4310 qm_Vtnode_GND=((((itfi_Vtnode_GND*ickf-itfi*ickf_Vtnode_GND)/ickf/ickf)+(itri_Vtnode_GND/ickr))+((((((itfi_Vtnode_GND*iqfh_t-itfi*iqfh_t_Vtnode_GND)/iqfh_t/iqfh_t)*wdc)+((itfi/iqfh_t)*wdc_Vtnode_GND))*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vtnode_GND)));
4311 qm_Vbi_ei=((itfi_Vbi_ei/ickf)+(((((itfi_Vbi_ei/iqfh_t)*wdc)+((itfi/iqfh_t)*wdc_Vbi_ei))*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vbi_ei)));
4312 qm_Vbi_ci=(((-itfi*ickf_Vbi_ci/ickf/ickf)+(itri_Vbi_ci/ickr))+((((itfi/iqfh_t)*wdc_Vbi_ci)*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vbi_ci)));
4313 qm_Vb_ci=((-itfi*ickf_Vb_ci/ickf/ickf)+((((itfi/iqfh_t)*wdc_Vb_ci)*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vb_ci)));
4314 qm_Vci_ei=((((itfi/iqfh_t)*wdc_Vci_ei)*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vci_ei));
4316 qm=(((itfi/ickf)+(itri/ickr))+(((itfi/iqfh_t)*wdc)*wdc));
4319 double m00_sqrt(d00_sqrt0,((qj_2*qj_2)+qm))
4320 #if defined(_DERIVATE)
4321 double m10_sqrt(d10_sqrt0,d00_sqrt0,((qj_2*qj_2)+qm))
4323 #if defined(_DERIVATE)
4324 qpt_Vbi_ci=(qj_2_Vbi_ci+(((qj_2_Vbi_ci*qj_2)+(qj_2*qj_2_Vbi_ci))+qm_Vbi_ci)*d10_sqrt0);
4325 qpt_Vtnode_GND=(qj_2_Vtnode_GND+(((qj_2_Vtnode_GND*qj_2)+(qj_2*qj_2_Vtnode_GND))+qm_Vtnode_GND)*d10_sqrt0);
4326 qpt_Vb_ci=(qj_2_Vb_ci+(((qj_2_Vb_ci*qj_2)+(qj_2*qj_2_Vb_ci))+qm_Vb_ci)*d10_sqrt0);
4327 qpt_Vbi_ei=(qj_2_Vbi_ei+(((qj_2_Vbi_ei*qj_2)+(qj_2*qj_2_Vbi_ei))+qm_Vbi_ei)*d10_sqrt0);
4328 qpt_Vci_ei=(qj_2_Vci_ei+(((qj_2_Vci_ei*qj_2)+(qj_2*qj_2_Vci_ei))+qm_Vci_ei)*d10_sqrt0);
4330 qpt=(qj_2+d00_sqrt0);
4336 #if defined(_DERIVATE)
4337 p2_a_Vbi_ci=((-2)*qj_2_Vbi_ci);
4338 p2_a_Vtnode_GND=((-2)*qj_2_Vtnode_GND);
4339 p2_a_Vb_ci=((-2)*qj_2_Vb_ci);
4340 p2_a_Vbi_ei=((-2)*qj_2_Vbi_ei);
4341 p2_a_Vci_ei=((-2)*qj_2_Vci_ei);
4345 (((iqf==1.0e6)&&(iqfh==1.0e6)))
4347 #if defined(_DERIVATE)
4348 p2_b_Vtnode_GND=0.0;
4358 #if defined(_DERIVATE)
4359 p2_b_Vtnode_GND=(-((((itfi_Vtnode_GND*ickf-itfi*ickf_Vtnode_GND)/ickf/ickf)+(itri_Vtnode_GND/ickr))+((((((itfi_Vtnode_GND*iqfh_t-itfi*iqfh_t_Vtnode_GND)/iqfh_t/iqfh_t)*wdc)+((itfi/iqfh_t)*wdc_Vtnode_GND))*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vtnode_GND))));
4360 p2_b_Vbi_ei=(-((itfi_Vbi_ei/ickf)+(((((itfi_Vbi_ei/iqfh_t)*wdc)+((itfi/iqfh_t)*wdc_Vbi_ei))*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vbi_ei))));
4361 p2_b_Vbi_ci=(-(((-itfi*ickf_Vbi_ci/ickf/ickf)+(itri_Vbi_ci/ickr))+((((itfi/iqfh_t)*wdc_Vbi_ci)*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vbi_ci))));
4362 p2_b_Vb_ci=(-((-itfi*ickf_Vb_ci/ickf/ickf)+((((itfi/iqfh_t)*wdc_Vb_ci)*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vb_ci))));
4363 p2_b_Vci_ei=(-((((itfi/iqfh_t)*wdc_Vci_ei)*wdc)+(((itfi/iqfh_t)*wdc)*wdc_Vci_ei)));
4365 p2_b=(-(((itfi/ickf)+(itri/ickr))+(((itfi/iqfh_t)*wdc)*wdc)));
4367 #if defined(_DERIVATE)
4368 p2_c_Vtnode_GND=(((((((((-itfi_Vtnode_GND)*itfi)+((-itfi)*itfi_Vtnode_GND))*ick-((-itfi)*itfi)*ick_Vtnode_GND)/ick/ick)*tfh_t)+((((-itfi)*itfi)/ick)*tfh_t_Vtnode_GND))*iqfh_t-((((-itfi)*itfi)/ick)*tfh_t)*iqfh_t_Vtnode_GND)/iqfh_t/iqfh_t);
4369 p2_c_Vbi_ei=(((((-itfi_Vbi_ei)*itfi)+((-itfi)*itfi_Vbi_ei))/ick)*tfh_t/iqfh_t);
4370 p2_c_Vci_ei=((-((-itfi)*itfi)*ick_Vci_ei/ick/ick)*tfh_t/iqfh_t);
4372 p2_c=(((((-itfi)*itfi)/ick)*tfh_t)/iqfh_t);
4373 #if defined(_DERIVATE)
4374 tmp_Vbi_ci=((p2_a_Vbi_ci*p2_a)+(p2_a*p2_a_Vbi_ci));
4375 tmp_Vtnode_GND=((p2_a_Vtnode_GND*p2_a)+(p2_a*p2_a_Vtnode_GND));
4376 tmp_Vb_ci=((p2_a_Vb_ci*p2_a)+(p2_a*p2_a_Vb_ci));
4377 tmp_Vbi_ei=((p2_a_Vbi_ei*p2_a)+(p2_a*p2_a_Vbi_ei));
4378 tmp_Vci_ei=((p2_a_Vci_ei*p2_a)+(p2_a*p2_a_Vci_ei));
4381 #if defined(_DERIVATE)
4382 p2_p_Vtnode_GND=(p2_b_Vtnode_GND-tmp_Vtnode_GND*o3);
4383 p2_p_Vbi_ei=(p2_b_Vbi_ei-tmp_Vbi_ei*o3);
4384 p2_p_Vbi_ci=(p2_b_Vbi_ci-tmp_Vbi_ci*o3);
4385 p2_p_Vb_ci=(p2_b_Vb_ci-tmp_Vb_ci*o3);
4386 p2_p_Vci_ei=(p2_b_Vci_ei-tmp_Vci_ei*o3);
4388 p2_p=(p2_b-(tmp*o3));
4389 #if defined(_DERIVATE)
4390 p2_q_Vbi_ci=(((((2*p2_a_Vbi_ci)*tmp)+((2*p2_a)*tmp_Vbi_ci))/27)-((p2_a_Vbi_ci*p2_b)+(p2_a*p2_b_Vbi_ci))*o3);
4391 p2_q_Vtnode_GND=((((((2*p2_a_Vtnode_GND)*tmp)+((2*p2_a)*tmp_Vtnode_GND))/27)-((p2_a_Vtnode_GND*p2_b)+(p2_a*p2_b_Vtnode_GND))*o3)+p2_c_Vtnode_GND);
4392 p2_q_Vb_ci=(((((2*p2_a_Vb_ci)*tmp)+((2*p2_a)*tmp_Vb_ci))/27)-((p2_a_Vb_ci*p2_b)+(p2_a*p2_b_Vb_ci))*o3);
4393 p2_q_Vbi_ei=((((((2*p2_a_Vbi_ei)*tmp)+((2*p2_a)*tmp_Vbi_ei))/27)-((p2_a_Vbi_ei*p2_b)+(p2_a*p2_b_Vbi_ei))*o3)+p2_c_Vbi_ei);
4394 p2_q_Vci_ei=((((((2*p2_a_Vci_ei)*tmp)+((2*p2_a)*tmp_Vci_ei))/27)-((p2_a_Vci_ei*p2_b)+(p2_a*p2_b_Vci_ei))*o3)+p2_c_Vci_ei);
4396 p2_q=(((((2*p2_a)*tmp)/27)-((p2_a*p2_b)*o3))+p2_c);
4397 #if defined(_DERIVATE)
4398 p2_D_Vbi_ci=(((p2_q_Vbi_ci*p2_q)+(p2_q*p2_q_Vbi_ci))*0.25+(((((p2_p_Vbi_ci*p2_p)+(p2_p*p2_p_Vbi_ci))*p2_p)+((p2_p*p2_p)*p2_p_Vbi_ci))/27));
4399 p2_D_Vtnode_GND=(((p2_q_Vtnode_GND*p2_q)+(p2_q*p2_q_Vtnode_GND))*0.25+(((((p2_p_Vtnode_GND*p2_p)+(p2_p*p2_p_Vtnode_GND))*p2_p)+((p2_p*p2_p)*p2_p_Vtnode_GND))/27));
4400 p2_D_Vb_ci=(((p2_q_Vb_ci*p2_q)+(p2_q*p2_q_Vb_ci))*0.25+(((((p2_p_Vb_ci*p2_p)+(p2_p*p2_p_Vb_ci))*p2_p)+((p2_p*p2_p)*p2_p_Vb_ci))/27));
4401 p2_D_Vbi_ei=(((p2_q_Vbi_ei*p2_q)+(p2_q*p2_q_Vbi_ei))*0.25+(((((p2_p_Vbi_ei*p2_p)+(p2_p*p2_p_Vbi_ei))*p2_p)+((p2_p*p2_p)*p2_p_Vbi_ei))/27));
4402 p2_D_Vci_ei=(((p2_q_Vci_ei*p2_q)+(p2_q*p2_q_Vci_ei))*0.25+(((((p2_p_Vci_ei*p2_p)+(p2_p*p2_p_Vci_ei))*p2_p)+((p2_p*p2_p)*p2_p_Vci_ei))/27));
4404 p2_D=(((p2_q*p2_q)*0.25)+(((p2_p*p2_p)*p2_p)/27));
4410 #if defined(_DERIVATE)
4411 q_p3_Vbi_ci=((((3*p2_q_Vbi_ci)*p2_p-(3*p2_q)*p2_p_Vbi_ci)/p2_p/p2_p)-p2_a_Vbi_ci*o3);
4412 q_p3_Vtnode_GND=((((3*p2_q_Vtnode_GND)*p2_p-(3*p2_q)*p2_p_Vtnode_GND)/p2_p/p2_p)-p2_a_Vtnode_GND*o3);
4413 q_p3_Vb_ci=((((3*p2_q_Vb_ci)*p2_p-(3*p2_q)*p2_p_Vb_ci)/p2_p/p2_p)-p2_a_Vb_ci*o3);
4414 q_p3_Vbi_ei=((((3*p2_q_Vbi_ei)*p2_p-(3*p2_q)*p2_p_Vbi_ei)/p2_p/p2_p)-p2_a_Vbi_ei*o3);
4415 q_p3_Vci_ei=((((3*p2_q_Vci_ei)*p2_p-(3*p2_q)*p2_p_Vci_ei)/p2_p/p2_p)-p2_a_Vci_ei*o3);
4417 q_p3=(((3*p2_q)/p2_p)-(p2_a*o3));
4424 #if defined(_DERIVATE)
4425 tmp2_Vbi_ci=(-p2_q_Vbi_ci)*0.5;
4426 tmp2_Vtnode_GND=(-p2_q_Vtnode_GND)*0.5;
4427 tmp2_Vb_ci=(-p2_q_Vb_ci)*0.5;
4428 tmp2_Vbi_ei=(-p2_q_Vbi_ei)*0.5;
4429 tmp2_Vci_ei=(-p2_q_Vci_ei)*0.5;
4434 #if defined(_DERIVATE)
4435 double m10_sqrt(d10_sqrt0,d00_sqrt0,p2_D)
4437 #if defined(_DERIVATE)
4438 tmp3_Vbi_ci=p2_D_Vbi_ci*d10_sqrt0;
4439 tmp3_Vtnode_GND=p2_D_Vtnode_GND*d10_sqrt0;
4440 tmp3_Vb_ci=p2_D_Vb_ci*d10_sqrt0;
4441 tmp3_Vbi_ei=p2_D_Vbi_ei*d10_sqrt0;
4442 tmp3_Vci_ei=p2_D_Vci_ei*d10_sqrt0;
4446 #if defined(_DERIVATE)
4447 tmp_Vbi_ci=(tmp2_Vbi_ci+tmp3_Vbi_ci);
4448 tmp_Vtnode_GND=(tmp2_Vtnode_GND+tmp3_Vtnode_GND);
4449 tmp_Vb_ci=(tmp2_Vb_ci+tmp3_Vb_ci);
4450 tmp_Vbi_ei=(tmp2_Vbi_ei+tmp3_Vbi_ei);
4451 tmp_Vci_ei=(tmp2_Vci_ei+tmp3_Vci_ei);
4459 double
m00_exp(d00_exp1,(o3*d00_logE0))
4460 #if defined(_DERIVATE)
4461 double m10_logE(d10_logE0,d00_logE0,tmp)
4462 #define d10_exp1 d00_exp1
4464 #if defined(_DERIVATE)
4465 p2_u_Vbi_ci=(o3*tmp_Vbi_ci*d10_logE0)*d10_exp1;
4466 p2_u_Vtnode_GND=(o3*tmp_Vtnode_GND*d10_logE0)*d10_exp1;
4467 p2_u_Vb_ci=(o3*tmp_Vb_ci*d10_logE0)*d10_exp1;
4468 p2_u_Vbi_ei=(o3*tmp_Vbi_ei*d10_logE0)*d10_exp1;
4469 p2_u_Vci_ei=(o3*tmp_Vci_ei*d10_logE0)*d10_exp1;
4478 double
m00_exp(d00_exp1,(o3*d00_logE0))
4479 #if defined(_DERIVATE)
4480 double m10_logE(d10_logE0,d00_logE0,(-tmp))
4481 #define d10_exp1 d00_exp1
4483 #if defined(_DERIVATE)
4484 p2_u_Vbi_ci=(-(o3*(-tmp_Vbi_ci)*d10_logE0)*d10_exp1);
4485 p2_u_Vtnode_GND=(-(o3*(-tmp_Vtnode_GND)*d10_logE0)*d10_exp1);
4486 p2_u_Vb_ci=(-(o3*(-tmp_Vb_ci)*d10_logE0)*d10_exp1);
4487 p2_u_Vbi_ei=(-(o3*(-tmp_Vbi_ei)*d10_logE0)*d10_exp1);
4488 p2_u_Vci_ei=(-(o3*(-tmp_Vci_ei)*d10_logE0)*d10_exp1);
4493 #if defined(_DERIVATE)
4494 tmp_Vbi_ci=(tmp2_Vbi_ci-tmp3_Vbi_ci);
4495 tmp_Vtnode_GND=(tmp2_Vtnode_GND-tmp3_Vtnode_GND);
4496 tmp_Vb_ci=(tmp2_Vb_ci-tmp3_Vb_ci);
4497 tmp_Vbi_ei=(tmp2_Vbi_ei-tmp3_Vbi_ei);
4498 tmp_Vci_ei=(tmp2_Vci_ei-tmp3_Vci_ei);
4506 double
m00_exp(d00_exp1,(o3*d00_logE0))
4507 #if defined(_DERIVATE)
4508 double m10_logE(d10_logE0,d00_logE0,tmp)
4509 #define d10_exp1 d00_exp1
4511 #if defined(_DERIVATE)
4512 p2_v_Vbi_ci=(o3*tmp_Vbi_ci*d10_logE0)*d10_exp1;
4513 p2_v_Vtnode_GND=(o3*tmp_Vtnode_GND*d10_logE0)*d10_exp1;
4514 p2_v_Vb_ci=(o3*tmp_Vb_ci*d10_logE0)*d10_exp1;
4515 p2_v_Vbi_ei=(o3*tmp_Vbi_ei*d10_logE0)*d10_exp1;
4516 p2_v_Vci_ei=(o3*tmp_Vci_ei*d10_logE0)*d10_exp1;
4525 double
m00_exp(d00_exp1,(o3*d00_logE0))
4526 #if defined(_DERIVATE)
4527 double m10_logE(d10_logE0,d00_logE0,(-tmp))
4528 #define d10_exp1 d00_exp1
4530 #if defined(_DERIVATE)
4531 p2_v_Vbi_ci=(-(o3*(-tmp_Vbi_ci)*d10_logE0)*d10_exp1);
4532 p2_v_Vtnode_GND=(-(o3*(-tmp_Vtnode_GND)*d10_logE0)*d10_exp1);
4533 p2_v_Vb_ci=(-(o3*(-tmp_Vb_ci)*d10_logE0)*d10_exp1);
4534 p2_v_Vbi_ei=(-(o3*(-tmp_Vbi_ei)*d10_logE0)*d10_exp1);
4535 p2_v_Vci_ei=(-(o3*(-tmp_Vci_ei)*d10_logE0)*d10_exp1);
4540 #if defined(_DERIVATE)
4541 q_p3_Vbi_ci=((p2_u_Vbi_ci+p2_v_Vbi_ci)-p2_a_Vbi_ci*o3);
4542 q_p3_Vtnode_GND=((p2_u_Vtnode_GND+p2_v_Vtnode_GND)-p2_a_Vtnode_GND*o3);
4543 q_p3_Vb_ci=((p2_u_Vb_ci+p2_v_Vb_ci)-p2_a_Vb_ci*o3);
4544 q_p3_Vbi_ei=((p2_u_Vbi_ei+p2_v_Vbi_ei)-p2_a_Vbi_ei*o3);
4545 q_p3_Vci_ei=((p2_u_Vci_ei+p2_v_Vci_ei)-p2_a_Vci_ei*o3);
4547 q_p3=((p2_u+p2_v)-(p2_a*o3));
4552 double m00_sqrt(d00_sqrt0,((-27.0)/((p2_p*p2_p)*p2_p)))
4553 #if defined(_DERIVATE)
4554 double m10_sqrt(d10_sqrt0,d00_sqrt0,((-27.0)/((p2_p*p2_p)*p2_p)))
4556 #if defined(_DERIVATE)
4557 tmp_Vbi_ci=(((-p2_q_Vbi_ci)*0.5*d00_sqrt0)+(((-p2_q)*0.5)*(-(-27.0)*((((p2_p_Vbi_ci*p2_p)+(p2_p*p2_p_Vbi_ci))*p2_p)+((p2_p*p2_p)*p2_p_Vbi_ci))/((p2_p*p2_p)*p2_p)/((p2_p*p2_p)*p2_p))*d10_sqrt0));
4558 tmp_Vtnode_GND=(((-p2_q_Vtnode_GND)*0.5*d00_sqrt0)+(((-p2_q)*0.5)*(-(-27.0)*((((p2_p_Vtnode_GND*p2_p)+(p2_p*p2_p_Vtnode_GND))*p2_p)+((p2_p*p2_p)*p2_p_Vtnode_GND))/((p2_p*p2_p)*p2_p)/((p2_p*p2_p)*p2_p))*d10_sqrt0));
4559 tmp_Vb_ci=(((-p2_q_Vb_ci)*0.5*d00_sqrt0)+(((-p2_q)*0.5)*(-(-27.0)*((((p2_p_Vb_ci*p2_p)+(p2_p*p2_p_Vb_ci))*p2_p)+((p2_p*p2_p)*p2_p_Vb_ci))/((p2_p*p2_p)*p2_p)/((p2_p*p2_p)*p2_p))*d10_sqrt0));
4560 tmp_Vbi_ei=(((-p2_q_Vbi_ei)*0.5*d00_sqrt0)+(((-p2_q)*0.5)*(-(-27.0)*((((p2_p_Vbi_ei*p2_p)+(p2_p*p2_p_Vbi_ei))*p2_p)+((p2_p*p2_p)*p2_p_Vbi_ei))/((p2_p*p2_p)*p2_p)/((p2_p*p2_p)*p2_p))*d10_sqrt0));
4561 tmp_Vci_ei=(((-p2_q_Vci_ei)*0.5*d00_sqrt0)+(((-p2_q)*0.5)*(-(-27.0)*((((p2_p_Vci_ei*p2_p)+(p2_p*p2_p_Vci_ei))*p2_p)+((p2_p*p2_p)*p2_p_Vci_ei))/((p2_p*p2_p)*p2_p)/((p2_p*p2_p)*p2_p))*d10_sqrt0));
4563 tmp=(((-p2_q)*0.5)*d00_sqrt0);
4565 #if defined(_DERIVATE)
4566 tmp2_Vbi_ci=((tmp_Vbi_ci*tmp)+(tmp*tmp_Vbi_ci));
4567 tmp2_Vtnode_GND=((tmp_Vtnode_GND*tmp)+(tmp*tmp_Vtnode_GND));
4568 tmp2_Vb_ci=((tmp_Vb_ci*tmp)+(tmp*tmp_Vb_ci));
4569 tmp2_Vbi_ei=((tmp_Vbi_ei*tmp)+(tmp*tmp_Vbi_ei));
4570 tmp2_Vci_ei=((tmp_Vci_ei*tmp)+(tmp*tmp_Vci_ei));
4577 double m00_sqrt(d00_sqrt0,(tmp2/(1-tmp2)))
4578 double
m00_atan(d00_atan1,d00_sqrt0)
4579 #if defined(_DERIVATE)
4580 double m10_sqrt(d10_sqrt0,d00_sqrt0,(tmp2/(1-tmp2)))
4581 double
m10_atan(d10_atan1,d00_atan1,d00_sqrt0)
4583 #if defined(_DERIVATE)
4584 tmp_Vbi_ci=(-((tmp2_Vbi_ci*(1-tmp2)-tmp2*(-tmp2_Vbi_ci))/(1-tmp2)/(1-tmp2))*d10_sqrt0*d10_atan1);
4585 tmp_Vtnode_GND=(-((tmp2_Vtnode_GND*(1-tmp2)-tmp2*(-tmp2_Vtnode_GND))/(1-tmp2)/(1-tmp2))*d10_sqrt0*d10_atan1);
4586 tmp_Vb_ci=(-((tmp2_Vb_ci*(1-tmp2)-tmp2*(-tmp2_Vb_ci))/(1-tmp2)/(1-tmp2))*d10_sqrt0*d10_atan1);
4587 tmp_Vbi_ei=(-((tmp2_Vbi_ei*(1-tmp2)-tmp2*(-tmp2_Vbi_ei))/(1-tmp2)/(1-tmp2))*d10_sqrt0*d10_atan1);
4588 tmp_Vci_ei=(-((tmp2_Vci_ei*(1-tmp2)-tmp2*(-tmp2_Vci_ei))/(1-tmp2)/(1-tmp2))*d10_sqrt0*d10_atan1);
4590 tmp=((3.14159265358979323846/2)-d00_atan1);
4596 double m00_sqrt(d00_sqrt0,(tmp2/(1-tmp2)))
4597 double
m00_atan(d00_atan1,d00_sqrt0)
4598 #if defined(_DERIVATE)
4599 double m10_sqrt(d10_sqrt0,d00_sqrt0,(tmp2/(1-tmp2)))
4600 double
m10_atan(d10_atan1,d00_atan1,d00_sqrt0)
4602 #if defined(_DERIVATE)
4603 tmp_Vbi_ci=((tmp2_Vbi_ci*(1-tmp2)-tmp2*(-tmp2_Vbi_ci))/(1-tmp2)/(1-tmp2))*d10_sqrt0*d10_atan1;
4604 tmp_Vtnode_GND=((tmp2_Vtnode_GND*(1-tmp2)-tmp2*(-tmp2_Vtnode_GND))/(1-tmp2)/(1-tmp2))*d10_sqrt0*d10_atan1;
4605 tmp_Vb_ci=((tmp2_Vb_ci*(1-tmp2)-tmp2*(-tmp2_Vb_ci))/(1-tmp2)/(1-tmp2))*d10_sqrt0*d10_atan1;
4606 tmp_Vbi_ei=((tmp2_Vbi_ei*(1-tmp2)-tmp2*(-tmp2_Vbi_ei))/(1-tmp2)/(1-tmp2))*d10_sqrt0*d10_atan1;
4607 tmp_Vci_ei=((tmp2_Vci_ei*(1-tmp2)-tmp2*(-tmp2_Vci_ei))/(1-tmp2)/(1-tmp2))*d10_sqrt0*d10_atan1;
4609 tmp=((3.14159265358979323846/2)+d00_atan1);
4613 double m00_sqrt(d00_sqrt0,(((-4)*p2_p)*o3))
4614 double m00_cos(d00_cos1,(o3*tmp))
4615 #if defined(_DERIVATE)
4616 double m10_sqrt(d10_sqrt0,d00_sqrt0,(((-4)*p2_p)*o3))
4617 double m10_cos(d10_cos1,d00_cos1,(o3*tmp))
4619 #if defined(_DERIVATE)
4620 tmp_Vbi_ci=(((((-4)*p2_p_Vbi_ci)*o3*d10_sqrt0*d00_cos1)+(d00_sqrt0*(o3*tmp_Vbi_ci)*d10_cos1))-p2_a_Vbi_ci*o3);
4621 tmp_Vtnode_GND=(((((-4)*p2_p_Vtnode_GND)*o3*d10_sqrt0*d00_cos1)+(d00_sqrt0*(o3*tmp_Vtnode_GND)*d10_cos1))-p2_a_Vtnode_GND*o3);
4622 tmp_Vb_ci=(((((-4)*p2_p_Vb_ci)*o3*d10_sqrt0*d00_cos1)+(d00_sqrt0*(o3*tmp_Vb_ci)*d10_cos1))-p2_a_Vb_ci*o3);
4623 tmp_Vbi_ei=(((((-4)*p2_p_Vbi_ei)*o3*d10_sqrt0*d00_cos1)+(d00_sqrt0*(o3*tmp_Vbi_ei)*d10_cos1))-p2_a_Vbi_ei*o3);
4624 tmp_Vci_ei=(((((-4)*p2_p_Vci_ei)*o3*d10_sqrt0*d00_cos1)+(d00_sqrt0*(o3*tmp_Vci_ei)*d10_cos1))-p2_a_Vci_ei*o3);
4626 tmp=((d00_sqrt0*d00_cos1)-(p2_a*o3));
4628 #if defined(_DERIVATE)
4629 q_p3_Vbi_ci=tmp_Vbi_ci;
4630 q_p3_Vtnode_GND=tmp_Vtnode_GND;
4631 q_p3_Vb_ci=tmp_Vb_ci;
4632 q_p3_Vbi_ei=tmp_Vbi_ei;
4633 q_p3_Vci_ei=tmp_Vci_ei;
4639 #if defined(_DERIVATE)
4640 qpt_Vbi_ci=q_p3_Vbi_ci;
4641 qpt_Vtnode_GND=q_p3_Vtnode_GND;
4642 qpt_Vb_ci=q_p3_Vb_ci;
4643 qpt_Vbi_ei=q_p3_Vbi_ei;
4644 qpt_Vci_ei=q_p3_Vci_ei;
4651 #if defined(_DERIVATE)
4660 #if defined(_DERIVATE)
4661 itf_Vtnode_GND=((itfi_Vtnode_GND*qpt-itfi*qpt_Vtnode_GND)/qpt/qpt);
4662 itf_Vbi_ei=((itfi_Vbi_ei*qpt-itfi*qpt_Vbi_ei)/qpt/qpt);
4663 itf_Vbi_ci=(-itfi*qpt_Vbi_ci/qpt/qpt);
4664 itf_Vb_ci=(-itfi*qpt_Vb_ci/qpt/qpt);
4665 itf_Vci_ei=(-itfi*qpt_Vci_ei/qpt/qpt);
4668 #if defined(_DERIVATE)
4669 itr_Vtnode_GND=((itri_Vtnode_GND*qpt-itri*qpt_Vtnode_GND)/qpt/qpt);
4670 itr_Vbi_ci=((itri_Vbi_ci*qpt-itri*qpt_Vbi_ci)/qpt/qpt);
4671 itr_Vb_ci=(-itri*qpt_Vb_ci/qpt/qpt);
4672 itr_Vbi_ei=(-itri*qpt_Vbi_ei/qpt/qpt);
4673 itr_Vci_ei=(-itri*qpt_Vci_ei/qpt/qpt);
4679 #if defined(_DERIVATE)
4688 #if defined(_DERIVATE)
4689 it_Vtnode_GND=(itf_Vtnode_GND-itr_Vtnode_GND);
4690 it_Vbi_ei=(itf_Vbi_ei-itr_Vbi_ei);
4691 it_Vbi_ci=(itf_Vbi_ci-itr_Vbi_ci);
4692 it_Vb_ci=(itf_Vb_ci-itr_Vb_ci);
4693 it_Vci_ei=(itf_Vci_ei-itr_Vci_ei);
4696 #if defined(_DYNAMIC)
4697 #if defined(_DERIVATE)
4698 qf0_Vtnode_GND=((tf0_Vtnode_GND*itf)+(tf0*itf_Vtnode_GND));
4699 qf0_Vbi_ci=((tf0_Vbi_ci*itf)+(tf0*itf_Vbi_ci));
4700 qf0_Vb_ci=((tf0_Vb_ci*itf)+(tf0*itf_Vb_ci));
4701 qf0_Vbi_ei=(tf0*itf_Vbi_ei);
4702 qf0_Vci_ei=(tf0*itf_Vci_ei);
4706 #if defined(_DYNAMIC)
4707 #if defined(_DERIVATE)
4708 a_Vci_ei=(-((ick_Vci_ei*itf-ick*itf_Vci_ei)/itf/itf));
4709 a_Vbi_ei=(-(-ick*itf_Vbi_ei/itf/itf));
4710 a_Vbi_ci=(-(-ick*itf_Vbi_ci/itf/itf));
4711 a_Vb_ci=(-(-ick*itf_Vb_ci/itf/itf));
4712 a_Vtnode_GND=(-((ick_Vtnode_GND*itf-ick*itf_Vtnode_GND)/itf/itf));
4716 #if defined(_DYNAMIC)
4718 double m00_sqrt(d00_sqrt0,((a*a)+ahc))
4719 #if defined(_DERIVATE)
4720 double m10_sqrt(d10_sqrt0,d00_sqrt0,((a*a)+ahc))
4722 #if defined(_DERIVATE)
4723 s3_Vci_ei=((a_Vci_ei*a)+(a*a_Vci_ei))*d10_sqrt0;
4724 s3_Vbi_ei=((a_Vbi_ei*a)+(a*a_Vbi_ei))*d10_sqrt0;
4725 s3_Vbi_ci=((a_Vbi_ci*a)+(a*a_Vbi_ci))*d10_sqrt0;
4726 s3_Vb_ci=((a_Vb_ci*a)+(a*a_Vb_ci))*d10_sqrt0;
4727 s3_Vtnode_GND=((a_Vtnode_GND*a)+(a*a_Vtnode_GND))*d10_sqrt0;
4732 #if defined(_DYNAMIC)
4735 #if defined(_DERIVATE)
4736 w_Vci_ei=((a_Vci_ei+s3_Vci_ei)/(1+d00_sqrt0));
4737 w_Vbi_ei=((a_Vbi_ei+s3_Vbi_ei)/(1+d00_sqrt0));
4738 w_Vbi_ci=((a_Vbi_ci+s3_Vbi_ci)/(1+d00_sqrt0));
4739 w_Vb_ci=((a_Vb_ci+s3_Vb_ci)/(1+d00_sqrt0));
4740 w_Vtnode_GND=((a_Vtnode_GND+s3_Vtnode_GND)/(1+d00_sqrt0));
4742 w=((a+s3)/(1+d00_sqrt0));
4745 #if defined(_DYNAMIC)
4746 #if defined(_DERIVATE)
4747 tww_Vtnode_GND=((((thcs_t_Vtnode_GND*w)+(thcs_t*w_Vtnode_GND))*w)+((thcs_t*w)*w_Vtnode_GND));
4748 tww_Vci_ei=(((thcs_t*w_Vci_ei)*w)+((thcs_t*w)*w_Vci_ei));
4749 tww_Vbi_ei=(((thcs_t*w_Vbi_ei)*w)+((thcs_t*w)*w_Vbi_ei));
4750 tww_Vbi_ci=(((thcs_t*w_Vbi_ci)*w)+((thcs_t*w)*w_Vbi_ci));
4751 tww_Vb_ci=(((thcs_t*w_Vb_ci)*w)+((thcs_t*w)*w_Vb_ci));
4755 #if defined(_DYNAMIC)
4756 #if defined(_DERIVATE)
4757 dqfh_Vtnode_GND=((tww_Vtnode_GND*itf)+(tww*itf_Vtnode_GND));
4758 dqfh_Vci_ei=((tww_Vci_ei*itf)+(tww*itf_Vci_ei));
4759 dqfh_Vbi_ei=((tww_Vbi_ei*itf)+(tww*itf_Vbi_ei));
4760 dqfh_Vbi_ci=((tww_Vbi_ci*itf)+(tww*itf_Vbi_ci));
4761 dqfh_Vb_ci=((tww_Vb_ci*itf)+(tww*itf_Vb_ci));
4765 #if defined(_DYNAMIC)
4766 dtfh=(tww*(1+(((2*ick)/itf)/s3)));
4768 #if defined(_DYNAMIC)
4770 double m00_logE(d00_logE0,(itf/ick))
4771 double
m00_exp(d00_exp1,(gte*d00_logE0))
4772 #if defined(_DERIVATE)
4773 double m10_logE(d10_logE0,d00_logE0,(itf/ick))
4774 #define d10_exp1 d00_exp1
4776 #if defined(_DERIVATE)
4777 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));
4778 dtef_Vbi_ei=(tef0_t*(gte*(itf_Vbi_ei/ick)*d10_logE0)*d10_exp1);
4779 dtef_Vbi_ci=(tef0_t*(gte*(itf_Vbi_ci/ick)*d10_logE0)*d10_exp1);
4780 dtef_Vb_ci=(tef0_t*(gte*(itf_Vb_ci/ick)*d10_logE0)*d10_exp1);
4781 dtef_Vci_ei=(tef0_t*(gte*((itf_Vci_ei*ick-itf*ick_Vci_ei)/ick/ick)*d10_logE0)*d10_exp1);
4783 dtef=(tef0_t*d00_exp1);
4786 #if defined(_DYNAMIC)
4787 #if defined(_DERIVATE)
4788 dqef_Vtnode_GND=(((dtef_Vtnode_GND*itf)+(dtef*itf_Vtnode_GND))/(gte+1.0));
4789 dqef_Vbi_ei=(((dtef_Vbi_ei*itf)+(dtef*itf_Vbi_ei))/(gte+1.0));
4790 dqef_Vbi_ci=(((dtef_Vbi_ci*itf)+(dtef*itf_Vbi_ci))/(gte+1.0));
4791 dqef_Vb_ci=(((dtef_Vb_ci*itf)+(dtef*itf_Vb_ci))/(gte+1.0));
4792 dqef_Vci_ei=(((dtef_Vci_ei*itf)+(dtef*itf_Vci_ei))/(gte+1.0));
4794 dqef=((dtef*itf)/(gte+1.0));
4796 #if defined(_DYNAMIC)
4797 #if defined(_DERIVATE)
4798 qf_Vtnode_GND=((qf0_Vtnode_GND+dqef_Vtnode_GND)+dqfh_Vtnode_GND);
4799 qf_Vbi_ci=((qf0_Vbi_ci+dqef_Vbi_ci)+dqfh_Vbi_ci);
4800 qf_Vb_ci=((qf0_Vb_ci+dqef_Vb_ci)+dqfh_Vb_ci);
4801 qf_Vbi_ei=((qf0_Vbi_ei+dqef_Vbi_ei)+dqfh_Vbi_ei);
4802 qf_Vci_ei=((qf0_Vci_ei+dqef_Vci_ei)+dqfh_Vci_ei);
4804 qf=((qf0+dqef)+dqfh);
4806 #if defined(_DYNAMIC)
4807 tf=((tf0+dtfh)+dtef);
4809 #if defined(_DYNAMIC)
4810 #if defined(_DERIVATE)
4811 qr_Vtnode_GND=(tr*itr_Vtnode_GND);
4812 qr_Vbi_ci=(tr*itr_Vbi_ci);
4813 qr_Vb_ci=(tr*itr_Vb_ci);
4814 qr_Vbi_ei=(tr*itr_Vbi_ei);
4815 qr_Vci_ei=(tr*itr_Vci_ei);
4819 #if defined(_DERIVATE)
4822 DIOY_Vbi_ei=(Vbiei_Vbi_ei/(mbe*VT));
4823 DIOY_Vtnode_GND=(-Vbiei*(mbe*VT_Vtnode_GND)/(mbe*VT)/(mbe*VT));
4825 DIOY=(Vbiei/(mbe*VT));
4832 #if defined(_DERIVATE)
4835 le_Vbi_ei=DIOY_Vbi_ei;
4836 le_Vtnode_GND=DIOY_Vtnode_GND;
4839 #if defined(_DERIVATE)
4843 DIOY_Vtnode_GND=0.0;
4849 #if defined(_DERIVATE)
4859 #if defined(_DERIVATE)
4860 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
4862 #if defined(_DERIVATE)
4865 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
4866 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
4868 le=(le*d00_limexp0);
4870 #if defined(_DERIVATE)
4871 ibe_Vtnode_GND=((ibes_t_Vtnode_GND*(le-1.0))+(ibes_t*le_Vtnode_GND));
4872 ibe_Vbi_ei=(ibes_t*le_Vbi_ei);
4874 ibe=(ibes_t*(le-1.0));
4878 #if defined(_DERIVATE)
4879 ibe_Vtnode_GND=(-ibes_t_Vtnode_GND);
4887 #if defined(_DERIVATE)
4893 #if defined(_DERIVATE)
4896 DIOY_Vbi_ei=(Vbiei_Vbi_ei/(mre*VT));
4897 DIOY_Vtnode_GND=(-Vbiei*(mre*VT_Vtnode_GND)/(mre*VT)/(mre*VT));
4899 DIOY=(Vbiei/(mre*VT));
4906 #if defined(_DERIVATE)
4909 le_Vbi_ei=DIOY_Vbi_ei;
4910 le_Vtnode_GND=DIOY_Vtnode_GND;
4913 #if defined(_DERIVATE)
4917 DIOY_Vtnode_GND=0.0;
4923 #if defined(_DERIVATE)
4933 #if defined(_DERIVATE)
4934 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
4936 #if defined(_DERIVATE)
4939 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
4940 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
4942 le=(le*d00_limexp0);
4944 #if defined(_DERIVATE)
4945 ire_Vtnode_GND=((ires_t_Vtnode_GND*(le-1.0))+(ires_t*le_Vtnode_GND));
4946 ire_Vbi_ei=(ires_t*le_Vbi_ei);
4948 ire=(ires_t*(le-1.0));
4952 #if defined(_DERIVATE)
4953 ire_Vtnode_GND=(-ires_t_Vtnode_GND);
4961 #if defined(_DERIVATE)
4967 #if defined(_DERIVATE)
4968 ijbe_Vtnode_GND=(ibe_Vtnode_GND+ire_Vtnode_GND);
4969 ijbe_Vbi_ei=(ibe_Vbi_ei+ire_Vbi_ei);
4972 #if defined(_DERIVATE)
4974 DIOY_Vbi_ci=(Vbici_Vbi_ci/(mbc*VT));
4976 DIOY_Vtnode_GND=(-Vbici*(mbc*VT_Vtnode_GND)/(mbc*VT)/(mbc*VT));
4978 DIOY=(Vbici/(mbc*VT));
4985 #if defined(_DERIVATE)
4987 le_Vbi_ci=DIOY_Vbi_ci;
4988 le_Vbi_ei=DIOY_Vbi_ei;
4989 le_Vtnode_GND=DIOY_Vtnode_GND;
4992 #if defined(_DERIVATE)
4996 DIOY_Vtnode_GND=0.0;
5002 #if defined(_DERIVATE)
5012 #if defined(_DERIVATE)
5013 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
5015 #if defined(_DERIVATE)
5017 le_Vbi_ci=((le_Vbi_ci*d00_limexp0)+(le*DIOY_Vbi_ci*d10_limexp0));
5018 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
5019 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
5021 le=(le*d00_limexp0);
5023 #if defined(_DERIVATE)
5024 ijbc_Vtnode_GND=((ibcs_t_Vtnode_GND*(le-1.0))+(ibcs_t*le_Vtnode_GND));
5025 ijbc_Vbi_ci=(ibcs_t*le_Vbi_ci);
5026 ijbc_Vbi_ei=(ibcs_t*le_Vbi_ei);
5028 ijbc=(ibcs_t*(le-1.0));
5032 #if defined(_DERIVATE)
5033 ijbc_Vtnode_GND=(-ibcs_t_Vtnode_GND);
5042 #if defined(_DERIVATE)
5043 ijbc_Vtnode_GND=0.0;
5049 #if defined(_DERIVATE)
5050 ibi_Vtnode_GND=(ijbe_Vtnode_GND+ijbc_Vtnode_GND);
5051 ibi_Vbi_ei=(ijbe_Vbi_ei+ijbc_Vbi_ei);
5052 ibi_Vbi_ci=ijbc_Vbi_ci;
5058 #if defined(_DERIVATE)
5059 v_bord_Vtnode_GND=((eavl_t_Vtnode_GND*vdci_t)+(eavl_t*vdci_t_Vtnode_GND));
5061 v_bord=(eavl_t*vdci_t);
5063 (((vdci_t-Vbici)>v_bord))
5066 double m00_exp(d00_exp0,(-cc))
5067 #if defined(_DERIVATE)
5068 #define d10_exp0 d00_exp0
5070 #if defined(_DERIVATE)
5071 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));
5072 a_iavl_Vbi_ci=((kavl_t/vdci_t)*(-cc_Vbi_ci)*d10_exp0);
5073 a_iavl_Vb_ci=((kavl_t/vdci_t)*(-cc_Vb_ci)*d10_exp0);
5075 a_iavl=((kavl_t/vdci_t)*d00_exp0);
5077 #if defined(_DERIVATE)
5078 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))))));
5079 iavl_Vbi_ei=itf_Vbi_ei*a_iavl*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord)));
5080 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)))));
5081 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)));
5082 iavl_Vci_ei=itf_Vci_ei*a_iavl*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord)));
5084 iavl=((itf*a_iavl)*(v_bord+((1+cc)*((vdci_t-Vbici)-v_bord))));
5090 #if defined(_DERIVATE)
5091 double m10_logE(d10_logE0,d00_logE0,(1/cc))
5093 #if defined(_DERIVATE)
5094 lncc_Vtnode_GND=(-1*cc_Vtnode_GND/cc/cc)*d10_logE0;
5095 lncc_Vbi_ci=(-1*cc_Vbi_ci/cc/cc)*d10_logE0;
5096 lncc_Vb_ci=(-1*cc_Vb_ci/cc/cc)*d10_logE0;
5101 double m00_exp(d00_exp0,(((1/zci)-1)*lncc))
5102 double
m00_exp(d00_exp1,((((-1)/zci)*lncc)-(eavl_t*d00_exp0)))
5103 #if defined(_DERIVATE)
5104 #define d10_exp0 d00_exp0
5105 #define d10_exp1 d00_exp1
5107 #if defined(_DERIVATE)
5108 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));
5109 iavl_Vbi_ei=(kavl_t*itf_Vbi_ei)*d00_exp1;
5110 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));
5111 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));
5112 iavl_Vci_ei=(kavl_t*itf_Vci_ei)*d00_exp1;
5114 iavl=((kavl_t*itf)*d00_exp1);
5120 #if defined(_DERIVATE)
5121 iavl_Vtnode_GND=0.0;
5134 double
m00_exp(d00_exp1,((-d00_logE0)/ze))
5135 #if defined(_DERIVATE)
5136 double m10_logE(d10_logE0,d00_logE0,aje_t)
5137 #define d10_exp1 d00_exp1
5139 #if defined(_DERIVATE)
5140 vf_Vtnode_GND=((vde_t_Vtnode_GND*(1.0-d00_exp1))+(vde_t*(-((-aje_t_Vtnode_GND*d10_logE0)/ze)*d10_exp1)));
5142 vf=(vde_t*(1.0-d00_exp1));
5144 #if defined(_DERIVATE)
5146 xvf_Vbi_ei=((-Vbiei_Vbi_ei)/VT);
5148 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vbiei)*VT_Vtnode_GND)/VT/VT);
5151 xvf=((vf-Vbiei)/VT);
5153 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
5154 #if defined(_DERIVATE)
5155 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
5157 #if defined(_DERIVATE)
5159 xvf2_Vbi_ei=((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))*d10_sqrt0;
5160 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
5161 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
5162 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
5166 #if defined(_DERIVATE)
5168 v_j_Vbi_ei=(-(VT*(xvf_Vbi_ei+xvf2_Vbi_ei))*0.5);
5169 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
5170 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
5171 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
5173 v_j=(vf-((VT*(xvf+xvf2))*0.5));
5174 #if defined(_DERIVATE)
5180 double m00_logE(d00_logE0,(1.0-(v_j/vde_t)))
5181 double
m00_exp(d00_exp1,(x*d00_logE0))
5182 #if defined(_DERIVATE)
5183 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vde_t)))
5184 #define d10_exp1 d00_exp1
5186 #if defined(_DERIVATE)
5188 y_Vci_ei=(-x_Vci_ei*d00_logE0*d10_exp1);
5189 y_Vbi_ei=(-(x*(-(v_j_Vbi_ei/vde_t))*d10_logE0)*d10_exp1);
5190 y_Vbi_ci=(-(x*(-(v_j_Vbi_ci/vde_t))*d10_logE0)*d10_exp1);
5191 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);
5192 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vde_t))*d10_logE0)*d10_exp1);
5196 #if defined(_DERIVATE)
5197 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))));
5198 qjei_Vci_ei=((((cje0_t*vde_t)*y_Vci_ei)*x-((cje0_t*vde_t)*y)*x_Vci_ei)/x/x);
5199 qjei_Vbi_ei=((((cje0_t*vde_t)*y_Vbi_ei)/
x)+((aje_t*cje0_t)*(Vbiei_Vbi_ei-v_j_Vbi_ei)));
5200 qjei_Vbi_ci=((((cje0_t*vde_t)*y_Vbi_ci)/
x)+((aje_t*cje0_t)*(-v_j_Vbi_ci)));
5201 qjei_Vb_ci=((((cje0_t*vde_t)*y_Vb_ci)/
x)+((aje_t*cje0_t)*(-v_j_Vb_ci)));
5203 qjei=((((cje0_t*vde_t)*y)/
x)+((aje_t*cje0_t)*(Vbiei-v_j)));
5207 #if defined(_DERIVATE)
5208 qjei_Vtnode_GND=0.0;
5216 #if defined(_DERIVATE)
5217 qje_Vtnode_GND=((qjei_Vtnode_GND*cje0_t-qjei*cje0_t_Vtnode_GND)/cje0_t/cje0_t);
5218 qje_Vbi_ei=(qjei_Vbi_ei/cje0_t);
5219 qje_Vci_ei=(qjei_Vci_ei/cje0_t);
5220 qje_Vbi_ci=(qjei_Vbi_ci/cje0_t);
5221 qje_Vb_ci=(qjei_Vb_ci/cje0_t);
5227 #if defined(_DERIVATE)
5228 Qz_nom_Vtnode_GND=((((qje_Vtnode_GND/vr0e)+(qjci_Vtnode_GND/vr0c))+((itf_Vtnode_GND*ickf-itf*ickf_Vtnode_GND)/ickf/ickf))+(itr_Vtnode_GND/ickr));
5229 Qz_nom_Vbi_ei=(((qje_Vbi_ei/vr0e)+(itf_Vbi_ei/ickf))+(itr_Vbi_ei/ickr));
5230 Qz_nom_Vci_ei=(((qje_Vci_ei/vr0e)+(itf_Vci_ei/ickf))+(itr_Vci_ei/ickr));
5231 Qz_nom_Vbi_ci=((((qje_Vbi_ci/vr0e)+(qjci_Vbi_ci/vr0c))+((itf_Vbi_ci*ickf-itf*ickf_Vbi_ci)/ickf/ickf))+(itr_Vbi_ci/ickr));
5232 Qz_nom_Vb_ci=((((qje_Vb_ci/vr0e)+(qjci_Vb_ci/vr0c))+((itf_Vb_ci*ickf-itf*ickf_Vb_ci)/ickf/ickf))+(itr_Vb_ci/ickr));
5234 Qz_nom=((((1+(qje/vr0e))+(qjci/vr0c))+(itf/ickf))+(itr/ickr));
5236 double m00_sqrt(d00_sqrt0,((Qz_nom*Qz_nom)+0.01))
5237 #if defined(_DERIVATE)
5238 double m10_sqrt(d10_sqrt0,d00_sqrt0,((Qz_nom*Qz_nom)+0.01))
5240 #if defined(_DERIVATE)
5241 fQz_Vtnode_GND=(0.5*(Qz_nom_Vtnode_GND+((Qz_nom_Vtnode_GND*Qz_nom)+(Qz_nom*Qz_nom_Vtnode_GND))*d10_sqrt0));
5242 fQz_Vbi_ei=(0.5*(Qz_nom_Vbi_ei+((Qz_nom_Vbi_ei*Qz_nom)+(Qz_nom*Qz_nom_Vbi_ei))*d10_sqrt0));
5243 fQz_Vci_ei=(0.5*(Qz_nom_Vci_ei+((Qz_nom_Vci_ei*Qz_nom)+(Qz_nom*Qz_nom_Vci_ei))*d10_sqrt0));
5244 fQz_Vbi_ci=(0.5*(Qz_nom_Vbi_ci+((Qz_nom_Vbi_ci*Qz_nom)+(Qz_nom*Qz_nom_Vbi_ci))*d10_sqrt0));
5245 fQz_Vb_ci=(0.5*(Qz_nom_Vb_ci+((Qz_nom_Vb_ci*Qz_nom)+(Qz_nom*Qz_nom_Vb_ci))*d10_sqrt0));
5247 fQz=(0.5*(Qz_nom+d00_sqrt0));
5249 #if defined(_DERIVATE)
5250 rbi_Vtnode_GND=((rbi0_t_Vtnode_GND*fQz-rbi0_t*fQz_Vtnode_GND)/fQz/fQz);
5251 rbi_Vbi_ei=(-rbi0_t*fQz_Vbi_ei/fQz/fQz);
5252 rbi_Vci_ei=(-rbi0_t*fQz_Vci_ei/fQz/fQz);
5253 rbi_Vbi_ci=(-rbi0_t*fQz_Vbi_ci/fQz/fQz);
5254 rbi_Vb_ci=(-rbi0_t*fQz_Vb_ci/fQz/fQz);
5260 #if defined(_DERIVATE)
5261 eta_Vtnode_GND=(((((fgeo*rbi_Vtnode_GND)*ibi)+((fgeo*rbi)*ibi_Vtnode_GND))*VT-((fgeo*rbi)*ibi)*VT_Vtnode_GND)/VT/VT);
5262 eta_Vbi_ei=((((fgeo*rbi_Vbi_ei)*ibi)+((fgeo*rbi)*ibi_Vbi_ei))/VT);
5263 eta_Vci_ei=((fgeo*rbi_Vci_ei)*ibi/VT);
5264 eta_Vbi_ci=((((fgeo*rbi_Vbi_ci)*ibi)+((fgeo*rbi)*ibi_Vbi_ci))/VT);
5265 eta_Vb_ci=((fgeo*rbi_Vb_ci)*ibi/VT);
5267 eta=(((fgeo*rbi)*ibi)/VT);
5271 #if defined(_DERIVATE)
5272 rbi_Vtnode_GND=((rbi_Vtnode_GND*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vtnode_GND))));
5273 rbi_Vbi_ei=((rbi_Vbi_ei*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vbi_ei))));
5274 rbi_Vci_ei=((rbi_Vci_ei*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vci_ei))));
5275 rbi_Vbi_ci=((rbi_Vbi_ci*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vbi_ci))));
5276 rbi_Vb_ci=((rbi_Vb_ci*(1-(0.5*eta)))+(rbi*(-(0.5*eta_Vb_ci))));
5278 rbi=(rbi*(1-(0.5*eta)));
5284 #if defined(_DERIVATE)
5285 double m10_logE(d10_logE0,d00_logE0,(eta+1))
5287 #if defined(_DERIVATE)
5288 rbi_Vtnode_GND=((((rbi_Vtnode_GND*d00_logE0)+(rbi*eta_Vtnode_GND*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vtnode_GND)/eta/eta);
5289 rbi_Vbi_ei=((((rbi_Vbi_ei*d00_logE0)+(rbi*eta_Vbi_ei*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vbi_ei)/eta/eta);
5290 rbi_Vci_ei=((((rbi_Vci_ei*d00_logE0)+(rbi*eta_Vci_ei*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vci_ei)/eta/eta);
5291 rbi_Vbi_ci=((((rbi_Vbi_ci*d00_logE0)+(rbi*eta_Vbi_ci*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vbi_ci)/eta/eta);
5292 rbi_Vb_ci=((((rbi_Vb_ci*d00_logE0)+(rbi*eta_Vb_ci*d10_logE0))*eta-(rbi*d00_logE0)*eta_Vb_ci)/eta/eta);
5294 rbi=((rbi*d00_logE0)/eta);
5301 #if defined(_DERIVATE)
5310 #if defined(_DERIVATE)
5311 rb_Vtnode_GND=(rbi_Vtnode_GND+rbx_t_Vtnode_GND);
5312 rb_Vbi_ei=rbi_Vbi_ei;
5313 rb_Vci_ei=rbi_Vci_ei;
5314 rb_Vbi_ci=rbi_Vbi_ci;
5321 #if defined(_DERIVATE)
5322 HSUM_Vtnode_GND=(msf*VT_Vtnode_GND);
5327 #if defined(_DERIVATE)
5328 double m10_limexp(d10_limexp0,d00_limexp0,(Vbci/HSUM))
5330 #if defined(_DERIVATE)
5331 HSa_Vb_ci=(Vbci_Vb_ci/HSUM)*d10_limexp0;
5332 HSa_Vtnode_GND=(-Vbci*HSUM_Vtnode_GND/HSUM/HSUM)*d10_limexp0;
5338 #if defined(_DERIVATE)
5339 double m10_limexp(d10_limexp0,d00_limexp0,(Vsci/HSUM))
5341 #if defined(_DERIVATE)
5342 HSb_Vs_ci=(Vsci_Vs_ci/HSUM)*d10_limexp0;
5343 HSb_Vtnode_GND=(-Vsci*HSUM_Vtnode_GND/HSUM/HSUM)*d10_limexp0;
5347 #if defined(_DERIVATE)
5348 HSI_Tsu_Vtnode_GND=((itss_t_Vtnode_GND*(HSa-HSb))+(itss_t*(HSa_Vtnode_GND-HSb_Vtnode_GND)));
5349 HSI_Tsu_Vb_ci=(itss_t*HSa_Vb_ci);
5350 HSI_Tsu_Vs_ci=(itss_t*(-HSb_Vs_ci));
5352 HSI_Tsu=(itss_t*(HSa-HSb));
5356 #if defined(_DERIVATE)
5357 HSI_Tsu_Vtnode_GND=0.0;
5363 #if defined(_DERIVATE)
5364 DIOY_Vs_ci=(Vsci_Vs_ci/(msc*VT));
5367 DIOY_Vtnode_GND=(-Vsci*(msc*VT_Vtnode_GND)/(msc*VT)/(msc*VT));
5369 DIOY=(Vsci/(msc*VT));
5376 #if defined(_DERIVATE)
5377 le_Vs_ci=DIOY_Vs_ci;
5378 le_Vbi_ci=DIOY_Vbi_ci;
5379 le_Vbi_ei=DIOY_Vbi_ei;
5380 le_Vtnode_GND=DIOY_Vtnode_GND;
5383 #if defined(_DERIVATE)
5387 DIOY_Vtnode_GND=0.0;
5393 #if defined(_DERIVATE)
5403 #if defined(_DERIVATE)
5404 double m10_limexp(d10_limexp0,d00_limexp0,DIOY)
5406 #if defined(_DERIVATE)
5407 le_Vs_ci=((le_Vs_ci*d00_limexp0)+(le*DIOY_Vs_ci*d10_limexp0));
5408 le_Vbi_ci=((le_Vbi_ci*d00_limexp0)+(le*DIOY_Vbi_ci*d10_limexp0));
5409 le_Vbi_ei=((le_Vbi_ei*d00_limexp0)+(le*DIOY_Vbi_ei*d10_limexp0));
5410 le_Vtnode_GND=((le_Vtnode_GND*d00_limexp0)+(le*DIOY_Vtnode_GND*d10_limexp0));
5412 le=(le*d00_limexp0);
5414 #if defined(_DERIVATE)
5415 ijsc_Vtnode_GND=((iscs_t_Vtnode_GND*(le-1.0))+(iscs_t*le_Vtnode_GND));
5416 ijsc_Vs_ci=(iscs_t*le_Vs_ci);
5417 ijsc_Vbi_ci=(iscs_t*le_Vbi_ci);
5418 ijsc_Vbi_ei=(iscs_t*le_Vbi_ei);
5420 ijsc=(iscs_t*(le-1.0));
5424 #if defined(_DERIVATE)
5425 ijsc_Vtnode_GND=(-iscs_t_Vtnode_GND);
5435 #if defined(_DERIVATE)
5436 ijsc_Vtnode_GND=0.0;
5451 #if defined(_DYNAMIC)
5454 #if defined(_DYNAMIC)
5455 #if defined(_DERIVATE)
5456 vp_Vtnode_GND=(-vds_t_Vtnode_GND);
5460 #if defined(_DYNAMIC)
5463 double
m00_exp(d00_exp1,((-d00_logE0)/zs))
5464 #if defined(_DERIVATE)
5465 vf_Vtnode_GND=vds_t_Vtnode_GND*(1.0-d00_exp1);
5467 vf=(vds_t*(1.0-d00_exp1));
5470 #if defined(_DYNAMIC)
5471 #if defined(_DERIVATE)
5472 cmax_Vtnode_GND=(2.4*cjs0_t_Vtnode_GND);
5476 #if defined(_DYNAMIC)
5478 double m00_logE(d00_logE0,(vds_t/vpts))
5479 double
m00_exp(d00_exp1,((zs-zr)*d00_logE0))
5480 #if defined(_DERIVATE)
5481 double m10_logE(d10_logE0,d00_logE0,(vds_t/vpts))
5482 #define d10_exp1 d00_exp1
5484 #if defined(_DERIVATE)
5485 cr_Vtnode_GND=((cjs0_t_Vtnode_GND*d00_exp1)+(cjs0_t*((zs-zr)*(vds_t_Vtnode_GND/vpts)*d10_logE0)*d10_exp1));
5487 cr=(cjs0_t*d00_exp1);
5490 #if defined(_DYNAMIC)
5491 #if defined(_DERIVATE)
5496 a_Vtnode_GND=VT_Vtnode_GND;
5500 #if defined(_DYNAMIC)
5501 #if defined(_DERIVATE)
5502 ve_Vs_ci=((-Vsci_Vs_ci)/a);
5503 ve_Vci_ei=(-(vf-Vsci)*a_Vci_ei/a/a);
5504 ve_Vbi_ei=(-(vf-Vsci)*a_Vbi_ei/a/a);
5505 ve_Vbi_ci=(-(vf-Vsci)*a_Vbi_ci/a/a);
5506 ve_Vtnode_GND=((vf_Vtnode_GND*a-(vf-Vsci)*a_Vtnode_GND)/a/a);
5507 ve_Vb_ci=(-(vf-Vsci)*a_Vb_ci/a/a);
5515 #if defined(_DYNAMIC)
5518 #if defined(_DERIVATE)
5519 #define d10_exp0 d00_exp0
5521 #if defined(_DERIVATE)
5522 ex1_Vs_ci=ve_Vs_ci*d10_exp0;
5523 ex1_Vci_ei=ve_Vci_ei*d10_exp0;
5524 ex1_Vbi_ei=ve_Vbi_ei*d10_exp0;
5525 ex1_Vbi_ci=ve_Vbi_ci*d10_exp0;
5526 ex1_Vtnode_GND=ve_Vtnode_GND*d10_exp0;
5527 ex1_Vb_ci=ve_Vb_ci*d10_exp0;
5532 #if defined(_DYNAMIC)
5533 #if defined(_DERIVATE)
5534 ee1_Vs_ci=ex1_Vs_ci;
5535 ee1_Vci_ei=ex1_Vci_ei;
5536 ee1_Vbi_ei=ex1_Vbi_ei;
5537 ee1_Vbi_ci=ex1_Vbi_ci;
5538 ee1_Vtnode_GND=ex1_Vtnode_GND;
5539 ee1_Vb_ci=ex1_Vb_ci;
5543 #if defined(_DYNAMIC)
5546 #if defined(_DERIVATE)
5547 double m10_logE(d10_logE0,d00_logE0,ee1)
5549 #if defined(_DERIVATE)
5550 vj1_Vci_ei=(-((a_Vci_ei*d00_logE0)+(a*ee1_Vci_ei*d10_logE0)));
5551 vj1_Vbi_ei=(-((a_Vbi_ei*d00_logE0)+(a*ee1_Vbi_ei*d10_logE0)));
5552 vj1_Vs_ci=(-(a*ee1_Vs_ci*d10_logE0));
5553 vj1_Vbi_ci=(-((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0)));
5554 vj1_Vtnode_GND=(vf_Vtnode_GND-((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
5555 vj1_Vb_ci=(-((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0)));
5557 vj1=(vf-(a*d00_logE0));
5563 #if defined(_DYNAMIC)
5564 #if defined(_DERIVATE)
5567 vj1_Vs_ci=Vsci_Vs_ci;
5576 #if defined(_DYNAMIC)
5577 #if defined(_DERIVATE)
5582 a_Vtnode_GND=((0.1*vp_Vtnode_GND)+(4.0*VT_Vtnode_GND));
5584 a=((0.1*vp)+(4.0*VT));
5586 #if defined(_DYNAMIC)
5587 #if defined(_DERIVATE)
5588 vr_Vci_ei=((vj1_Vci_ei*a-(vp+vj1)*a_Vci_ei)/a/a);
5589 vr_Vbi_ei=((vj1_Vbi_ei*a-(vp+vj1)*a_Vbi_ei)/a/a);
5590 vr_Vs_ci=(vj1_Vs_ci/a);
5591 vr_Vbi_ci=((vj1_Vbi_ci*a-(vp+vj1)*a_Vbi_ci)/a/a);
5592 vr_Vtnode_GND=(((vp_Vtnode_GND+vj1_Vtnode_GND)*a-(vp+vj1)*a_Vtnode_GND)/a/a);
5593 vr_Vb_ci=((vj1_Vb_ci*a-(vp+vj1)*a_Vb_ci)/a/a);
5601 #if defined(_DYNAMIC)
5604 #if defined(_DERIVATE)
5605 #define d10_exp0 d00_exp0
5607 #if defined(_DERIVATE)
5608 ex1_Vs_ci=vr_Vs_ci*d10_exp0;
5609 ex1_Vci_ei=vr_Vci_ei*d10_exp0;
5610 ex1_Vbi_ei=vr_Vbi_ei*d10_exp0;
5611 ex1_Vbi_ci=vr_Vbi_ci*d10_exp0;
5612 ex1_Vtnode_GND=vr_Vtnode_GND*d10_exp0;
5613 ex1_Vb_ci=vr_Vb_ci*d10_exp0;
5618 #if defined(_DYNAMIC)
5619 #if defined(_DERIVATE)
5620 ee1_Vs_ci=ex1_Vs_ci;
5621 ee1_Vci_ei=ex1_Vci_ei;
5622 ee1_Vbi_ei=ex1_Vbi_ei;
5623 ee1_Vbi_ci=ex1_Vbi_ci;
5624 ee1_Vtnode_GND=ex1_Vtnode_GND;
5625 ee1_Vb_ci=ex1_Vb_ci;
5629 #if defined(_DYNAMIC)
5632 #if defined(_DERIVATE)
5633 double m10_logE(d10_logE0,d00_logE0,ee1)
5635 #if defined(_DERIVATE)
5636 vj2_Vci_ei=((a_Vci_ei*d00_logE0)+(a*ee1_Vci_ei*d10_logE0));
5637 vj2_Vbi_ei=((a_Vbi_ei*d00_logE0)+(a*ee1_Vbi_ei*d10_logE0));
5638 vj2_Vs_ci=(a*ee1_Vs_ci*d10_logE0);
5639 vj2_Vbi_ci=((a_Vbi_ci*d00_logE0)+(a*ee1_Vbi_ci*d10_logE0));
5640 vj2_Vtnode_GND=((-vp_Vtnode_GND)+((a_Vtnode_GND*d00_logE0)+(a*ee1_Vtnode_GND*d10_logE0)));
5641 vj2_Vb_ci=((a_Vb_ci*d00_logE0)+(a*ee1_Vb_ci*d10_logE0));
5643 vj2=((-vp)+(a*d00_logE0));
5649 #if defined(_DYNAMIC)
5650 #if defined(_DERIVATE)
5651 vj2_Vci_ei=vj1_Vci_ei;
5652 vj2_Vbi_ei=vj1_Vbi_ei;
5653 vj2_Vs_ci=vj1_Vs_ci;
5654 vj2_Vbi_ci=vj1_Vbi_ci;
5655 vj2_Vtnode_GND=vj1_Vtnode_GND;
5656 vj2_Vb_ci=vj1_Vb_ci;
5662 #if defined(_DYNAMIC)
5663 #if defined(_DERIVATE)
5664 vj4_Vs_ci=(Vsci_Vs_ci-vj1_Vs_ci);
5665 vj4_Vci_ei=(-vj1_Vci_ei);
5666 vj4_Vbi_ei=(-vj1_Vbi_ei);
5667 vj4_Vbi_ci=(-vj1_Vbi_ci);
5668 vj4_Vb_ci=(-vj1_Vb_ci);
5669 vj4_Vtnode_GND=(-vj1_Vtnode_GND);
5673 #if defined(_DYNAMIC)
5676 #if defined(_DYNAMIC)
5679 #if defined(_DYNAMIC)
5681 double m00_logE(d00_logE0,(1.0-(vj1/vds_t)))
5682 #if defined(_DERIVATE)
5683 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj1/vds_t)))
5685 #if defined(_DERIVATE)
5686 vdj1_Vci_ei=(-(vj1_Vci_ei/vds_t))*d10_logE0;
5687 vdj1_Vbi_ei=(-(vj1_Vbi_ei/vds_t))*d10_logE0;
5688 vdj1_Vs_ci=(-(vj1_Vs_ci/vds_t))*d10_logE0;
5689 vdj1_Vbi_ci=(-(vj1_Vbi_ci/vds_t))*d10_logE0;
5690 vdj1_Vtnode_GND=(-((vj1_Vtnode_GND*vds_t-vj1*vds_t_Vtnode_GND)/vds_t/vds_t))*d10_logE0;
5691 vdj1_Vb_ci=(-(vj1_Vb_ci/vds_t))*d10_logE0;
5696 #if defined(_DYNAMIC)
5698 double m00_logE(d00_logE0,(1.0-(vj2/vds_t)))
5699 #if defined(_DERIVATE)
5700 double m10_logE(d10_logE0,d00_logE0,(1.0-(vj2/vds_t)))
5702 #if defined(_DERIVATE)
5703 vdj2_Vci_ei=(-(vj2_Vci_ei/vds_t))*d10_logE0;
5704 vdj2_Vbi_ei=(-(vj2_Vbi_ei/vds_t))*d10_logE0;
5705 vdj2_Vs_ci=(-(vj2_Vs_ci/vds_t))*d10_logE0;
5706 vdj2_Vbi_ci=(-(vj2_Vbi_ci/vds_t))*d10_logE0;
5707 vdj2_Vtnode_GND=(-((vj2_Vtnode_GND*vds_t-vj2*vds_t_Vtnode_GND)/vds_t/vds_t))*d10_logE0;
5708 vdj2_Vb_ci=(-(vj2_Vb_ci/vds_t))*d10_logE0;
5713 #if defined(_DYNAMIC)
5715 double m00_exp(d00_exp0,(vdj2*ez))
5716 #if defined(_DERIVATE)
5717 #define d10_exp0 d00_exp0
5719 #if defined(_DERIVATE)
5720 qj1_Vci_ei=((cjs0_t*(-vdj2_Vci_ei*ez*d10_exp0))/ez);
5721 qj1_Vbi_ei=((cjs0_t*(-vdj2_Vbi_ei*ez*d10_exp0))/ez);
5722 qj1_Vs_ci=((cjs0_t*(-vdj2_Vs_ci*ez*d10_exp0))/ez);
5723 qj1_Vbi_ci=((cjs0_t*(-vdj2_Vbi_ci*ez*d10_exp0))/ez);
5724 qj1_Vtnode_GND=(((cjs0_t_Vtnode_GND*(1.0-d00_exp0))+(cjs0_t*(-vdj2_Vtnode_GND*ez*d10_exp0)))/ez);
5725 qj1_Vb_ci=((cjs0_t*(-vdj2_Vb_ci*ez*d10_exp0))/ez);
5727 qj1=((cjs0_t*(1.0-d00_exp0))/ez);
5730 #if defined(_DYNAMIC)
5732 double m00_exp(d00_exp0,(vdj1*ezr))
5733 #if defined(_DERIVATE)
5734 #define d10_exp0 d00_exp0
5736 #if defined(_DERIVATE)
5737 qj2_Vci_ei=((cr*(-vdj1_Vci_ei*ezr*d10_exp0))/ezr);
5738 qj2_Vbi_ei=((cr*(-vdj1_Vbi_ei*ezr*d10_exp0))/ezr);
5739 qj2_Vs_ci=((cr*(-vdj1_Vs_ci*ezr*d10_exp0))/ezr);
5740 qj2_Vbi_ci=((cr*(-vdj1_Vbi_ci*ezr*d10_exp0))/ezr);
5741 qj2_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj1_Vtnode_GND*ezr*d10_exp0)))/ezr);
5742 qj2_Vb_ci=((cr*(-vdj1_Vb_ci*ezr*d10_exp0))/ezr);
5744 qj2=((cr*(1.0-d00_exp0))/ezr);
5747 #if defined(_DYNAMIC)
5749 double m00_exp(d00_exp0,(vdj2*ezr))
5750 #if defined(_DERIVATE)
5751 #define d10_exp0 d00_exp0
5753 #if defined(_DERIVATE)
5754 qj3_Vci_ei=((cr*(-vdj2_Vci_ei*ezr*d10_exp0))/ezr);
5755 qj3_Vbi_ei=((cr*(-vdj2_Vbi_ei*ezr*d10_exp0))/ezr);
5756 qj3_Vs_ci=((cr*(-vdj2_Vs_ci*ezr*d10_exp0))/ezr);
5757 qj3_Vbi_ci=((cr*(-vdj2_Vbi_ci*ezr*d10_exp0))/ezr);
5758 qj3_Vtnode_GND=(((cr_Vtnode_GND*(1.0-d00_exp0))+(cr*(-vdj2_Vtnode_GND*ezr*d10_exp0)))/ezr);
5759 qj3_Vb_ci=((cr*(-vdj2_Vb_ci*ezr*d10_exp0))/ezr);
5761 qj3=((cr*(1.0-d00_exp0))/ezr);
5764 #if defined(_DYNAMIC)
5765 #if defined(_DERIVATE)
5766 qjs_Vci_ei=(((qj1_Vci_ei+qj2_Vci_ei)-qj3_Vci_ei)*vds_t+(cmax*vj4_Vci_ei));
5767 qjs_Vbi_ei=(((qj1_Vbi_ei+qj2_Vbi_ei)-qj3_Vbi_ei)*vds_t+(cmax*vj4_Vbi_ei));
5768 qjs_Vs_ci=(((qj1_Vs_ci+qj2_Vs_ci)-qj3_Vs_ci)*vds_t+(cmax*vj4_Vs_ci));
5769 qjs_Vbi_ci=(((qj1_Vbi_ci+qj2_Vbi_ci)-qj3_Vbi_ci)*vds_t+(cmax*vj4_Vbi_ci));
5770 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)));
5771 qjs_Vb_ci=(((qj1_Vb_ci+qj2_Vb_ci)-qj3_Vb_ci)*vds_t+(cmax*vj4_Vb_ci));
5773 qjs=((((qj1+qj2)-qj3)*vds_t)+(cmax*vj4));
5778 #if defined(_DYNAMIC)
5779 #if defined(_DERIVATE)
5798 #if defined(_DYNAMIC)
5801 double
m00_exp(d00_exp1,((-d00_logE0)/zs))
5802 #if defined(_DERIVATE)
5803 vf_Vtnode_GND=vds_t_Vtnode_GND*(1.0-d00_exp1);
5805 vf=(vds_t*(1.0-d00_exp1));
5808 #if defined(_DYNAMIC)
5809 #if defined(_DERIVATE)
5810 xvf_Vs_ci=((-Vsci_Vs_ci)/VT);
5813 xvf_Vtnode_GND=((vf_Vtnode_GND*VT-(vf-Vsci)*VT_Vtnode_GND)/VT/VT);
5818 #if defined(_DYNAMIC)
5820 double m00_sqrt(d00_sqrt0,((xvf*xvf)+1.921812))
5821 #if defined(_DERIVATE)
5822 double m10_sqrt(d10_sqrt0,d00_sqrt0,((xvf*xvf)+1.921812))
5824 #if defined(_DERIVATE)
5825 xvf2_Vs_ci=((xvf_Vs_ci*xvf)+(xvf*xvf_Vs_ci))*d10_sqrt0;
5826 xvf2_Vbi_ei=((xvf_Vbi_ei*xvf)+(xvf*xvf_Vbi_ei))*d10_sqrt0;
5827 xvf2_Vbi_ci=((xvf_Vbi_ci*xvf)+(xvf*xvf_Vbi_ci))*d10_sqrt0;
5828 xvf2_Vtnode_GND=((xvf_Vtnode_GND*xvf)+(xvf*xvf_Vtnode_GND))*d10_sqrt0;
5829 xvf2_Vb_ci=((xvf_Vb_ci*xvf)+(xvf*xvf_Vb_ci))*d10_sqrt0;
5834 #if defined(_DYNAMIC)
5835 #if defined(_DERIVATE)
5836 v_j_Vs_ci=(-(VT*(xvf_Vs_ci+xvf2_Vs_ci))*0.5);
5837 v_j_Vbi_ei=(-(VT*(xvf_Vbi_ei+xvf2_Vbi_ei))*0.5);
5838 v_j_Vbi_ci=(-(VT*(xvf_Vbi_ci+xvf2_Vbi_ci))*0.5);
5839 v_j_Vtnode_GND=(vf_Vtnode_GND-((VT_Vtnode_GND*(xvf+xvf2))+(VT*(xvf_Vtnode_GND+xvf2_Vtnode_GND)))*0.5);
5840 v_j_Vb_ci=(-(VT*(xvf_Vb_ci+xvf2_Vb_ci))*0.5);
5842 v_j=(vf-((VT*(xvf+xvf2))*0.5));
5844 #if defined(_DYNAMIC)
5845 #if defined(_DERIVATE)
5851 #if defined(_DYNAMIC)
5853 double m00_logE(d00_logE0,(1.0-(v_j/vds_t)))
5854 double
m00_exp(d00_exp1,(x*d00_logE0))
5855 #if defined(_DERIVATE)
5856 double m10_logE(d10_logE0,d00_logE0,(1.0-(v_j/vds_t)))
5857 #define d10_exp1 d00_exp1
5859 #if defined(_DERIVATE)
5860 y_Vs_ci=(-(x*(-(v_j_Vs_ci/vds_t))*d10_logE0)*d10_exp1);
5861 y_Vci_ei=(-x_Vci_ei*d00_logE0*d10_exp1);
5862 y_Vbi_ei=(-(x*(-(v_j_Vbi_ei/vds_t))*d10_logE0)*d10_exp1);
5863 y_Vbi_ci=(-(x*(-(v_j_Vbi_ci/vds_t))*d10_logE0)*d10_exp1);
5864 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);
5865 y_Vb_ci=(-(x*(-(v_j_Vb_ci/vds_t))*d10_logE0)*d10_exp1);
5870 #if defined(_DYNAMIC)
5871 #if defined(_DERIVATE)
5872 qjs_Vci_ei=((((cjs0_t*vds_t)*y_Vci_ei)*x-((cjs0_t*vds_t)*y)*x_Vci_ei)/x/x);
5873 qjs_Vbi_ei=((((cjs0_t*vds_t)*y_Vbi_ei)/
x)+((2.4*cjs0_t)*(-v_j_Vbi_ei)));
5874 qjs_Vs_ci=((((cjs0_t*vds_t)*y_Vs_ci)/
x)+((2.4*cjs0_t)*(Vsci_Vs_ci-v_j_Vs_ci)));
5875 qjs_Vbi_ci=((((cjs0_t*vds_t)*y_Vbi_ci)/
x)+((2.4*cjs0_t)*(-v_j_Vbi_ci)));
5876 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))));
5877 qjs_Vb_ci=((((cjs0_t*vds_t)*y_Vb_ci)/
x)+((2.4*cjs0_t)*(-v_j_Vb_ci)));
5879 qjs=((((cjs0_t*vds_t)*y)/
x)+((2.4*cjs0_t)*(Vsci-v_j)));
5884 #if defined(_DYNAMIC)
5885 #if defined(_DERIVATE)
5900 (((flsh==1)&&(rth_t>=0.001)))
5902 #if defined(_DERIVATE)
5907 pterm_Vtnode_GND=(it_Vtnode_GND*Vciei+((iavl_Vtnode_GND*(vdci_t-Vbici))+(iavl*vdci_t_Vtnode_GND)));
5908 pterm_Vbi_ei=(it_Vbi_ei*Vciei+iavl_Vbi_ei*(vdci_t-Vbici));
5909 pterm_Vbi_ci=(it_Vbi_ci*Vciei+((iavl_Vbi_ci*(vdci_t-Vbici))+(iavl*(-Vbici_Vbi_ci))));
5910 pterm_Vb_ci=(it_Vb_ci*Vciei+iavl_Vb_ci*(vdci_t-Vbici));
5911 pterm_Vci_ei=(((it_Vci_ei*Vciei)+(it*Vciei_Vci_ei))+iavl_Vci_ei*(vdci_t-Vbici));
5913 pterm=((it*Vciei)+(iavl*(vdci_t-Vbici)));
5918 (((flsh==2)&&(rth_t>=0.001)))
5920 #if defined(_DERIVATE)
5924 pterm_Vs_ci=((ijsc_Vs_ci*Vsci)+(ijsc*Vsci_Vs_ci));
5925 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);
5926 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);
5927 pterm_Vbi_ci=((((Vciei*it_Vbi_ci)+(((-Vbici_Vbi_ci)*iavl)+((vdci_t-Vbici)*iavl_Vbi_ci)))+((ijbc_Vbi_ci*Vbici)+(ijbc*Vbici_Vbi_ci)))+ijsc_Vbi_ci*Vsci);
5928 pterm_Vb_ci=((Vciei*it_Vb_ci)+((vdci_t-Vbici)*iavl_Vb_ci));
5929 pterm_Vci_ei=(((Vciei_Vci_ei*it)+(Vciei*it_Vci_ei))+((vdci_t-Vbici)*iavl_Vci_ei));
5931 pterm=(((((Vciei*it)+((vdci_t-Vbici)*iavl))+(ijbe*Vbiei))+(ijbc*Vbici))+(ijsc*Vsci));
5935 #if defined(_DERIVATE)
5938 pterm_Vb_bi=(pterm_Vb_bi+(((Vbbi_Vb_bi*Vbbi)+(Vbbi*Vbbi_Vb_bi))/rb));
5939 pterm_Vs_ci=pterm_Vs_ci;
5940 pterm_Vtnode_GND=(pterm_Vtnode_GND+(-(Vbbi*Vbbi)*rb_Vtnode_GND/rb/rb));
5941 pterm_Vbi_ei=(pterm_Vbi_ei+(-(Vbbi*Vbbi)*rb_Vbi_ei/rb/rb));
5942 pterm_Vbi_ci=(pterm_Vbi_ci+(-(Vbbi*Vbbi)*rb_Vbi_ci/rb/rb));
5943 pterm_Vb_ci=(pterm_Vb_ci+(-(Vbbi*Vbbi)*rb_Vb_ci/rb/rb));
5944 pterm_Vci_ei=(pterm_Vci_ei+(-(Vbbi*Vbbi)*rb_Vci_ei/rb/rb));
5946 pterm=(pterm+((Vbbi*Vbbi)/rb));
5951 #if defined(_DERIVATE)
5953 pterm_Vei_e=(pterm_Vei_e+(((Veie_Vei_e*Veie)+(Veie*Veie_Vei_e))/re_t));
5954 pterm_Vb_bi=pterm_Vb_bi;
5955 pterm_Vs_ci=pterm_Vs_ci;
5956 pterm_Vtnode_GND=(pterm_Vtnode_GND+(-(Veie*Veie)*re_t_Vtnode_GND/re_t/re_t));
5957 pterm_Vbi_ei=pterm_Vbi_ei;
5958 pterm_Vbi_ci=pterm_Vbi_ci;
5959 pterm_Vb_ci=pterm_Vb_ci;
5960 pterm_Vci_ei=pterm_Vci_ei;
5962 pterm=(pterm+((Veie*Veie)/re_t));
5967 #if defined(_DERIVATE)
5968 pterm_Vci_c=(pterm_Vci_c+(((Vcic_Vci_c*Vcic)+(Vcic*Vcic_Vci_c))/rcx_t));
5969 pterm_Vei_e=pterm_Vei_e;
5970 pterm_Vb_bi=pterm_Vb_bi;
5971 pterm_Vs_ci=pterm_Vs_ci;
5972 pterm_Vtnode_GND=(pterm_Vtnode_GND+(-(Vcic*Vcic)*rcx_t_Vtnode_GND/rcx_t/rcx_t));
5973 pterm_Vbi_ei=pterm_Vbi_ei;
5974 pterm_Vbi_ci=pterm_Vbi_ci;
5975 pterm_Vb_ci=pterm_Vb_ci;
5976 pterm_Vci_ei=pterm_Vci_ei;
5978 pterm=(pterm+((Vcic*Vcic)/rcx_t));
5982 #if defined(_DERIVATE)
5983 Ibici_Vtnode_GND=(ijbc_Vtnode_GND-iavl_Vtnode_GND);
5984 Ibici_Vbi_ci=(ijbc_Vbi_ci-iavl_Vbi_ci);
5985 Ibici_Vbi_ei=(ijbc_Vbi_ei-iavl_Vbi_ei);
5986 Ibici_Vb_ci=(-iavl_Vb_ci);
5987 Ibici_Vci_ei=(-iavl_Vci_ei);
5990 #if defined(_DYNAMIC)
5991 #if defined(_DERIVATE)
5992 Qbci_Vb_ci=(cbcpar*Vbci_Vb_ci);
5996 #if defined(_DYNAMIC)
5997 #if defined(_DERIVATE)
5998 Qbe_Vb_e=(cbepar*Vbe_Vb_e);
6002 #if defined(_DYNAMIC)
6003 #if defined(_DERIVATE)
6004 Qbici_Vbi_ci=(qjcii_Vbi_ci+qr_Vbi_ci);
6005 Qbici_Vtnode_GND=(qjcii_Vtnode_GND+qr_Vtnode_GND);
6006 Qbici_Vb_ci=(qjcii_Vb_ci+qr_Vb_ci);
6007 Qbici_Vbi_ei=qr_Vbi_ei;
6008 Qbici_Vci_ei=qr_Vci_ei;
6012 #if defined(_DYNAMIC)
6013 #if defined(_DERIVATE)
6014 Qbiei_Vtnode_GND=(qjei_Vtnode_GND+qf_Vtnode_GND);
6015 Qbiei_Vci_ei=(qjei_Vci_ei+qf_Vci_ei);
6016 Qbiei_Vbi_ei=(qjei_Vbi_ei+qf_Vbi_ei);
6017 Qbiei_Vbi_ci=(qjei_Vbi_ci+qf_Vbi_ci);
6018 Qbiei_Vb_ci=(qjei_Vb_ci+qf_Vb_ci);
6022 #if defined(_DERIVATE)
6023 ijsc_Vtnode_GND=(HICUMtype*ijsc_Vtnode_GND);
6024 ijsc_Vs_ci=(HICUMtype*ijsc_Vs_ci);
6025 ijsc_Vbi_ci=(HICUMtype*ijsc_Vbi_ci);
6026 ijsc_Vbi_ei=(HICUMtype*ijsc_Vbi_ei);
6028 ijsc=(HICUMtype*ijsc);
6029 #if defined(_DYNAMIC)
6030 #if defined(_DERIVATE)
6031 qjs_Vci_ei=(HICUMtype*qjs_Vci_ei);
6032 qjs_Vbi_ei=(HICUMtype*qjs_Vbi_ei);
6033 qjs_Vs_ci=(HICUMtype*qjs_Vs_ci);
6034 qjs_Vbi_ci=(HICUMtype*qjs_Vbi_ci);
6035 qjs_Vtnode_GND=(HICUMtype*qjs_Vtnode_GND);
6036 qjs_Vb_ci=(HICUMtype*qjs_Vb_ci);
6038 qjs=(HICUMtype*qjs);
6040 #if defined(_DYNAMIC)
6041 #if defined(_DERIVATE)
6042 qjcx_Vbi_ci=(HICUMtype*qjcx_Vbi_ci);
6043 qjcx_Vtnode_GND=(HICUMtype*qjcx_Vtnode_GND);
6044 qjcx_Vb_ci=(HICUMtype*qjcx_Vb_ci);
6046 qjcx=(HICUMtype*qjcx);
6048 #if defined(_DYNAMIC)
6049 #if defined(_DERIVATE)
6050 Qbci_Vb_ci=(HICUMtype*Qbci_Vb_ci);
6052 Qbci=(HICUMtype*Qbci);
6054 #if defined(_DYNAMIC)
6055 #if defined(_DERIVATE)
6056 Qbe_Vb_e=(HICUMtype*Qbe_Vb_e);
6058 Qbe=(HICUMtype*Qbe);
6060 #if defined(_DERIVATE)
6061 Ibici_Vtnode_GND=(HICUMtype*Ibici_Vtnode_GND);
6062 Ibici_Vbi_ci=(HICUMtype*Ibici_Vbi_ci);
6063 Ibici_Vbi_ei=(HICUMtype*Ibici_Vbi_ei);
6064 Ibici_Vb_ci=(HICUMtype*Ibici_Vb_ci);
6065 Ibici_Vci_ei=(HICUMtype*Ibici_Vci_ei);
6067 Ibici=(HICUMtype*Ibici);
6068 #if defined(_DYNAMIC)
6069 #if defined(_DERIVATE)
6070 Qbici_Vbi_ci=(HICUMtype*Qbici_Vbi_ci);
6071 Qbici_Vtnode_GND=(HICUMtype*Qbici_Vtnode_GND);
6072 Qbici_Vb_ci=(HICUMtype*Qbici_Vb_ci);
6073 Qbici_Vbi_ei=(HICUMtype*Qbici_Vbi_ei);
6074 Qbici_Vci_ei=(HICUMtype*Qbici_Vci_ei);
6076 Qbici=(HICUMtype*Qbici);
6078 #if defined(_DERIVATE)
6079 ijbe_Vtnode_GND=(HICUMtype*ijbe_Vtnode_GND);
6080 ijbe_Vbi_ei=(HICUMtype*ijbe_Vbi_ei);
6082 ijbe=(HICUMtype*ijbe);
6083 #if defined(_DYNAMIC)
6084 #if defined(_DERIVATE)
6085 Qbiei_Vtnode_GND=(HICUMtype*Qbiei_Vtnode_GND);
6086 Qbiei_Vci_ei=(HICUMtype*Qbiei_Vci_ei);
6087 Qbiei_Vbi_ei=(HICUMtype*Qbiei_Vbi_ei);
6088 Qbiei_Vbi_ci=(HICUMtype*Qbiei_Vbi_ci);
6089 Qbiei_Vb_ci=(HICUMtype*Qbiei_Vb_ci);
6091 Qbiei=(HICUMtype*Qbiei);
6093 #if defined(_DERIVATE)
6094 it_Vtnode_GND=(HICUMtype*it_Vtnode_GND);
6095 it_Vbi_ei=(HICUMtype*it_Vbi_ei);
6096 it_Vbi_ci=(HICUMtype*it_Vbi_ci);
6097 it_Vb_ci=(HICUMtype*it_Vb_ci);
6098 it_Vci_ei=(HICUMtype*it_Vci_ei);
6102 #if defined(_DERIVATE)
6106 #if defined(_DERIVATE)
6110 #if defined(_DERIVATE)
6114 #if defined(_DERIVATE)
6120 #if defined(_DERIVATE)
6126 #if defined(_DYNAMIC)
6128 #if defined(_DERIVATE)
6137 #if defined(_DYNAMIC)
6139 #if defined(_DERIVATE)
6145 #if defined(_DYNAMIC)
6147 #if defined(_DERIVATE)
6151 #if defined(_DYNAMIC)
6153 #if defined(_DERIVATE)
6161 #if defined(_DERIVATE)
6169 #if defined(_DERIVATE)
6177 #if defined(_DERIVATE)
6185 #if defined(_DERIVATE)
6190 (((rbi0>=0.001)||(rbx>=0.001)))
6193 #if defined(_DERIVATE)
6205 #if defined(_DERIVATE)
6210 #if defined(_DERIVATE)
6217 #if defined(_DYNAMIC)
6219 #if defined(_DERIVATE)
6228 #if defined(_DERIVATE)
6232 #if defined(_DYNAMIC)
6234 #if defined(_DERIVATE)
6243 #if defined(_DERIVATE)
6251 (((flsh==0)||(rth<0.001)))
6254 #if defined(_DERIVATE)
6261 #if defined(_DERIVATE)
6272 #if defined(_DYNAMIC)
6274 #if defined(_DERIVATE)
6279 #if defined(_DERIVATE)
6280 fourkt_Vtnode_GND=((4.0*1.3806503e-23)*Tdev_Vtnode_GND);
6282 fourkt=((4.0*1.3806503e-23)*Tdev);
6284 (((rbx>=0.001)||(rbi0>=0.001)))
6298 twoq=(2.0*1.602176462e-19);
6302 double m00_pow(d00_pow0,ijbe,af)
6303 #if defined(_DERIVATE)
6304 double m10_pow(d10_pow0,d00_pow0,ijbe,af)
6306 #if defined(_DERIVATE)
6307 flicker_Pwr_Vtnode_GND=(kf*(d10_pow0*ijbe_Vtnode_GND));
6308 flicker_Pwr_Vbi_ei=(kf*(d10_pow0*ijbe_Vbi_ei));
6310 flicker_Pwr=(kf*d00_pow0);
6329 for (
int i1 = 0; i1 < 8; i1++) {
6330 setI (i1, _rhs[i1]);
6331 for (
int i2 = 0; i2 < 8; i2++) {
6332 setY (i1, i2, _jstat[i1][i2]);
6378 matrix hicumL0V1p3::calcMatrixY (nr_double_t frequency)
6384 for (
int i1 = 0; i1 < 8; i1++) {
6385 for (
int i2 = 0; i2 < 8; i2++) {
6386 y (i1,i2) =
rect (_jstat[i1][i2], _jdyna[i1][i2] * 2 *
M_PI * _freq);
6420 int i1, i2, i3, i4, state;
6423 for (i1 = 0; i1 < 8; i1++) {
6424 for (i2 = 0; i2 < 8; i2++) {
6425 state = 2 * (i2 + 8 * i1);
6427 if (_charges[i1][i2] != 0.0)
6432 for (i1 = 0; i1 < 8; i1++) {
6433 state = 2 * (i1 + 8 * i1);
6434 if (_charges[i1][i1] != 0.0)
6439 for (i1 = 0; i1 < 8; i1++) {
6440 for (i2 = 0; i2 < 8; i2++) {
6442 for (i3 = 0; i3 < 8; i3++) {
6443 for (i4 = 0; i4 < 8; i4++) {
6445 if (_caps[i1][i2][i3][i4] != 0.0)
6450 for (i1 = 0; i1 < 8; i1++) {
6451 for (i2 = 0; i2 < 8; i2++) {
6453 for (i3 = 0; i3 < 8; i3++) {
6454 if (_caps[i1][i2][i3][i3] != 0.0)
6459 for (i1 = 0; i1 < 8; i1++) {
6460 for (i3 = 0; i3 < 8; i3++) {
6461 for (i4 = 0; i4 < 8; i4++) {
6463 if (_caps[i1][i1][i3][i4] != 0.0)
6468 for (i1 = 0; i1 < 8; i1++) {
6469 for (i3 = 0; i3 < 8; i3++) {
6470 if (_caps[i1][i1][i3][i3] != 0.0)
6476 matrix hicumL0V1p3::calcMatrixCy (nr_double_t frequency)
6522 for (
int i1 = 0; i1 < 8; i1++) {
6523 setQ (i1, _qhs[i1]);
6524 setCV (i1, _chs[i1]);
6525 setGV (i1, _ghs[i1]);
6526 for (
int i2 = 0; i2 < 8; i2++) {
6527 setQV (i1, i2, _jdyna[i1][i2]);