@@ -1718,7 +1718,7 @@ def run_model_from_poa(self, data):
17181718 Single-array system:
17191719
17201720 >>> import pandas as pd
1721- >>> from pvlib.pvsystem import PVSystem
1721+ >>> from pvlib.pvsystem import PVSystem, Array, FixedMount
17221722 >>> from pvlib.location import Location
17231723 >>> from pvlib.modelchain import ModelChain
17241724 >>>
@@ -1730,16 +1730,17 @@ def run_model_from_poa(self, data):
17301730 ... 'poa_global': [900, 850],
17311731 ... 'poa_direct': [600, 560],
17321732 ... 'poa_diffuse': [300, 290],
1733- ... },
1733+ ... },
17341734 ... index=pd.date_range("2021-06-01", periods=2, freq="H"))
17351735 >>>
17361736 >>> mc.run_model_from_poa(poa)
17371737 <pvlib.modelchain.ModelChain ...>
17381738
17391739 Multi-array system:
1740-
1741- >>> array1 = Array(tilt=30, azimuth=180)
1742- >>> array2 = Array(tilt=10, azimuth=90)
1740+ >>> mount1 = FixedMount(surface_tilt=30, surface_azimuth=180)
1741+ >>> mount2 = FixedMount(surface_tilt=10, surface_azimuth=90)
1742+ >>> array1 = Array(mount=mount1)
1743+ >>> array2 = Array(mount=mount2)
17431744 >>> system = PVSystem(arrays=[array1, array2],
17441745 ... module_parameters={'pdc0': 300})
17451746 >>> mc = ModelChain(system, location)
@@ -1845,9 +1846,8 @@ def run_model_from_effective_irradiance(self, data):
18451846 Examples
18461847 --------
18471848 Single-array system:
1848-
18491849 >>> import pandas as pd
1850- >>> from pvlib.pvsystem import PVSystem
1850+ >>> from pvlib.pvsystem import PVSystem, Array, FixedMount
18511851 >>> from pvlib.location import Location
18521852 >>> from pvlib.modelchain import ModelChain
18531853 >>>
@@ -1866,9 +1866,10 @@ def run_model_from_effective_irradiance(self, data):
18661866 <pvlib.modelchain.ModelChain ...>
18671867
18681868 Multi-array system:
1869-
1870- >>> array1 = Array(tilt=30, azimuth=180)
1871- >>> array2 = Array(tilt=10, azimuth=90)
1869+ >>> mount1 = FixedMount(surface_tilt=30, surface_azimuth=180)
1870+ >>> mount2 = FixedMount(surface_tilt=10, surface_azimuth=90)
1871+ >>> array1 = Array(mount=mount1)
1872+ >>> array2 = Array(mount=mount2)
18721873 >>> system = PVSystem(arrays=[array1, array2],
18731874 ... module_parameters={'pdc0': 300})
18741875 >>> mc = ModelChain(system, location)
0 commit comments