Skip to content

Commit f2b5177

Browse files
committed
Merge pull request #103 from dacoex/doc_var
fix for #102
2 parents 35b6e7b + c5447f7 commit f2b5177

File tree

3 files changed

+70
-0
lines changed

3 files changed

+70
-0
lines changed

docs/sphinx/source/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ and
4242

4343
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.
4444

45+
There is a :ref:`variable naming convention <variables_style_rules>` to ensure consistency throughout the library.
46+
4547
Installation
4648
============
4749

@@ -60,6 +62,7 @@ Contents
6062
self
6163
whatsnew
6264
comparison_pvlib_matlab
65+
variables_style_rules
6366
pvlib
6467

6568

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.. _variables_style_rules:
2+
3+
Variables and Symbols
4+
=====================
5+
6+
There is a convention on consistent variable names throughout the library:
7+
8+
.. csv-table:: List of used Variables and Parameters
9+
:file: ../../../pvlib/data/variables_style_rules.csv
10+
:delim: ;
11+
:header-rows: 1
12+
:widths: 5, 5
13+
:stub-columns: 1
14+
15+
For a definition and further explanation on the variables, common symbols and units refer to the following sources:
16+
17+
18+
* `Reference Variable List by PVPMC <https://pvpmc.sandia.gov/resources/variable-list/>`_
19+
* `IEC 61724:1998 -- Photovoltaic system performance monitoring - Guidelines for measurement, data exchange and analysis <https://webstore.iec.ch/publication/5733>`_ ; the Indian Standard referencing the global IEC standard is available online: `IS/IEC 61724 (1998) <https://law.resource.org/pub/in/bis/S05/is.iec.61724.1998.pdf>`_
20+
* Explanation of Solar irradiation and solar geometry by `SoDa Service <http://www.soda-pro.com/home>`_
21+
22+
* `Acronyms, Terminology and Units <http://www.soda-pro.com/help/general/acronyms-terminology-and-units>`_
23+
* `Plane orientations and radiation components <http://www.soda-pro.com/help/general/plane-orientations-and-radiation-components>`_
24+
* `Time references <http://www.soda-pro.com/help/general/time-references>`_
25+
* `Units and conversion tool <http://www.soda-is.com/eng/education/units.html>`_
26+
* `Terminology: definitions of the main quantities. <http://www.soda-is.com/eng/education/terminology.html>`_
27+
* `Acronyms in solar radiation <http://www.soda-is.com/eng/education/acronymes.html>`_ (more extensive list)
28+
29+
.. note:: These further references might not use the same terminology as *pvlib*. But the physical process referred to is the same.

pvlib/data/variables_style_rules.csv

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
variable;description
2+
tz;timezone
3+
latitude;latitude
4+
longitude;longitude
5+
dni;direct normal irradiance
6+
dni_extra;direct normal irradiance at top of atmosphere (extraterrestrial)
7+
dhi;diffuse horizontal irradiance
8+
ghi;global horizontal irradiance
9+
aoi;angle of incidence
10+
aoi_projection;cos(aoi)
11+
airmass;airmass
12+
airmass_relative;relative airmass
13+
airmass_absolute;absolute airmass
14+
poa_ground_diffuse;in plane ground reflected irradiation
15+
poa_direct;direct/beam irradiation in plane
16+
poa_diffuse;total diffuse irradiation in plane. sum of ground and sky diffuse.
17+
poa_global;global irradiation in plane. sum of diffuse and beam projection.
18+
poa_sky_diffuse;diffuse irradiation in plane from scattered light in the atmosphere (without ground reflected irradiation)
19+
surface_tilt;tilt angle of the surface
20+
surface_azimuth;azimuth angle of the surface
21+
solar_zenith;zenith angle of the sun in degrees
22+
apparent_zenith;refraction-corrected solar zenith angle in degrees
23+
solar_azimuth;azimuth angle of the sun in degrees East of North
24+
temp_cell;temperature of the cell
25+
temp_module;temperature of the module
26+
temp_air;temperature of the air
27+
temp_dew;dewpoint temperature
28+
relative_humidity;relative humidity
29+
v_mp, i_mp, p_mp;module voltage, current, power at the maximum power point
30+
v_oc;open circuit module voltage
31+
i_sc;short circuit module current
32+
i_x, i_xx;Sandia Array Performance Model IV curve parameters
33+
effective_irradiance;effective irradiance
34+
photocurrent;photocurrent
35+
saturation_current;diode saturation current
36+
resistance_series;series resistance
37+
resistance_shunt;shunt resistance
38+
transposition_factor; the gain ratio of the radiation on inclined plane to global horizontal irradiation: :math:`\frac{poa\_global}{ghi}`

0 commit comments

Comments
 (0)