Skip to content

add variables to docs #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions docs/sphinx/source/_static/variables_style-rules.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
variable;description;comment
tz;timezone;
latitude;latitude;
longitude;longitude;
dni;direct normal irradiance;
dni_extra;direct normal irradiance at top of atmosphere (extraterrestrial);
dhi;diffuse horizontal irradiance;
ghi;global horizontal irradiance;
aoi;angle of incidence;
aoi_projection;cos(aoi);
airmass;airmass;
airmass_relative;relative airmass;
airmass_absolute;absolute airmass;
poa_ground_diffuse;in plane ground reflected irradiation;
poa_direct;direct/beam irradiation in plane;
poa_diffuse;total diffuse irradiation in plane. sum of ground and sky diffuse.;
poa_global;global irradiation in plane. sum of diffuse and beam projection.;
poa_sky_diffuse;diffuse irradiation in plane from scattered light in the atmosphere (without ground reflected irradiation);
surface_tilt;tilt angle of the surface;
surface_azimuth;azimuth angle of the surface;
solar_zenith;zenith angle of the sun in degrees;
apparent_zenith;refraction-corrected solar zenith angle in degrees;
solar_azimuth;azimuth angle of the sun in degrees East of North;
temp_cell;temperature of the cell;
temp_module;temperature of the module;
temp_air;temperature of the air;
temp_dew;dewpoint temperature;
relative_humidity;relative humidity;
v_mp, i_mp, p_mp;module voltage, current, power at the maximum power point;
v_oc;open circuit module voltage;
i_sc;short circuit module current;
i_x, i_xx;Sandia Array Performance Model IV curve parameters;
effective_irradiance;effective irradiance;
photocurrent;photocurrent;
saturation_current;diode saturation current;
resistance_series;series resistance;
resistance_shunt;shunt resistance;
3 changes: 3 additions & 0 deletions docs/sphinx/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ and

The GitHub wiki also has a page on `Projects and publications that use pvlib python <https://github.com/pvlib/pvlib-python/wiki/Projects-and-publications-that-use-pvlib-python>`_ for inspiration and listing of your application.

There is a :ref:`convention of variable naming <variables_style_rules>` to ensure consistency throughout the library.

Installation
============

Expand All @@ -60,6 +62,7 @@ Contents
self
whatsnew
comparison_pvlib_matlab
variables_style_rules
pvlib


Expand Down
14 changes: 14 additions & 0 deletions docs/sphinx/source/variables_style_rules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.. _variables_style_rules:

*************************
Variables and style rules
*************************

There is a convention on consistent variable names throughout the library:

.. csv-table:: List of Variables
:file: ./_static/variables_style-rules.csv
:delim: ;
:header-rows: 1
:widths: 5, 20, 10