pvlib.location.Location.get_solarposition#
- Location.get_solarposition(times, pressure=None, temperature=12, **kwargs)[source]#
- Uses the - pvlib.solarposition.get_solarposition()function to calculate the solar zenith, azimuth, etc. at this location.- Parameters:
- times (pandas.DatetimeIndex) – Must be localized or UTC will be assumed. 
- pressure (float, or array-like, optional) – If not specified, - pressureis calculated using- pvlib.atmosphere.alt2pres()and- self.altitude.
- temperature (float or array-like, default 12) 
- kwargs – passed to - pvlib.solarposition.get_solarposition()
 
- Returns:
- solar_position (DataFrame) – Columns depend on the - methodkwarg, but always include- zenithand- azimuth. The angles are in degrees.
 
Examples using pvlib.location.Location.get_solarposition#
 
Simulating PV system DC output using the ADR module efficiency model
 
Reverse transposition using one year of hourly data
 
Use different Perez coefficients with the ModelChain
 
Modelling shading losses in modules with bypass diodes
 
    
  
  
 
 
 
 
 
 
 
 
 
