@@ -81,7 +81,7 @@ Next, we run a model with some simple weather data.
8181 columns = [' ghi' , ' dni' , ' dhi' , ' temp_air' , ' wind_speed' ],
8282 index = [pd.Timestamp(' 20170401 1200' , tz = ' US/Arizona' )])
8383
84- mc.run_model(times = weather.index, weather = weather);
84+ mc.run_model(weather);
8585
8686 ModelChain stores the modeling results on a series of attributes. A few
8787examples are shown below.
@@ -157,7 +157,7 @@ model, AC model, AOI loss model, and spectral loss model.
157157
158158 .. ipython :: python
159159
160- mc.run_model(times = weather.index, weather = weather);
160+ mc.run_model(weather);
161161 mc.ac
162162
163163 Alternatively, we could have specified single diode or PVWatts related
@@ -180,7 +180,7 @@ information to determine which of those models to choose.
180180
181181 .. ipython :: python
182182
183- mc.run_model(times = weather.index, weather = weather);
183+ mc.run_model(weather);
184184 mc.ac
185185
186186 User-supplied keyword arguments override ModelChain’s inspection
@@ -198,7 +198,7 @@ functions for a PVSystem that contains SAPM-specific parameters.
198198
199199 .. ipython :: python
200200
201- mc.run_model(times = weather.index, weather = weather);
201+ mc.run_model(weather);
202202 mc.ac
203203
204204 Of course, these choices can also lead to failure when executing
@@ -461,5 +461,5 @@ The end result is that ModelChain.run_model works as expected!
461461
462462.. ipython :: python
463463
464- mc.run_model(times = weather.index, weather = weather);
464+ mc.run_model(weather);
465465 mc.dc
0 commit comments