Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update racking_model options in PVSystem and FixedMount classes #2232

Merged
merged 23 commits into from
Nov 15, 2024
Merged
Changes from 3 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
1ccc339
change racking_model default to none, formatting
RDaxini Sep 28, 2024
19afcf2
Update pvsystem.py
RDaxini Sep 28, 2024
6cdf500
Update pvsystem.py
RDaxini Sep 28, 2024
35222dc
Apply suggestions from code review
RDaxini Sep 29, 2024
ab8cede
review suggestions
RDaxini Sep 29, 2024
555f934
Merge branch 'pvsystem_racking' of https://github.com/RDaxini/pvlib-p…
RDaxini Sep 29, 2024
a8fc0b8
Update v0.11.2.rst
RDaxini Sep 30, 2024
a9a2613
Update pvlib/pvsystem.py
RDaxini Oct 1, 2024
27db22c
Update pvsystem.py
RDaxini Oct 1, 2024
0ffb6f9
Merge branch 'pvsystem_racking' of https://github.com/RDaxini/pvlib-p…
RDaxini Oct 1, 2024
de1fe69
Merge remote-tracking branch 'upstream/main' into pvsystem_racking
RDaxini Oct 1, 2024
e1bc914
backticks
RDaxini Oct 1, 2024
3d5548c
Update pvsystem.py
RDaxini Oct 1, 2024
83ad840
Merge remote-tracking branch 'upstream/main' into pvsystem_racking
RDaxini Oct 20, 2024
6429339
whatsnew remove blank line
RDaxini Oct 20, 2024
1273ccb
Apply suggestions from code review
RDaxini Nov 12, 2024
5095d83
add `insulated` racking model option
RDaxini Nov 12, 2024
f8e40f6
Merge branch 'pvsystem_racking' of https://github.com/RDaxini/pvlib-p…
RDaxini Nov 12, 2024
5869a19
erroneous ``
RDaxini Nov 12, 2024
23bfd68
Update v0.11.2.rst
RDaxini Nov 12, 2024
49f06bc
Merge remote-tracking branch 'upstream/main' into pvsystem_racking
RDaxini Nov 12, 2024
5702b97
update SingleAxisTrackerMount
RDaxini Nov 15, 2024
da982c6
Update v0.11.2.rst
RDaxini Nov 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 20 additions & 17 deletions pvlib/pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from abc import ABC, abstractmethod
from typing import Optional, Union

from pvlib._deprecation import deprecated, warn_deprecated
from pvlib._deprecation import deprecated

import pvlib # used to avoid albedo name collision in the Array class
from pvlib import (atmosphere, iam, inverter, irradiance,
Expand Down Expand Up @@ -104,7 +104,7 @@ class PVSystem:
----------
arrays : Array or iterable of Array, optional
An Array or list of arrays that are part of the system. If not
specified a single array is created from the other parameters (e.g.
specified, a single array is created from the other parameters (e.g.
`surface_tilt`, `surface_azimuth`). If specified as a list, the list
must contain at least one Array;
if length of arrays is 0 a ValueError is raised. If `arrays` is
Expand All @@ -127,7 +127,7 @@ class PVSystem:
(e.g. surface facing up = 0, surface facing horizon = 90)

surface_azimuth: float or array-like, default 180
Azimuth angle of the module surface.
Azimuth angle of the module surface in decimal degrees.
North=0, East=90, South=180, West=270.

albedo : float, optional
Expand All @@ -142,19 +142,20 @@ class PVSystem:

module : string, optional
The model name of the modules.
May be used to look up the module_parameters dictionary
May be used to look up the ``module_parameters`` dictionary
via some other method.

module_type : string, default 'glass_polymer'
Describes the module's construction. Valid strings are 'glass_polymer'
and 'glass_glass'. Used for cell and module temperature calculations.
module_type : string, default `glass_polymer`
Describes the module's construction. Valid strings are `glass_polymer`
and `glass_glass`. Used for cell and module temperature calculations.

module_parameters : dict or Series, optional
Module parameters as defined by the SAPM, CEC, or other.

temperature_model_parameters : dict or Series, optional
Temperature model parameters as required by one of the models in
pvlib.temperature (excluding poa_global, temp_air and wind_speed).
py:func:`pvlib.temperature` (excluding ``poa_global``, ``temp_air`` and
``wind_speed``).

modules_per_string: int or float, default 1
See system topology discussion above.
Expand All @@ -164,15 +165,16 @@ class PVSystem:

inverter : string, optional
The model name of the inverters.
May be used to look up the inverter_parameters dictionary
May be used to look up the ``inverter_parameters`` dictionary
via some other method.

inverter_parameters : dict or Series, optional
Inverter parameters as defined by the SAPM, CEC, or other.

racking_model : string, default 'open_rack'
Valid strings are 'open_rack', 'close_mount', and 'insulated_back'.
Used to identify a parameter set for the SAPM cell temperature model.
racking_model : string, default None
Valid strings are `open_rack`, `close_mount`, `freestanding`, or
`insulated_back`.
Used to identify a parameter set for the cell temperature model.

losses_parameters : dict or Series, optional
Losses parameters as defined by PVWatts or other.
Expand All @@ -186,7 +188,7 @@ class PVSystem:
Raises
------
ValueError
If `arrays` is not None and has length 0.
If ``arrays`` is not None and has length 0.

See also
--------
Expand Down Expand Up @@ -1373,11 +1375,12 @@ class FixedMount(AbstractMount):
Azimuth angle of the module surface. North=0, East=90, South=180,
West=270. [degrees]

racking_model : str, optional
Valid strings are 'open_rack', 'close_mount', and 'insulated_back'.
Used to identify a parameter set for the SAPM cell temperature model.
racking_model : str, optional, default None
Valid strings are `open_rack`, `close_mount`, `freestanding`, or
`insulated_back`.
Used to identify a parameter set for the cell temperature model.

module_height : float, optional
module_height : float, optional, default None
The height above ground of the center of the module [m]. Used for
the Fuentes cell temperature model.
"""
Expand Down
Loading