Overview
This is the foundational framework for wind power business work. Currently accumulated Cp 计算 module: after the user provides a power curve, the script must be called first to calculate and deliver the results, rather than calculating manually or only explaining the formula.
Working Principles
- First confirm which type of content the user currently wants to supplement, then update only the corresponding module.
- Do not proactively expand unconfirmed business rules, financial assumptions, policy judgments, or technical conclusions.
- Cp calculation must first confirm air density
rhoand rotor diameterD; if the user has not provided them, ask first, do not apply default values. - Before Cp calculation, only perform loose parameter suspicion checks: if air density is clearly outside
0.5-1.5 kg/m^3, or rotor diameter is clearly outside30-350 m, ask the user for confirmation first, do not calculate directly. - Cp calculation must undergo physical plausibility checks; if
Cp,max > 0.593, the result file must not be delivered, and you must first return to the user to confirm parameters. - When the model name appears to contain the rotor diameter, for example
G5000-200, if theDgiven by the user clearly conflicts with the caliber in the model name, prompt the user to verify, do not mechanically use the number given by the user; after user confirmation, calculation may continue. - When involving policy, electricity price, market trading, installed capacity, bidding results, etc., verify and write in only when the user explicitly requests research or supplementation.
- New content should be as structured as possible: applicable scenarios, input materials, processing steps, output format, precautions.
- Preserve the boundaries between facts, assumptions, empirical judgments, and items to be confirmed.
Content Map
Read and maintain referenced files as needed; do not create empty files in advance for modules with no actual content.
- Calculate Cp values, wind energy utilization coefficients, power coefficients, and maximum Cp values based on the power curve: read references/cp-calculation.md。
Scripts
- Cp Excel output: by default use scripts/fill_cp_workbook.py, write the user-provided power curve into assets/cp-calculation-template.xlsx and export only one editable xlsx output.
- Cp non-Excel output: only when the user explicitly needs non-Excel, use scripts/compute_cp.py to simultaneously output three files: Markdown, CSV, and JSON.
Update Pattern
When the user requests supplementing a certain module, process in this order:
- Confirm the module to be accumulated and the usage scenario.
- Determine whether it should be written into
SKILL.md, an existing reference, or a new reference. - If it is a general scheduling rule, update
SKILL.md。 - If it is business knowledge, a template, a checklist, or a methodology, update the corresponding reference.
- If stable repeated calculation or conversion is needed in the future, then add
scripts/。
Quality Gate
After each update, check:
- Was only the module specified by the user this time or clearly related modified?
- Was adding business details not confirmed by the user avoided?
- Can subsequent expansion continue item by item, rather than hard-coding the content?
- Are clear file entry points and reference paths preserved?
- Has the Cp calculation confirmed
rho、D, wind speed unit and power unit? - For Cp calculation, should the user first be asked to confirm obviously abnormal
rho、Dor conflicting model name specifications? - Does the Cp calculation pass the
Cp,max <= 0.593validation? - If validation fails, should delivery be stopped and the user asked to verify the parameters?