Install
openclaw skills install @yuepeng1985-web/solar-tilt-calculatorCalculate solar radiation on tilted surfaces based on NASA POWER data. Supports user-defined tilt angle and azimuth angle. Outputs structured Excel files.
openclaw skills install @yuepeng1985-web/solar-tilt-calculatorCalculate solar radiation on tilted surfaces for wind and solar energy analysis. Based on NASA POWER climatology data and Hay's anisotropic sky-diffuse model.
User provides:
Example:
Read the Excel file generated by metdata-nasa-access:
python3 scripts/calculate_tilt_radiation.py \
--input <INPUT_EXCEL> \
--tilt <TILT_ANGLE> \
--azimuth <AZIMUTH_ANGLE> \
--output <OUTPUT_EXCEL>
Input Excel structure (from metdata-nasa-access):
Use Hay's anisotropic model (from paper: 不同方位倾斜面上太阳辐射量及最佳倾角的计算):
HT = Hb × Rb + Hd × [(Hb/H0) × Rb + (1/2)(1 - Hb/H0)(1 + cosβ)] + (1/2)ρH(1 - cosβ)
For equator-facing surfaces (γ = 0):
Rb = [sin(φ - β) × sinδ + cos(φ - β) × cosδ × cosωs] / [sinφ × sinδ + cosφ × cosδ × cosωs]
For tilted surfaces with azimuth (γ ≠ 0): Use Bushell's improved formula for sunrise/sunset hour angles:
ωs1 = min{ωs, arccos[(A - B)/C]}
ωs2 = max{-ωs, arccos[(A + B)/C]}
Where:
Output Excel with 3 sheets:
Confirm the file path and summarize key findings:
Excel with 3 sheets:
基本信息:
倾斜面辐射数据:
| 月份 | 直射辐射 | 散射辐射 | 地面反射 | 总辐射 | 水平面总辐射 | 增益/损失 |
|---|---|---|---|---|---|---|
| 1月 | ... | ... | ... | ... | ... | ... |
参数说明: