@@ -289,10 +289,9 @@ A clear sky time series using only basic pvlib functions.
289
289
290
290
In [1]: ax.set_title('Ineichen Clear Sky Model');
291
291
292
+ @savefig ineichen-vs-time-climo.png width=6in
292
293
In [1]: ax.legend(loc=2);
293
294
294
- @savefig ineichen-vs-time-climo.png width=6in
295
- In [1]: plt.show();
296
295
297
296
The input data types determine the returned output type. Array input
298
297
results in an OrderedDict of array output, and Series input results in a
@@ -330,16 +329,13 @@ Grid with a clear sky irradiance for a few turbidity values.
330
329
...: ineichen = clearsky.ineichen(apparent_zenith, airmass, linke_turbidity, altitude, dni_extra)
331
330
...: ineichen.plot(ax=ax, title='Linke turbidity = {:0.1f}'.format(linke_turbidity));
332
331
333
- In [1]: ax.legend(loc=1);
334
-
335
332
@savefig ineichen-grid.png width=10in
336
- In [1]: plt.show( );
333
+ In [1]: ax.legend(loc=1 );
337
334
338
335
@suppress
339
336
In [1]: plt.close();
340
337
341
338
342
-
343
339
Validation
344
340
^^^^^^^^^^
345
341
@@ -441,10 +437,8 @@ A clear sky time series using only basic pvlib functions.
441
437
442
438
In [1]: ax.set_title('Simplified Solis Clear Sky Model');
443
439
444
- In [1]: ax.legend(loc=2);
445
-
446
440
@savefig solis-vs-time-0.1-1.png width=6in
447
- In [1]: plt.show( );
441
+ In [1]: ax.legend(loc=2 );
448
442
449
443
@suppress
450
444
In [1]: plt.close();
@@ -485,7 +479,7 @@ Irradiance as a function of solar elevation.
485
479
In [1]: plt.close();
486
480
487
481
488
- Grid with a clear sky irradiance for a few PW and AOD values.
482
+ Grid with clear sky irradiance for a few PW and AOD values.
489
483
490
484
.. ipython ::
491
485
@@ -507,13 +501,11 @@ Grid with a clear sky irradiance for a few PW and AOD values.
507
501
508
502
In [1]: axes = axes.flatten()
509
503
504
+ @savefig solis-grid.png width=10in
510
505
In [1]: for (aod, pw), ax in zip(itertools.chain(itertools.product(aod700, precipitable_water)), axes):
511
506
...: cs = clearsky.simplified_solis(apparent_elevation, aod, pw, pressure, dni_extra)
512
507
...: cs.plot(ax=ax, title='aod700={}, pw={}'.format(aod, pw))
513
508
514
- @savefig solis-grid.png width=10in
515
- In [1]: plt.show();
516
-
517
509
@suppress
518
510
In [1]: plt.close();
519
511
@@ -557,26 +549,20 @@ Contour plots of irradiance as a function of both PW and AOD.
557
549
558
550
.. ipython ::
559
551
560
- In [1]: plot_solis('ghi')
561
-
562
552
@savefig solis-ghi.png width=10in
563
- In [1]: plt.show( )
553
+ In [1]: plot_solis('ghi' )
564
554
565
555
@suppress
566
556
In [1]: plt.close();
567
557
568
- In [1]: plot_solis('dni')
569
-
570
558
@savefig solis-dni.png width=10in
571
- In [1]: plt.show( )
559
+ In [1]: plot_solis('dni' )
572
560
573
561
@suppress
574
562
In [1]: plt.close();
575
563
576
- In [1]: plot_solis('dhi')
577
-
578
564
@savefig solis-dhi.png width=10in
579
- In [1]: plt.show( )
565
+ In [1]: plot_solis('dhi' )
580
566
581
567
@suppress
582
568
In [1]: plt.close();
@@ -641,9 +627,8 @@ GHI data. We first generate and plot the clear sky and measured data.
641
627
642
628
ax.set_ylabel(' Irradiance $W/m^2$' );
643
629
644
- plt.legend(loc = 4 );
645
630
@savefig detect -clear-ghi.png width=10in
646
- plt.show( );
631
+ plt.legend( loc = 4 );
647
632
648
633
@suppress
649
634
plt.close();
0 commit comments