首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PVMismatch中gen_coeffs.gen_two_diode的输出是什么意思?

PVMismatch中gen_coeffs.gen_two_diode的输出是什么意思?
EN

Stack Overflow用户
提问于 2020-12-20 14:50:09
回答 1查看 28关注 0票数 1

我不理解gen_coeffs.gen_two_diode的输出,它是:

代码语言:javascript
复制
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二极管模型所需的参数?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-04-12 01:50:41

输出是解算器的Scipy方法的典型输出。我要查找的值在x数组中-24.51750581,-13.41004545,0.06324555,3.16227766。但有一点加密:

饱和电流的计算结果用e函数的指数表示,并联电阻和串联电阻用均方根表示。

代码语言:javascript
复制
isat1 = np.exp(sol.x[0])
isat2 = np.exp(sol.x[1])
rs = sol.x[2] ** 2.0
rsh = sol.x[3] ** 2.0
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65377569

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档