Coding

Geoskill: Renewable Energy Site Selection

Try it

Multi-criteria site selection for solar PV and wind projects. Applies hard constraints (slope, water, protected areas) and weighted suitability analysis. Use when screening for renewable energy development zones or comparing site alternatives.

What it does

Multi-criteria site selection for solar PV and wind projects. Applies hard constraints (slope, water, protected areas) and weighted suitability analysis. Use when screening for renewable energy development zones or comparing site alternatives.

The skill document

Renewable Energy Site Selection

GIS-based multi-criteria suitability analysis for solar and wind projects.

Trigger

Use when the user wants to:

  • Screen for solar PV or wind farm sites
  • Compare renewable energy development zones
  • Estimate potential installed capacity
  • Apply constraints (slope, land cover, protected areas)

CLI Usage

# Solar site selection
python scripts/renewable_energy_site_selection.py \
  --resource-raster ghi.tif \
  --slope-raster slope.tif \
  --land-cover landcover.tif \
  --technology solar

# Wind with constraints
python scripts/renewable_energy_site_selection.py \
  --resource-raster wind_speed.tif \
  --slope-raster slope.tif \
  --land-cover landcover.tif \
  --water-mask water.tif \
  --protected-mask protected.tif \
  --technology wind

# Custom weights
python scripts/renewable_energy_site_selection.py \
  --resource-raster ghi.tif \
  --slope-raster slope.tif \
  --land-cover landcover.tif \
  --weights '{"resource":0.5,"slope":0.15,"grid_distance":0.2,"land_cover":0.15}'

Parameters

ParameterDefaultDescription
--resource-rasterrequiredSolar GHI (W/m²) or wind speed (m/s)
--slope-rasterrequiredSlope in degrees
--land-coverrequiredLand cover classification raster
--water-maskNoneWater body mask (1=water)
--protected-maskNoneProtected area mask (1=protected)
--grid-distanceNoneDistance to grid (m)
--technologysolarsolar or wind
--weightsJSONFactor weights
--max-slope15Max slope (degrees)
--suitability-threshold0.6Min score for candidates
--min-area10000Min site area (m²)
--capacity-densityautoMW/km² (solar=40, wind=8)
--output-dir./energy-site-outputOutput directory

Output

FileDescription
suitability.tifSuitability score raster [0, 1]
candidate_sites.geojsonCandidate site polygons with capacity
report.htmlHTML summary report
output-manifest.jsonMachine-readable manifest

Exit Codes

CodeMeaning
0Success
2Argument error
3Dependency missing
6Data validation failure
7Processing failure

数据下载

本 skill 可自动从 NASA POWER 下载数据 (无需 API key):

python renewable_energy_site_selection.py --bbox 116,39,117,40 --date-range 2024-06-01,2024-06-30 --output-dir 
  • --bbox W,S,E,N: WGS-84 边界框 (西, 南, 东, 北)
  • --date-range START,END: 日期范围 (YYYY-MM-DD,YYYY-MM-DD)
  • --aoi-file : 替代 --bbox 的 GeoJSON 多边形
  • --cache-dir : 缓存目录 (默认 ~/.geoskill_cache)

当用户只给 --bbox + --date-range (没有 --image) 时,skill 自动下载数据。 当用户给 --image 时,走原文件路径 (向后兼容)。

Related skills

Multi-criteria suitability analysis for infrastructure site selection. Use when the user wants to analyze changes, compare multi-temporal rasters, compute indices, or generate assessment reports.

1 installs

Calculate solar PV energy potential from NASA POWER solar radiation data. Computes annual GHI, optimal tilt angle, estimated PV output, and economic analysis.

Inventory building rooftop solar potential: available area, slope/aspect, shading, and PV capacity/energy yield/economic viability. Outputs building-level candidate rankings for solar deployment.

1 installs

Multi-criteria screening of groundwater recharge potential using terrain, soil, geology, land cover, drainage density, and rainfall. Supports AHP, weighted overlay, and fuzzy aggregation with sensitivity analysis and spatial validation. Use when the user wants to identify zones with higher recharge potential, compare weight scenarios, or generate candidate recharge area maps for planning purposes.

1 installs

基于风速时序的风能资源评估:逐像元 Weibull 分布拟合(矩估计/MLE)、风功率密度 WPD=0.5ρmean(v³)、幂律高度外推与年发电量估算。Wind resource assessment from wind-speed time series: per-pixel Weibull fitting, wind power density, power-law height extrapolation, and annual energy yield. 输出平均风速/功率密度/Weibull 参数 GeoTIFF + 参数 JSON + manifest。

1 installs

Derive aerodynamic roughness and ventilation potential from building morphology and extract least-resistance ventilation corridors.

1 installs