fix forecsat accuracy
This commit is contained in:
@@ -38,7 +38,8 @@ BEGIN
|
||||
CASE
|
||||
WHEN v.exclude_actual_for_learning THEN NULL
|
||||
WHEN slot.avg_actual_w IS NOT NULL
|
||||
AND slot.avg_actual_w > 0
|
||||
AND slot.avg_actual_w >= 50
|
||||
AND fpi.power_w >= 50
|
||||
THEN ROUND(
|
||||
(fpi.power_w::NUMERIC - slot.avg_actual_w::NUMERIC)
|
||||
/ slot.avg_actual_w::NUMERIC * 100,
|
||||
|
||||
Reference in New Issue
Block a user