[1] Theoretical DC Power
$P_{DC\t} = P{DC\cap} * ({G{POA} \above{1pt} G_{POA\STC}}) * (1 - TC{BOM}(T_{BOM} - T_{BOM\STC}) ) * Eff{DC}$
[2] Theoretical AC Power
$P_{AC\t} = P{DC\t} * Eff{INVT} * Eff_{AC} * (1 - Y_{COD} * YD)$
[3] Apply system limits
$P_{AC\t} = MAX(P{AC\t}, P{AC\_cap})$
$P_{AC\t} = MAX(P{AC\t}, P{PPA})$
Where:
$P_{DC\_t}$ = Theoretical kilowatts of DC power possible from system at current conditions
$P_{AC\_t}$ = Theoretical kilowatts of AC power exported from system at current conditions
$P_{DC\_cap}$ = Total DC kW Capacity of PV modules in system
$P_{AC\_cap}$ = Total AC kW Capacity of PV inverters in system
$P_{PPA}$ = AC Power kW export limit defined by utility Interconnection agreement