• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pvlib / pvlib-python / 1304
96%

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2018 03:31PM UTC
Jobs 2
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1304

push

travis-ci

wholmgren
ENH: WIP: add methods and tests for a explicit IV curve calculation of single-diode model (#409)

* add methods and tests for a faster way to calculate single-diode model

* log estimate of speedup in test

* use ordered dict for output, match inputs and outputs, add iv-curve

* add "slow" but reliable ways to calculate i_from_v and vv

* add slow_i_from_v(v, *x) which uses bishop88 and the canned bisecton
 method from scipy.optimize.fminbound to guarantee convergence
* ditto for slow_v_from_i(i, *x)
* ditto for slow_mppt(*x)
* add slower_way(*x) which is the equivalent of faster_way(*x) but using
 the canned bisection method from scipy.optimize.fminbound instead of
 the generic newtom step method.
* also add some better docstrings and comments

Signed-off-by: Mark Mikofski <bwana.marko@yahoo.com>

* add check for numerical errors

* use float64, output symbols for fun, make executable

* add tests for slower_way using fminbound

test_way_faster
---------------
* change test names to test_fast_ and test_slow to differential
* move tstop before the expansion of output values

way_faster
----------
* refactor to use photocurrent for il, saturation_current for io,
resistance_series for rs, resistance_shunt for rsh, and nNsVth for nnsvt
* remove start of custom newton solver
* fix FIXME to use the correct names

* change voc to v_oc

* add numeric type to args in docstrings

* so that pycharm will stop complaining
* add a bunch of todo's for #408 and #410
* use DELTA instead of recalculating each time
* fix typo/bug in docstring for nNsVth arg, missing trailing colon (:) had
quotes (") instead

* replace custom newton method with scipy.optimize.newton

* remove tol, damp, log, & test args in from faster_way() since not
used anymore
* do not import logging, and remove LOGGER, etc.
* also remove EPS, DAMP, DELTA all not used
* import newton
* add fast_i_from_v() using newton
* remove the entire custom n... (continued)

545 of 545 new or added lines in 7 files covered. (100.0%)

5075 of 6041 relevant lines covered (84.01%)

1.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1304.1 (CONDA_ENV=py27-min) 14 Jul 2018 03:32PM UTC 0
68.93
Travis Job 1304.1
5 1304.5 (CONDA_ENV=py36) 14 Jul 2018 03:31PM UTC 0
84.01
Travis Job 1304.5
Source Files on build 1304
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1304
  • 24980408 on github
  • Prev Build on master (#1301)
  • Next Build on master (#1309)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc