我不理解gen_coeffs.gen_two_diode的输出,它是:
fjac: array([[nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
... nan, nan, nan, nan, nan, nan, nan, nan]])
fun: array([-5.00391537e-02, -5.32664899e-02, -5.71223793e-02, - 5.97740265e-02,-6.18808152e-02, -6.36665900e-02...-1.94677609e-07,
-2.92041963e-07, -3.89423353e-07, -4.86821782e-07, -5.35527386e-07])
ipvt: array([1, 2, 3, 4], dtype=int32)
message: 'The cosine of the angle between func(x) and any column of the\n Jacobian is at most 0.000000 in absolute value'
nfev: 1
njev: 1
qtf: array([nan, nan, nan, nan])
status: 4
success: True
x: array([-24.51750581, -13.41004545, 0.06324555, 3.16227766])我能在这个输出中找到我需要的值(Isat1,Isat2,Rs和Rs)吗?或者在使用gen_coeffs.gen_two_diode之后,我可以在哪里找到2二极管模型所需的参数?
发布于 2021-04-12 01:50:41
输出是解算器的Scipy方法的典型输出。我要查找的值在x数组中-24.51750581,-13.41004545,0.06324555,3.16227766。但有一点加密:
饱和电流的计算结果用e函数的指数表示,并联电阻和串联电阻用均方根表示。
isat1 = np.exp(sol.x[0])
isat2 = np.exp(sol.x[1])
rs = sol.x[2] ** 2.0
rsh = sol.x[3] ** 2.0https://stackoverflow.com/questions/65377569
复制相似问题