@@ -1721,11 +1721,11 @@ def run_model_from_poa(self, data):
17211721 >>> from pvlib.pvsystem import PVSystem, Array, FixedMount
17221722 >>> from pvlib.location import Location
17231723 >>> from pvlib.modelchain import ModelChain
1724- >>>
1725- >>> system = PVSystem(module_parameters={'pdc0': 300})
17261724 >>> location = Location(35, -110)
1725+ >>> mount = FixedMount(surface_tilt=30, surface_azimuth=180)
1726+ >>> array = Array(mount=mount, module_parameters={'pdc0': 300})
1727+ >>> system = PVSystem(arrays=[array])
17271728 >>> mc = ModelChain(system, location)
1728- >>>
17291729 >>> poa = pd.DataFrame({
17301730 ... 'poa_global': [900, 850],
17311731 ... 'poa_direct': [600, 560],
@@ -1737,12 +1737,12 @@ def run_model_from_poa(self, data):
17371737 <pvlib.modelchain.ModelChain ...>
17381738
17391739 Multi-array system:
1740+
17401741 >>> mount1 = FixedMount(surface_tilt=30, surface_azimuth=180)
17411742 >>> mount2 = FixedMount(surface_tilt=10, surface_azimuth=90)
1742- >>> array1 = Array(mount=mount1)
1743- >>> array2 = Array(mount=mount2)
1744- >>> system = PVSystem(arrays=[array1, array2],
1745- ... module_parameters={'pdc0': 300})
1743+ >>> array1 = Array(mount=mount1, module_parameters={'pdc0': 300})
1744+ >>> array2 = Array(mount=mount2, module_parameters={'pdc0': 300})
1745+ >>> system = PVSystem(arrays=[array1, array2])
17461746 >>> mc = ModelChain(system, location)
17471747 >>> poa1 = pd.DataFrame({
17481748 ... 'poa_global': [900, 880],
@@ -1846,13 +1846,15 @@ def run_model_from_effective_irradiance(self, data):
18461846 Examples
18471847 --------
18481848 Single-array system:
1849+
18491850 >>> import pandas as pd
18501851 >>> from pvlib.pvsystem import PVSystem, Array, FixedMount
18511852 >>> from pvlib.location import Location
18521853 >>> from pvlib.modelchain import ModelChain
1853- >>>
1854- >>> system = PVSystem(module_parameters={'pdc0': 300})
18551854 >>> location = Location(35, -110)
1855+ >>> mount = FixedMount(surface_tilt=30, surface_azimuth=180)
1856+ >>> array = Array(mount=mount, module_parameters={'pdc0': 300})
1857+ >>> system = PVSystem(arrays=[array])
18561858 >>> mc = ModelChain(system, location)
18571859 >>>
18581860 >>> eff = pd.DataFrame({
@@ -1866,12 +1868,12 @@ def run_model_from_effective_irradiance(self, data):
18661868 <pvlib.modelchain.ModelChain ...>
18671869
18681870 Multi-array system:
1871+
18691872 >>> mount1 = FixedMount(surface_tilt=30, surface_azimuth=180)
18701873 >>> mount2 = FixedMount(surface_tilt=10, surface_azimuth=90)
1871- >>> array1 = Array(mount=mount1)
1872- >>> array2 = Array(mount=mount2)
1873- >>> system = PVSystem(arrays=[array1, array2],
1874- ... module_parameters={'pdc0': 300})
1874+ >>> array1 = Array(mount=mount1, module_parameters={'pdc0': 300})
1875+ >>> array2 = Array(mount=mount2, module_parameters={'pdc0': 300})
1876+ >>> system = PVSystem(arrays=[array1, array2])
18751877 >>> mc = ModelChain(system, location)
18761878 >>> eff1 = pd.DataFrame({
18771879 ... 'effective_irradiance': [900, 920],
0 commit comments