Nhãn hiệu của chúng tôi

Impact-Company-Logo-English Black-01-177x54

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.
		
Hôm nay chúng tôi có thể giúp gì cho bạn?
Power Monitoring Expert HC EPSS report - when using the Generator Config Tool, the Run History does not populate when refreshed

Issue
The run report history does not populate when refreshed in the EPSS tool.

Product Line
Power Monitoring Expert 8.2
Power Monitoring Expert 9.x
Power Monitoring Expert 2020
Power Monitoring Expert 2021
Power Monitoring Expert 2022
Power Monitoring Expert 2023

Environment
EPSS Report Generator Performance Configuration Tool

Cause
This can happen if Generator groups have the EPS_Available option selected. When the EPS_Available and the EPS_RUN measurement have the exact same timestamp in the database, the 'Refresh run history' button cannot populate the rung history as it can't gather information on that group.

Resolution
To fix this issue find the duplicate timestamps, and change the EPS_Available quantity to be slightly different. For example make the EPS_Available timestamp 1 second after the EPS_RUN measurement. The SQL query below will reveal the duplicate timestamps. Keep in mind that running this query on a large database could take a while to finish. This query will give a list of sources in the database with duplicate timestamps. From that list, one of the duplicate timestamps must be changed as described above.

USE ION_Data
SELECT * FROM
(

SELECT COUNT (*) AS duplicate, sourceID, TimestampUTC FROM datalog2

WHERE QuantityID IN (10950,11148)

GROUP BY SourceID, TimestampUTC

) AS Q

WHERE duplicate > 1


Once there are no longer duplicates, the run history will populate as expected.

To get rid of duplicates run the below script for each timestamp:

BEGIN TRANSACTION;

BEGIN TRY
USE ION_Data
DECLARE @Temp as DATETIME2 = '24-06-24 19:32:00.0000000' -- replace with timestamp from the script above
UPDATE Dbo.datalog2
SET @Temp = TimestampUTC = DATEADD(s,1,@Temp) -- increments EPS available by 1 second
where SourceID = 4 and QuantityID = 10832 and TimestampUTC = @Temp -- replace quantityID with the EPS available quantityID and the Source ID with the sourceID from the above script's output
END TRY

BEGIN CATCH
SELECT
ERROR_NUMBER() AS ErrorNumber,
ERROR_SEVERITY() AS ErrorSeverity,
ERROR_STATE() AS ErrorState,
ERROR_PROCEDURE() AS ErrorProcedure,
ERROR_LINE() AS ErrorLine,
ERROR_MESSAGE() AS ErrorMessage;
IF @@TRANCOUNT >0
ROLLBACK TRANSACTION;
END CATCH;

IF @@TRANCOUNT > 0
COMMIT TRANSACTION;
GO

Schneider Electric Việt Nam

Tìm hiểu thêm
Phạm vi:
Tìm hiểu thêm
Phạm vi:

Bạn cần trợ giúp?

  • Công cụ chọn sản phẩm

    Nhanh chóng và dễ dàng tìm được sản phẩm và phụ kiện phù hợp cho các ứng dụng của bạn.

  • Nhận báo giá

    Bắt đầu gửi yêu cầu bán hàng trực tuyến và chuyên gia sẽ liên hệ với bạn.

  • Nơi mua hàng?

    Dễ dàng tìm nhà phân phối Schneider Electric gần bạn nhất.

  • Trung tâm Hỗ trợ

    Tìm sự hỗ trợ cho mọi nhu cầu của bạn tại một nơi.

  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings