system.kanoa.event.getProductionEventsForReliability
Description
Returns production data for the reliability report filtered by the given parameters.Syntax
getProductionEventsForReliability(assetId, startDate, endDate, modeId=None)- assetId - Asset ID.
- startDate - Start date.
- endDate - End date.
- modeId - Mode ID (e.g., 1 for 'production') or None for all modes.
data (pyDataset).
Code Example
# Example Usage:
assetId = 123
startDate = timestamp_start
endDate = timestamp_end
modeId = 1
data = system.kanoa.event.getProductionEventsForReliability(assetId, startDate, endDate, modeId)