Skip to content

Tutorial: pvsystem.ipynb #267

Closed
Closed

Description

@cdeline

I'm getting some errors when running pvsystem.ipynb in the PVLib tutorials directory. Specifically code block 17 should be replaced with
pacs = pvsystem.snlinverter(vdcs, pdcs, inverters['ABB__MICRO_0_25_I_OUTD_US_208_208V__CEC_2014_'])

Also, code block 22 is throwing an error at irrad_data = clearsky.ineichen(times_loc, tus.latitude, tus.longitude). It looks like this code example is passing local datetime into clearsky.ineichen, rather than apparent_zenith angle in degrees.

I'm using the latest pvlib 0.4.1 python 2.7.

Chris Deline

Activity

  1. wholmgren commented on Nov 18, 2016

    @wholmgren
    Member

    Thanks for pointing that out and sorry for the confusion. We made some API changes in 0.4 and neglected to update many of the jupyter/ipython tutorials. The online documentation should be up to date: http://pvlib-python.readthedocs.io

    Your second error can be fixed with: irrad_data = tus.get_clearsky(times_loc)

  2. wholmgren commented on Nov 18, 2016

    @wholmgren
    Member
  3. added this to the 0.4.2 milestone on Nov 18, 2016
  4. cdeline commented on Dec 7, 2016

    @cdeline
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions