← 返回
未分类 中文

不同方位倾斜面辐射量计算

Calculate solar radiation on tilted surfaces based on NASA POWER data. Supports user-defined tilt angle and azimuth angle. Outputs structured Excel files.
基于NASA POWER数据计算倾斜面太阳辐射,支持自定义倾角和方位角,输出结构化Excel文件。
yuepeng1985-web
未分类 clawhub v1.0.0 1 版本 99635 Key: 无需
★ 0
Stars
📥 273
下载
💾 0
安装
1
版本
#latest

概述

Solar-Tilt-Calculator

Calculate solar radiation on tilted surfaces for wind and solar energy analysis. Based on NASA POWER climatology data and Hay's anisotropic sky-diffuse model.

Trigger

User provides:

  1. Input Excel file path (from metdata-nasa-access)
  2. Tilt angle (β) in degrees
  3. Azimuth angle (γ) in degrees (optional, default: 0 = facing equator)

Example:

  • "帮我计算倾角30°,方位角0°的辐射量"
  • "使用 /path/to/metdata.xlsx,倾角25°"
  • "30度倾角,正南朝向"

Workflow

Step 1: Read Input Excel

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):

  • Sheet "气象数据": Contains monthly radiation data
  • Columns: T2M, T10M, ALLSKY_SRF_ALB, ALLSKY_SFC_SW_DNI, ALLSKY_SFC_SW_DIFF, ALLSKY_SFC_SW_DWN
  • Rows: 1月-12月 + 年度均值

Step 2: Calculate Tilted Surface Radiation

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:

  • A = sinδ(sinφ cosβ - cosφ sinβ cosγ)
  • B = cosδ(cosφ cosβ + sinφ sinβ cosγ)
  • C = cosδ sinβ sinγ
  • ωs = arccos(-tanφ tanδ)

Step 3: Generate Output Excel

Output Excel with 3 sheets:

  1. 基本信息 - Location, tilt angle, azimuth angle, input data source
  2. 倾斜面辐射数据 - Monthly mean daily radiation on tilted surface
  3. 参数说明 - Calculation model, parameters, formulas

Step 4: Report to User

Confirm the file path and summarize key findings:

  • 年均可用辐射量(水平面 vs 倾斜面)
  • 最佳辐射月份
  • 辐射增益/损失百分比

Output Format

Excel with 3 sheets:

基本信息:

  • 输入数据源
  • 当地纬度
  • 倾斜角度
  • 方位角度
  • 计算模型

倾斜面辐射数据:

月份直射辐射散射辐射地面反射总辐射水平面总辐射增益/损失
----------------------------------------------------------------
1月..................

参数说明:

  • Hay 模型说明
  • 公式来源
  • 符号对照表

Notes

  • Based on Hay's anisotropic sky-diffuse model
  • Input data should be from metdata-nasa-access (NASA POWER climatology)
  • Tilt angle (β): 0-90° (0° = horizontal)
  • Azimuth angle (γ): -90° to +90° (0° = facing equator, negative = east, positive = west)
  • Ground reflectance (ρ): default 0.2 (typical for most surfaces)
  • Units: MJ/(m²·day)
  • Calculation method: Monthly mean daily radiation

References

  • 杨金焕, 毛家俊, 陈中华. 不同方位倾斜面上太阳辐射量及最佳倾角的计算[J]. 上海交通大学学报, 2002, 36(7): 1032-1035.
  • Hay J E. Calculation of monthly mean solar radiation for horizontal and inclined surfaces[J]. Solar Energy, 1979, 23(4): 301-307.
  • Bushell R H. A solution for sunrise and sunset hour angles on a tilted surface without a singularity at zero[J]. Solar Energy, 1982, 28(4): 359.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 02:32 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,376 📥 320,195
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,078 📥 808,678
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 676 📥 325,263