科研 Skill
surge输电系统潮流与调度
surge
Runs transmission power-system studies: AC/DC power flow, OPF/SCOPF, N-1/N-2 contingency, PTDF/LODF/OTDF, ATC, and unit commitment on benchmark or imported cases. Use for transmission analysis.
SKILL.md
Surge workflow
Start by loading a network with load_builtin_case, load_network, or create_empty_network. Solve the base case before any advanced study — contingency, sensitivity, and OPF results are meaningless on a non-convergent base.
Default tool ladder
load_builtin_case(name)(e.g.case118),load_network(file_path, format?), orcreate_empty_network(...).get_network_info()for counts, totals, areas, zones, voltage levels.get_topology(...)/get_islands()/find_path(...)for connectivity reasoning.run_ac_power_flow(...)for the base operating point.run_dc_power_flow(...)only when a linearized study is explicitly requested.- Sensitivities:
compute_ptdf,compute_lodf,compute_otdffor screening and transfer analysis. run_n1_branch_contingency/run_n1_generator_contingency/run_n2_branch_contingencyonce the base case solves.run_dc_opf→run_ac_opf→run_scopffor optimization. Pass explicitlp_solver/nlp_solveronly when the deployment requires it.run_sced(single-period) andrun_scuc(multi-period commitment). Callget_dispatch_request_schema()before constructing therequestdict.compute_nerc_atc/compute_ac_atcfor transfer capability. Build source/sink bus lists fromlist_busesoutput.export_tables(output_dir)to hand CSVs back to the user.
Network construction & editing
For synthetic cases, scenario edits (outage, dispatch change, load scaling), or mutations to a loaded case. Re-solve run_ac_power_flow after any material edit.
- Build:
create_empty_network,add_bus,add_generator,add_load,add_line,add_transformer,add_storage. - Edit:
set_branch_rating,set_branch_in_service(outages),set_generator_limits,set_generator_in_service. - Scale:
scale_loads(factor, area?),scale_generators(factor, area?). - Remove:
remove_bus,remove_branch,remove_generator,remove_load.
Working rules
- Do not read contingency or sensitivity results from a non-convergent base case.
- Sensitivity tools default to
format="summary". Use"sparse"or"full"only when CSR or dense output is actually needed. - Solver selection is a deployment question. Default to auto-detect (
"default"); pass"highs"/"ipopt"for open-source runs,"gurobi"for large MIPs. Seereferences/SOLVER_GUIDE.md. - Call
get_dispatch_request_schema()before building arun_sced/run_scucrequest dict. - Hand off RMS / transient-stability questions to ANDES, harmonic / unbalanced questions to OpenDSS.
Escalation triggers
Map observed violations to the mitigation skill that handles them. If multiple triggers fire, escalate voltage → thermal → contingency.
| Observation | Escalate to |
|---|---|
Any bus vm_pu < 0.95 or > 1.05 | voltage-violation-mitigation |
Any branch loading > 100% of rate_a_mva | thermal-overload-mitigation |
run_n1_* returns ≥ 1 binding contingency | contingency-mitigation |
get_islands() returns > 1 island after a contingency | contingency-mitigation |
| SCED / SCUC infeasible, reserve shortage, or LMP volatility | operations-planning-mitigation |
run_ac_power_flow fails to converge on the base case | convergence-failure-mitigation |
| The study is a new generator, storage, or large-load connection at a POI | interconnection-impact-mitigation |
Report the specific numbers that triggered the escalation (bus + vm_pu, branch + loading %, contingency label). Do not say "violations exist" without values.
Local assets
scripts/network_analysis.py— inspection and base PF review.scripts/sensitivity_analysis.py— PTDF, LODF drill-down.scripts/contingency_analysis.py— N-1 / N-2 summaries.scripts/contingency_ranking.py— N-1 → severity rank → CSV → mitigation-skill mapping.python contingency_ranking.py <case> <out_dir>.scripts/opf_analysis.py— DC / AC / SCOPF with solver-selection examples.scripts/dispatch_analysis.py— SCED / SCUC.scripts/transfer_capability.py— NERC ATC and AC ATC path setup.scripts/test_scripts.py— end-to-end smoke test on a built-in case.references/API_REFERENCE.md— 44-tool catalog.references/SOLVER_GUIDE.md— HiGHS / Gurobi / Ipopt selection.references/EXAMPLES.md— multi-tool workflows.references/DISPATCH_REQUEST_SCHEMA.json— JSON schema forrun_sced/run_scucrequest. Also served byget_dispatch_request_schema().
Report back
- Case loaded (name or path) and key counts from
get_network_info. - Base-case convergence. If not converged, stop and report the mismatch.
- Main result of the requested study (violations, LMPs, ATC MW, top sensitivity entries).
- Which mitigation skill is next, if any.
示例提示词
帮我用surge跑一下这个输电网络的N-1分析和经济调度。
所属插件
安装该插件会一并获得同领域的 63 个 Skill / MCP。
同插件的其他科研 Skill
- ANDES电力系统动态仿真Runs ANDES power-system dynamic studies via PowerMCP: power flow, eigenvalue analysis, and time-domain simulation. Use for damping, stability, or oscillation-mode questions.
- 电池选型与电源预算Builds an evidence-tagged power budget and sizes a manufacturable battery with pouch outline, seals, and derating. Use when sizing runtime, mAh, charging, or supply rails.
- FPGA比特流生成与烧录Generates a Xilinx FPGA bitstream and programs it over JTAG, or burns an MCS image into flash for power-on boot. Use when flashing a board or diagnosing boot failures.
- 硬件项目发布包组装Assembles a hardware release package (fab files, BOM/CPL, carts, assembly guide, hashed manifest) and runs a ready-to-build gate. Use before ordering prototypes.
- 时钟域交叉风险审查Audits clock-domain-crossing risk on an FPGA design and applies the smallest safe synchronizer or constraint fix. Use to resolve CDC violations before sign-off.
- 硬件产品认证合规规划Plans certifications a hardware product needs per target market (FCC, CE/RED, UKCA, battery/radio rules), with cost and lead-time estimates. Use before PCB or enclosure tooling.
- Vivado XDC时序约束编写Authors a Vivado XDC timing constraint set from scratch: clocks, I/O delays, and timing exceptions. Use first, before timing closure, on a design with no or incomplete constraints.
- N-1/N-2应急违规处置Playbook for N-1/N-2 contingency violations: ranks contingencies and proposes preventive and corrective actions. Use after a study shows voltage or thermal problems.
- 潮流计算不收敛诊断Playbook for power-flow convergence failures in PSS/E, PSLF, PowerWorld, pandapower, PyPSA, surge, or OpenDSS. Use when a case diverges or fails to solve.
- 硬件成本核算与采购Prices a hardware product at multiple volumes with one-time vs per-unit cost, landed cost per country, and sourcing leads. Use to estimate unit cost before a pitch.
- RTL仿真覆盖率收敛Measures RTL simulation code coverage and iteratively closes it toward a target by adding testbench stimulus. Use for a sign-off-grade coverage report.
- 配电网DER接纳能力治理Playbook for distribution DER hosting-capacity limits: voltage rise, reverse flow, and thermal limits from PV and storage. Use to estimate how much DER a feeder can host.
- 电子电路设计与审查Designs, audits, or corrects an electronic circuit from a brief, schematic, or netlist, checking power domains, reset sequencing, and ratings. Use for circuit review.
- 硬件可制造性红队审查Red-team audit that fix-loops a hardware project to ready-to-build, re-deriving parts, rails, battery physics, and cost. Use for a reality check before committing to a design.
- 电力系统动态稳定处置Playbook for dynamic stability problems: poor damping, angle instability, or sustained oscillations from eigenvalue or time-domain studies. Use after an unstable study result.
- Egret电力市场调度优化Runs Egret market/operations optimization (DC-OPF, AC-OPF, unit commitment) via PowerMCP. Use for cheapest dispatch, unit commitment, or congestion checks.
- 电子元器件选型核查Researches electronic components against primary sources: part numbers, datasheet limits, lifecycle, stock, and price breaks, one dossier per part. Use to verify or source a BOM.
- EMC电磁兼容预测试Plans grounding, shielding, and filtering for EMC/EMI, and runs an emissions pre-scan with a root-cause fix sequence. Use before a lab test or after a failed EMI scan.
- 产品外壳参数化建模Designs a hardware enclosure as parametric CAD with STEP/STL/GLB output, a DFM check, and Blender assembly validation. Use when designing a case or checking fit.
- 电网频率响应问题处置Playbook for frequency problems: low inertia, high RoCoF, weak primary response, or UFLS risk after loss of the largest unit. Use when a study flags frequency issues.
- FPGA RTL到比特流全流程Drives a Xilinx FPGA design end to end through RTL, simulation, synthesis, implementation, and bitstream, gated at every stage. Use to run the complete build flow in one pass.
- 硬件产品全流程总协调Leads a physical electronic product from idea to a doable design, coordinating specs, parts, battery, PCB, enclosure, render, and cost sub-skills. Use starting a hardware product.
- 硬件原理图与BOM审查Reviews hardware projects: checks schematics against datasheets, pin connections, and firmware-to-hardware alignment across KiCad/Altium files. Use for a design alignment check.
- FPGA ILA在线逻辑调试Inserts an Integrated Logic Analyzer, programs the board, arms a trigger, and reads captured waveforms on real FPGA hardware. Use when sim passes but the board fails.
常见问题
surge输电系统潮流与调度能做什么?
Runs transmission power-system studies: AC/DC power flow, OPF/SCOPF, N-1/N-2 contingency, PTDF/LODF/OTDF, ATC, and unit commitment on benchmark or imported cases. Use for transmission analysis。
如何安装surge输电系统潮流与调度?
在科搭 Codar 左侧点击「插件」,在「组件」页签搜索「surge输电系统潮流与调度」并安装;在 Claude Code 或 Codex 中可以发送本页的安装提示词,或下载 Skill 包后解压到 ~/.claude/skills 或 ~/.codex/skills。
surge输电系统潮流与调度需要哪些权限?
该科研 Skill没有声明额外权限;执行具体操作时仍由 Agent 按自身规则请求确认。
surge输电系统潮流与调度经过官方审核吗?
是。SpeedSkills 收录的每个版本都会记录内容摘要与权限声明,当前版本已通过安全审核。