Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PowerFactory Python APINew to Visual Studio Code? Get it now.
PowerFactory Python API

PowerFactory Python API

pelaokano

|
9 installs
| (0) | Free
Hover docs, completions and API search for DIgSILENT PowerFactory 2023/2024/2025 Python scripting
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PowerFactory Python API

Autocomplete, hover documentation and API search for DIgSILENT PowerFactory 2023 Python scripting inside VS Code.

Covers 1598 methods across 216 classes extracted from the official PowerFactory Python Reference Manual.

Features

Hover Documentation

Hover over any PowerFactory method to see its full documentation inline.

hover

Autocompletion

Type app. to get a list of all Application methods with descriptions and return types.

Works with any PowerFactory class: ElmLne, ComLdf, DataObject, etc.

API Search

Open the Command Palette (Ctrl+Shift+P) and run PowerFactory: Search API to search across all 1598 methods by name or description.

Usage

import powerfactory

app = powerfactory.GetApplication()   # hover works here
ldf = app.GetFromStudyCase('ComLdf')  # type . to get completions
ldf.Execute()

The extension tracks variable assignments and infers PowerFactory types automatically.

Classes covered

Application, DataObject, ElmLne, ElmTr2, ElmGenstat, ElmLod, ElmBus, ComLdf, ComShc, ComSim, ComInc, ComRel3, IntPrj, IntCase, IntScenario, and 200+ more.

Requirements

  • VS Code 1.85+
  • Python extension (for language detection)

Source

All documentation is extracted exclusively from the PowerFactory 2023 Python Function Reference by DIgSILENT GmbH.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft