← Back to Skills Marketplace
mecyalika

电力交易96点转24点

by MecyAlika · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
98
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install power-trading-96-to-24
Description
Convert 电力交易/电网边界条件 96点数据 into 24点小时数据 by averaging each consecutive 4 quarter-hour rows. Use when the user asks to do 96转24、96点转24点、15分钟转小时、日前96点边界条件汇总、检查96...
README (SKILL.md)

Power Trading 96 To 24

Convert 96-point electricity-trading data to 24-point hourly data with the fixed rule: every 4 consecutive 15-minute points become 1 hourly point by arithmetic mean.

Workflow

  1. Identify the 96-point source sheet.
  2. Confirm there are 96 non-empty data rows.
  3. Build the 24-point result by averaging rows 1-4, 5-8, ..., 93-96 for each metric column.
  4. If writing into a template, ensure each 24-point metric column references the matching 96-point source column.
  5. Verify at least the first 3 hours manually.

Column Mapping Rule

Typical columns:

  • 时刻
  • 统调负荷
  • 省间联络线
  • 总出力
  • 非现货机组出力
  • 新能源
  • 水电
  • 抽蓄

For hour n in the 24-point table, average source rows ((n-1)*4+1) to (n*4).

Example:

  • 24点第1小时 ← 96点第1~4行平均
  • 24点第2小时 ← 96点第5~8行平均
  • 24点第24小时 ← 96点第93~96行平均

Formula Pattern

When the source sheet is named source96, use this pattern in the 24-point formula sheet:

=SUM(OFFSET(source96!$B$2,(ROW()-2)*4,0,4,1))/4

Change the column letter only. Do not change the matching logic.

Critical Checks

  • Keep same-column mapping. 水电 must reference the 96-point 水电 column, not another metric.
  • Do not call a column "correct" only because the formula shape looks valid; verify the referenced source column.
  • If a 24-point column seems missing, check whether its width was shrunk to near zero instead of being deleted.
  • Formula sheets may look blank in readers that do not recalc Excel caches. Check the numeric result sheet for actual values.

Quick Commands

Create a new workbook with source96, result24, and formula24:

python scripts/convert_96_to_24.py input.xlsx output.xlsx

Specify the source sheet explicitly when auto-detection is ambiguous:

python scripts/convert_96_to_24.py input.xlsx output.xlsx --source-sheet "日前96点边界条件数据"

Template Fix Guidance

If the user asks to repair an existing template:

  • Edit the existing file minimally.
  • Change only the wrong \x3Cf> formula nodes or the target column width.
  • Preserve the rest of the workbook.
  • Re-validate formulas after packing.

A common correct 水电 formula is:

=SUM(OFFSET(日前96点边界条件数据!$H$2,(ROW()-2)*4,0,4,1))/4

Output Expectation

Prefer delivering:

  1. A source 96-point sheet
  2. A computed 24-point value sheet
  3. A formula-based 24-point sheet for auditability

If the user instead wants an existing template updated in place, modify that template rather than creating a separate workbook.

Usage Guidance
This is an incomplete review: the scanner could not read the supplied workspace files, so installation decisions should wait for a successful artifact inspection.
Capability Assessment
Purpose & Capability
Unable to assess purpose and capability coherence because file inspection failed before metadata.json or artifact contents could be read.
Instruction Scope
Unable to assess runtime instructions because artifact files were inaccessible to the reviewer.
Install Mechanism
Unable to assess install behavior because install specs and manifests could not be inspected.
Credentials
Unable to assess requested environment access or proportionality without artifact contents.
Persistence & Privilege
Unable to assess persistence or privilege behavior without artifact contents.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install power-trading-96-to-24
  3. After installation, invoke the skill by name or use /power-trading-96-to-24
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初版:支持电力交易96点到24点平均转换,包含结果表、公式表、模板修复指引。
Metadata
Slug power-trading-96-to-24
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 电力交易96点转24点?

Convert 电力交易/电网边界条件 96点数据 into 24点小时数据 by averaging each consecutive 4 quarter-hour rows. Use when the user asks to do 96转24、96点转24点、15分钟转小时、日前96点边界条件汇总、检查96... It is an AI Agent Skill for Claude Code / OpenClaw, with 98 downloads so far.

How do I install 电力交易96点转24点?

Run "/install power-trading-96-to-24" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 电力交易96点转24点 free?

Yes, 电力交易96点转24点 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 电力交易96点转24点 support?

电力交易96点转24点 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 电力交易96点转24点?

It is built and maintained by MecyAlika (@mecyalika); the current version is v1.0.0.

💬 Comments