> 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/renewables/single-phase-240-vrms-3500-w-transformerless-grid-connected-pv-array.md).

# Single Phase, 240 Vrms, 3500 W Transformerless Grid Connected PV Array

This example shows the operation of a typical transformerless photovoltaic (PV) residential system connected to the electrical utility grid.

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

## Description

### PV Array

The SPS PV array model implements a PV array built of series- and parallel-connected PV modules. It allows modeling a variety of preset PV modules available from NREL System Advisor Model (Jan. 2014) as well as a user-defined PV module. The PV array block has two inputs that allow you to supply varying sun irradiance (input Ir in W/m^2) and temperature (input T in degrees C) data.

In our example, the PV array consists of one string of 14 Trina Solar TSM-250 modules connected in series. At 25 degrees C and with a solar irradiance of 1000 W/m2, the string can produce 3500 W.

Two small capacitors, connected on the + and - terminals of the PV array, are used to model the parasitic capacitance between the PV modules and the ground.

### One-phase DC/AC Converter

The inverter is modeled using a PWM-controlled single-phase full-bridge IGBT module ( H-bridge). The topology of the grid-side filter is the classical LCL configuration with the inductors split equally between the line and the neutral branches.

### Inverter Control

The control system contains five major Simulink®-based subsystems:

* MPPT Controller: The Maximum Power Point Tracking (MPPT) controller is based on the 'Perturb and Observe' technique. This MPPT system automatically varies the VDC reference signal of the inverter VDC regulator in order to obtain a DC voltage which will extract maximum power from the PV string.
* VDC Regulator: Determine the required Id (active current) reference for the current regulator.
* Current Regulator: Based on the current references Id and Iq (reactive current), the regulator determines the required reference voltages for the inverter. In our example, the Iq reference is set to zero.
* PLL & Measurements: Required for synchronization and voltage/current measurements.
* PWM Generator: Use the PWM bipolar modulation method to generate firing signals to the IGBTs. In our example, the PWM carrier frequency is set to 3780 Hz (63\*60).

### Load & Utility Grid

The grid is modeled using a typical pole-mounted transformer and an ideal AC source of 14.4 kVrms. The transformer 240V secondary winding is center-tapped and the central neutral wire is grounded via a small resistance Rg. The residential load (10 kW / 4 kvar @ 240 Vrms) is equally distributed between the two "hot" (120 V) terminals.

## Simulation

Run the simulation and observe the resulting signals on the various scopes.

The initial input irradiance to the PV array model is 250 W/m2 and the operating temperature is 25 degrees C. When steady-state is reached (around t=0.25 sec.), we get a PV voltage (Vdc\_mean) of 424.5 V and the power extracted (Pdc\_mean) from the array is 856 W. At t=0.4 sec, sun irradiance is rapidly ramped up from 250 W/m^2 to 750 W/m^2. Due to the MPPT operation, the control system increases the VDC reference to 434.2 V in order to extract maximum power from the PV string (2624 W). These values correspond well to the expected values. To confirm that, use the Plot button of the PV Array menu to plot the I-V and P-V characteristics of the PV string based on the manufacturer specifications.

If you look at the leakage current (Ig scope), you will notice that there are no current flowing through the stray capacitance of the PV modules. This is due to PWM method used and the filter topology. Now, if you select the PWM unipolar modulation method (using the Inverter control menu) and repeat the simulation, you will see a significant leakage current in the system.

## Command

Example model name: power\_PVarray\_3500W

{% code lineNumbers="true" %}

```matlab
open('power_PVarray_3500W')
```

{% 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/renewables/single-phase-240-vrms-3500-w-transformerless-grid-connected-pv-array.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.
