Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tracking.singleaxis takes apparent_azimuth #2479

Copy link
Copy link
Open
@AdamRJensen

Description

@AdamRJensen
Issue body actions

The pvlib.tracking.singleaxis takes input parameters of apparent_zenith and apparent_azimuth. Since the solar azimuth angle is not affected by refraction, this parameter name does not make sense. It is the only place in pvlib that apparent_azimuth is specified.

def singleaxis(apparent_zenith, apparent_azimuth,
axis_tilt=0, axis_azimuth=0, max_angle=90,
backtrack=True, gcr=2.0/7.0, cross_axis_tilt=0):

This discussion is related to #1403.

A number at the 2025 PVSC pvlib tutorial had issues finding the apparent_azimuth parameter (for good reason), hence I think the inputs should be changed to solar_, which would also be consistent with most other pvlib functions (even when they require apparent solar angles).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.