Closed
Description
Let's try to agree on the variable names and capitalization rules for all terms in the library. PEP8 is a good place to start, but it may be reasonable to break those rules for some terms.
I don't expect that we can come to agreement on everything in this issue, but let's at least write down the terms and rules for which we do agree and change the code to reflect whatever consensus emerges.
A wiki would probably be a good place to put the results.
In no particular order, here are some problems that I'm aware of:
- Acronyms such as DNI, GHI, DHI, AOI.
- Beam irradiance and similar could be
Eb
,beam
,beam_irrad
,irrad_beam
. I know that at least two those are currently in use. diffuse
,sky_diffuse
,diffuse_ground
,In_Plane_SkyDiffuse
,aoi_projection
, etc.airmass
,AM
, oram
? I think we may be using all three. How do we use a modifier like relative or absolute?lat
,latitude
tz
,TZ
surf_az
,surfazi
,surfaceazimuth
- Variables that are closely tied to a particular equation (see many of the
pvsystem
functions). temp
,T
,Tcell
.Vmp
,V_mp
,vmp
,v_mp
.
Fixing this without breaking things requires good tests.