> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/smart-power-simulation-software-sps/example-models/simulation-and-analysis/initializing-a-29-bus-7-power-plant-network-with-the-load-flow-tool-of-powergui.md).

# Initializing a 29 Bus, 7 Power Plant Network with the Load Flow Tool of Powergui

This example shows the use of the Load Flow tool of Powergui to initialize a 29-bus 735 kV network with detailed modeling of power plants using hydraulic turbines, speed regulation, excitation systems and power system stabilizers.

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-b7b7af7b8c9d2d7c41d7d989c1057966dfda3f16%2Fpower_LFnetwork_29bus.png?alt=media" alt=""><figcaption></figcaption></figure>

## Description

The model shows a 735-kV transmission network with detailed modeling of seven 13.8 kV power plants (total available generation =26200 MVA) including hydraulic turbines, speed regulation, excitation systems and power system stabilizers. The 735-kV transmission network is both series and shunt compensated using fixed capacitors and inductors. The load is lumped at two buses (MTL7 and QUE7).

The MTL Load subsystem connected to the MTL7 bus consists of four types of load blocks connected on the 25 kV distribution system through 735 kV /230 kV and 230 kV/ 25 kV transformers.

The QUE Load and Wind Generation subsystem uses a 6000 MW load (constant Z and constant PQ) connected on the 120 kV bus. A 9 MW wind farm using an asynchronous generator is connected to the 120 kV bus through a 25-kV feeder and a 25 kV/120 KV transformer.

The model is discretized using a 50 usec. sample time. A six-cycle three-phase fault is programmed at MTL7 bus. Look at waveforms in the scopes (inside the Display Waveforms green subsystem) and notice that simulation starts in steady state.

## Simulation

In the Powergui menu, select 'Load Flow'. A new window appears. A summary of the load flow settings is displayed in a table. Press the 'Compute' button to solve the load flow. The table now displays the actual active and reactive powers of the load flow blocks of the model.

Press the 'Apply' button to apply the load flow solution to the model in order to start the simulation in steady-state. Note that the Load flow Bus block displays the bus voltage magnitude and phase angle as block annotations.

Press the 'Report' button to get a report that shows a load flow summary and detailed load flow results at each bus.

Finally, start simulation and check that it starts in steady state.

## Command

Example model name: power\_LFnetwork\_29bus

{% code lineNumbers="true" %}

```matlab
open('power_LFnetwork_29bus')
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/smart-power-simulation-software-sps/example-models/simulation-and-analysis/initializing-a-29-bus-7-power-plant-network-with-the-load-flow-tool-of-powergui.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
