SunPower / PVMismatch

An explicit Python PV system IV & PV curve trace calculator which can also calculate mismatch.
http://sunpower.github.io/PVMismatch/
BSD 3-Clause "New" or "Revised" License
79 stars 30 forks source link

two diode tests failing #55

Closed mikofski closed 6 years ago

mikofski commented 6 years ago

As mentioned in #54, test_two_diode.py where failing because of changes to SymPy.

Traceback (most recent call last):
  File "pvmismatch\contrib\gen_coeffs\tests\test_two_diode.py", line 63, in test_didv_dpdv_frsh
    fdidv_expected = np.float(didv_simple.evalf(subs=expected_data))
  File "python27\lib\site-packages\sympy\core\expr.py", line 239, in __float__
    raise TypeError("can't convert expression to float")
TypeError: can't convert expression to float