Skip to main content

system.kanoa.event.getDowntimeDataForReliability

This function requires KanoaOPS module

Description

Returns downtime data for the reliability report filtered by the given parameters.

Syntax

getDowntimeDataForReliability(assetId, startDate, endDate, durationSecs)
  • Parameters
      assetId - Asset ID.
      startDate - Start date.
      endDate - End date.
      durationSecs - Filter downtime events for events greater than this value.
  • Returns
    data (pyDataset).
  • Code Example

    # Example Usage:
    assetId = 123
    startDate = timestamp_start
    endDate = timestamp_end
    durationSecs = 60
    data = system.kanoa.event.getDowntimeDataForReliability(assetId, startDate, endDate, durationSecs)