system.kanoa.schedule.getScheduledEventDurations
Description
Used in Reliability analysis to compare the amount of time modes were scheduled for compared to how long they were actually in that mode.Syntax
getScheduledEventDurations(assetPath, rangeStart, rangeEnd)- assetPath (string) - Path of the asset.
- rangeStart (datetime) - Start of the range.
- rangeEnd (datetime) - End of the range.
- Schedule data (dataset).
Code Example
# Example Usage:
asset_path = 'Kanoa Industries\Adelaide Hills\Packaging\Line 1'
range_start = ...
range_end = ...
schedule_data = system.kanoa.schedule.getScheduledEventDurations(asset_path, range_start, range_end)