Unity AI Insights: AC Power Flatline Flag Calculation

Last Modified on 2025-05-29 20:48:47 +0200

In this article:

Overview

This calculation detects flatlines on in PV sites and is a required input for the Reduced AC Capacity Smart Event. The calculation runs once overnight on all inverters of a given site, and requires “day of” historical data.

Calculation logic

  • Given a data frame or series of calculate  for every interval.

  • Look at a rolling window of  intervals and calculate the max for each window.

    • If the value is less than , mark as flatline.

    • If flatlined, all intervals within the window are marked as flatlined (i.e. propagated backwards). 

  • Calculation does not run for intervals where sun height is below 

Inputs

Signals

Segment ApcodeMloc Apcode

CalcType

CalcPeriod

MTypeNotes
InverterActivePowerFinalSiteTRPower
Site

SunHeightAngle

CalculatedSiteTR
Angle


Configuration Parameters

Parameter

Value

Notes

DEFAULT_WINDOW

4

min number of intervals that must be flatlined to be marked as flatlined

DEFAULT_DIFF_THRESHOLD

1

max interval-by-interval difference in within the window to be marked as flatlined

MIN_SUN_HEIGHT

10

only mark flatlines above min sun height



Outputs

Signals

SegmentApcode

Mloc Apcode

CalcType

CalcPeriodMTypeUnitNotes

Inverter

ActivePowerFlatlineFlag

Calculated

siteTR

Flag-


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article