Skip to content

Commit 9b98d9e

Browse files
Fix broken example 🔧
Co-Authored-By: Kevin Anderson <[email protected]>
1 parent e785292 commit 9b98d9e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/examples/shading/plot_shaded_fraction1d_ns_hsat_example.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@
103103
solar_zenith,
104104
solar_azimuth,
105105
axis_azimuth,
106-
shaded_tracker_rotation=rotation_angle,
106+
shaded_row_rotation=rotation_angle,
107107
axis_tilt=axis_tilt,
108108
collector_width=collector_width,
109109
pitch=pitch,
110110
surface_to_axis_offset=surface_to_axis_offset,
111111
cross_axis_slope=cross_axis_slope,
112-
shading_tracker_rotation=rotation_angle,
112+
shading_row_rotation=rotation_angle,
113113
),
114114
)
115115

@@ -121,26 +121,26 @@
121121
solar_zenith,
122122
solar_azimuth,
123123
axis_azimuth,
124-
shaded_tracker_rotation=rotation_angle,
124+
shaded_row_rotation=rotation_angle,
125125
axis_tilt=axis_tilt,
126126
collector_width=collector_width,
127127
pitch=pitch,
128128
surface_to_axis_offset=surface_to_axis_offset,
129129
cross_axis_slope=cross_axis_slope,
130-
shading_tracker_rotation=rotation_angle,
130+
shading_row_rotation=rotation_angle,
131131
),
132132
# shaded fraction in the evening
133133
pvlib.shading.shaded_fraction1d(
134134
solar_zenith,
135135
solar_azimuth,
136136
axis_azimuth,
137-
shaded_tracker_rotation=rotation_angle,
137+
shaded_row_rotation=rotation_angle,
138138
axis_tilt=axis_tilt,
139139
collector_width=collector_width,
140140
pitch=pitch,
141141
surface_to_axis_offset=surface_to_axis_offset,
142142
cross_axis_slope=cross_axis_slope,
143-
shading_tracker_rotation=rotation_angle,
143+
shading_row_rotation=rotation_angle,
144144
),
145145
)
146146

@@ -152,13 +152,13 @@
152152
solar_zenith,
153153
solar_azimuth,
154154
axis_azimuth,
155-
shaded_tracker_rotation=rotation_angle,
155+
shaded_row_rotation=rotation_angle,
156156
axis_tilt=axis_tilt,
157157
collector_width=collector_width,
158158
pitch=pitch,
159159
surface_to_axis_offset=surface_to_axis_offset,
160160
cross_axis_slope=cross_axis_slope,
161-
shading_tracker_rotation=rotation_angle,
161+
shading_row_rotation=rotation_angle,
162162
),
163163
0, # no shaded fraction in the evening
164164
)

0 commit comments

Comments
 (0)