dc-power-flow

Automate DC power flow analysis with susceptance matrices and power balance equations.

98|12|Updated May 15, 2026
One-click install
npx skills add https://github.com/agentscope-ai/PawBench --skill dc-power-flow-agentscope-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dc-power-flow
Source: https://github.com/agentscope-ai/PawBench/tree/main/data/pawbench-v1.0/assets/T129_skillsbench_energy-market-pricing/skills/dc-power-flow
Command: npx skills add https://github.com/agentscope-ai/PawBench --skill dc-power-flow-agentscope-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the process of conducting DC power flow analysis in power systems, reducing manual calculations and improving efficiency.

Core Features & Use Cases

  • DC Power Flow Analysis: Perform power flow calculations using DC approximation for economic dispatch and contingency analysis.
  • Susceptance Matrix Calculation: Build susceptance matrices for power systems using provided bus and branch data.
  • Power Balance Equation: Apply the power balance equation at each bus for accurate power flow computations.
  • Line Flow Calculation: Calculate line flows and loading percentages based on power flow and line ratings.
  • Use Case: Ideal for power engineers and researchers working on transmission network simulations where DC approximation is necessary.

Quick Start

Use the dc-power-flow skill to calculate the DC power flow for a given power system using the provided data.

Frequently Asked Questions about dc-power-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate DC power flow for economic dispatch and contingency analysis?

DC power flow analysis uses DC approximation to calculate power balance and line flows for economic dispatch and contingency analysis. This Skill automates building susceptance matrices and applying power balance equations to compute loading percentages.

How do I build a susceptance matrix for power system transmission networks?

Building a susceptance matrix requires bus and branch data from your power system. This Skill constructs susceptance matrices by processing the provided network topology and applying the power balance equation at each bus for accurate flow computations.

How do I calculate line flow and loading percentages from power balance equations?

Line flow and loading percentages are calculated by applying the power balance equation at each bus and comparing computed flows against line ratings. This Skill derives loading percentages based on calculated power flow and provided line rating data.

Do I need Python programming knowledge to perform DC power flow analysis?

Python programming knowledge is required to perform DC power flow analysis with this Skill. Designed for power engineers and researchers, it also requires understanding power system fundamentals to properly handle bus and branch data inputs.

What is the difference between DC power flow approximation and full AC power flow analysis?

DC power flow approximation simplifies calculations by focusing on susceptance and active power balance, ignoring reactive power and voltage magnitude variations. It is faster for transmission network simulations where DC approximation is necessary, unlike full AC analysis.

When should I use DC approximation instead of AC analysis for power flow calculations?

DC approximation is suitable for transmission network simulations requiring economic dispatch and contingency analysis. It streamlines manual calculations by using susceptance matrices, making it efficient when voltage magnitude and reactive power variations are negligible.