Skip to main content

system.kanoa.event.getProductionEventsForReliability(assetId, startDate, endDate, modeId)

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


Parameters​

assetId Integer: Id of asset
startDate DateTime: Start date
endDate DateTime: End date
modeId Integer: None for all modes


Returns​

productionData pyDataset


Example​

assetId = 901
startDate = system.date.parse("2025-11-01 00:00:00")
endDate = system.date.parse("2025-11-05 00:00:00")
modeId = None
data = system.kanoa.event.getProductionEventsForReliability(assetId, startDate, endDate, modeId)