Note
Go to the end to download the full example code.
Four PV climate schemes across mainland Chile#
Compare native source points whose centers fall within the existing contiguous Chile mainland contour. The four classifications retain different periods and resolutions. This is not a common-period accuracy benchmark.
See the method and source guide.
Download the complete runnable comparison bundle
or provenance manifest.
The bundle includes all three scripts, CSV inputs, model JSON and map context.
Run from its extracted directory after installing the workspace. No network
requests or model fits occur during gallery execution.
from pathlib import Path
import matplotlib.pyplot as plt
from energy_analysis.climate_comparison.plotting import load_study, plot_comparison
frames, model = load_study(Path("."), "chile")
fig = plot_comparison(Path("."), "chile")
plt.show()

Inspect the classes behind the colors#
JRC labels describe this saved model’s centroid POA irradiation and module temperature. They are not numbered equivalents of another scheme’s classes. Published ML21 codes denote climate families and their published subtypes. PVCZ T1-T10 and H1-H5 are separate thermal and specific-humidity bands.
for code, label in zip(model.codes[1:], model.labels[1:], strict=True):
print(f"{code}: {label}")
for name, frame in frames.items():
print(f"{name}: {len(frame):,} source rows in the downloaded regional sample")
JRC01: POA 1661 kWh/m²/year; module 0.5 °C
JRC02: POA 1184 kWh/m²/year; module 12.4 °C
JRC03: POA 1294 kWh/m²/year; module 22.7 °C
JRC04: POA 1704 kWh/m²/year; module 23.8 °C
JRC05: POA 1667 kWh/m²/year; module 33.9 °C
JRC06: POA 2269 kWh/m²/year; module 23.1 °C
JRC07: POA 2163 kWh/m²/year; module 36.4 °C
JRC08: POA 1791 kWh/m²/year; module 44.1 °C
JRC09: POA 2101 kWh/m²/year; module 46.1 °C
JRC10: POA 2459 kWh/m²/year; module 44.4 °C
jrc: 5,898 source rows in the downloaded regional sample
ml21: 898 source rows in the downloaded regional sample
pvcz: 3,375 source rows in the downloaded regional sample
Total running time of the script: (0 minutes 0.489 seconds)