> 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/hypersim/library-blocks-reference/control-smart-inverters/gfl-signal-conditioning-three-phase.md).

# GFL Signal Conditioning Three Phase

## Description

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-9eeca2aff02be53178a15c1a6db823567b7a0fdf%2FCSI_GFLSigCon_description.png?alt=media" alt="" width="216"><figcaption></figcaption></figure>

The **GFL Signal Conditioning Three Phase** block, located in the **Control Smart Inverters library**, generates measured and conditioned values for use by Smart Inverter Control Toolbox blocks. For grid support functions, the voltage reference can be computed as the average of three-phase RMS values or as the positive sequence. The block provides configurable first-order low-pass filters for power and DC link voltage measurements. A phase-locked loop (PLL) estimates the AC grid frequency and instantaneous voltage angle and uses the PLL reference angle to transform voltages and currents from the ABC frame to a synchronous rectangular reference frame.

{% hint style="danger" %}
The GFL Signal Conditioning Three Phase block currently supports only three-phase balanced voltages and currents.
{% endhint %}

{% hint style="danger" %}
This block requires a valid license on both the simulator and the workstation with the feature SMART INVERTER enabled.
{% endhint %}

## Mask parameters

{% tabs %}
{% tab title="Parameters" %}

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

<table><thead><tr><th width="190">Parameter</th><th>Description</th><th width="140">Variable &#x26; Constraints</th></tr></thead><tbody><tr><td><strong>Nominal Operating Voltage (Vrms LL)</strong></td><td>Nominal inverter line-to-line RMS operating voltage (V)</td><td>SigCon_Vnom unconstrained</td></tr><tr><td><strong>Nominal DC-Link Voltage</strong></td><td>Nominal DC link voltage (V)</td><td>SigCon_Vdc unconstrained</td></tr><tr><td><strong>Nominal Frequency</strong></td><td>System frequency (Hz)</td><td>SigCon_Fnom unconstrained</td></tr><tr><td><strong>Rated Apparent Power</strong></td><td>Inverter nominal three-phase apparent power (VA)</td><td>SigCon_Srated unconstrained</td></tr><tr><td><strong>Rated Active Power</strong></td><td>Inverter nominal three-phase active power (W)</td><td>SigCon_Prated unconstrained</td></tr><tr><td><strong>Grid Support Functions Voltage Reference</strong></td><td>Voltage reference type: average of three-phase RMS or positive sequence (unitless selection)</td><td>SigCon_Vref_mode unconstrained</td></tr><tr><td><strong>Initial values [Freq, V, P, Q, Vdc]</strong></td><td>Initialization values for frequency (Hz), voltage (pu), active power (pu), reactive power (pu), and DC link voltage (pu)</td><td>[SigCon_init_Freq, SigCon_init_Vpu, SigCon_init_Ppu, SigCon_init_Qpu, SigCon_init_Vdc] unconstrained</td></tr></tbody></table>
{% endtab %}

{% tab title="Filters" %}

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-2837c949a6ec0c2f276048e49afbef3f7abc7eac%2FCSI_SigCon_FilterTab.png?alt=media" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="190">Parameter</th><th>Description</th><th width="140">Variable &#x26; Constraints</th></tr></thead><tbody><tr><td><strong>Power Measurement Filter Time Constant</strong></td><td>Time constant of the first-order low-pass filter applied to power measurement (s)</td><td>Tfilt_Pow unconstrained</td></tr><tr><td><strong>DC Link Voltage Measurement Filter Time Constant</strong></td><td>Time constant of the first-order low-pass filter applied to DC link voltage measurement (s)</td><td>Tfilt_Vdc unconstrained</td></tr></tbody></table>
{% endtab %}

{% tab title="PLL" %}

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-9743c7d31823811b7f667cb8a45591f42e2b2c86%2FCSI_SigCon_PLLTab.png?alt=media" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="190">Parameter</th><th>Description</th><th width="140">Variable &#x26; Constraints</th></tr></thead><tbody><tr><td><strong>Regulator gains [Kp,Ki, Kd]</strong></td><td>Proportional, integral, and derivative gains of the internal PLL PID controller; tune to adjust response time, overshoot, and steady-state error (unitless)</td><td>[PLL_Kp, PLL_Ki, PLL_Kd] unconstrained</td></tr><tr><td><strong>Time constant for derivative action</strong></td><td>Time constant of the first-order filter in the PID derivative path (s)</td><td>PLL_Tc unconstrained</td></tr><tr><td><strong>Maximum rate of change of frequency</strong></td><td>Maximum positive and negative slope of the signal frequency (Hz/s)</td><td>PLL_ROCOF_MAX unconstrained</td></tr><tr><td><strong>Filter cut-off frequency for frequency measurement</strong></td><td>Cut-off frequency of the second-order low-pass filter used for frequency measurement (Hz)</td><td>PLL_Tcf unconstrained</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

## Inputs

| Input     | Description                                 |
| --------- | ------------------------------------------- |
| **Vgrid** | Instantaneous three-phase grid voltages (V) |
| **Igrid** | Instantaneous three-phase grid currents (A) |
| **Vdc**   | DC link voltage (V)                         |

## Outputs

| Output         | Description                                                                                                              |
| -------------- | ------------------------------------------------------------------------------------------------------------------------ |
| **P**          | Positive-sequence active power computed from positive-sequence voltage and current, followed by a low-pass filter (pu)   |
| **Q**          | Positive-sequence reactive power computed from positive-sequence voltage and current, followed by a low-pass filter (pu) |
| **PF**         | Power factor computed from active and reactive power (unitless)                                                          |
| **Vgrid (pu)** | Per-unit three-phase instantaneous grid voltages (pu)                                                                    |
| **Vrms**       | Per-unit RMS value of the three-phase grid voltages (pu)                                                                 |
| **Igrid (pu)** | Per-unit three-phase instantaneous grid currents (pu)                                                                    |
| **Vdc (pu)**   | Per-unit DC link voltage (pu)                                                                                            |
| **Vrms avg**   | Average of the per-unit RMS values of the three-phase grid voltages (pu)                                                 |
| **Freq**       | Grid voltage frequency estimated by the PLL (Hz)                                                                         |
| **wt**         | Instantaneous angle synchronized to the positive-sequence phase-A fundamental, varying from 0 to 2π (rad)                |

## Signals available for monitoring and external I/O connections (via sensors form)

All block inputs and outputs are available as signals for monitoring and for external I/O connections.

## Intellectual Property and Acknowledgements

{% hint style="danger" %}

## **Intellectual Property Disclaimer**

Natural Resources Canada owns all intellectual property rights in the Smart Inverter Modelling Toolbox software and related products.
{% endhint %}

{% hint style="info" %}

## Acknowledgements <a href="#acknowledgements" id="acknowledgements"></a>

The development of the <code class="expression">page.vars.block\_name</code> block in the Smart Inverter Control Library is a contribution of CanmetENERGY at Natural Resource Canada.
{% endhint %}


---

# 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/hypersim/library-blocks-reference/control-smart-inverters/gfl-signal-conditioning-three-phase.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.
