Skip to main content

system.kanoa.event.getProductionEventsForReliability

Description

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

Syntax

getProductionEventsForReliability(assetId, startDate, endDate, modeId=None)

Parameters:
  • assetId: Asset ID.
  • startDate: Start date.
  • endDate: End date.
  • modeId: Mode ID (e.g., 1 for 'production') or None for all modes.

  • Returns:
  • data (pyDataset)
  • Code Examples

    # Example Usage:
    assetId = 123
    startDate = timestamp_start
    endDate = timestamp_end
    modeId = 1
    data = system.kanoa.event.getProductionEventsForReliability(assetId, startDate, endDate, modeId)