8000 `pvlib.soiling.hsu` takes `tilt` instead of `surface_tilt` · Issue #1717 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content
pvlib.soiling.hsu takes tilt instead of surface_tilt #1717
Closed
@kandersolar

Description

@kandersolar

pvlib.soiling.hsu takes a tilt parameter representing the same thing we normally call surface_tilt:

def hsu(rainfall, cleaning_threshold, tilt, pm2_5, pm10,
depo_veloc=None, rain_accum_period=pd.Timedelta('1h')):

tilt : float
Tilt of the PV panels from horizontal. [degree]

I don't see any good reason for this naming inconsistency (I suspect tilt just got copied from the matlab implementation) and suggest we rename the parameter to surface_tilt with a deprecation.

Also, the docstring parameter type description says it must be float, but the model's reference explicitly says time series tilt is allowed:

The angle is variable for tracking systems and is taken as the average angle over the time step.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0