Class TriggerFlowEvent

  • All Implemented Interfaces:
    Comparable<IdAble>, Event, IdAble

    public class TriggerFlowEvent
    extends TriggerEvent
    A trigger flow event represents a flow rate that is being triggered exogenously, typically by a node on either side of the link segment. Hence, that the source of this event is a link segment boundary
    Author:
    markr
    • Field Detail

      • LTM_TRIGGER_FLOW_EVENT

        public static final EventType LTM_TRIGGER_FLOW_EVENT
        event type to identify ltm events representing a change in flow that is exogenously triggered
    • Constructor Detail

      • TriggerFlowEvent

        protected TriggerFlowEvent​(LinkSegmentBoundary linkSegmentBoundary,
                                   CumulativePoint cumulativePoint,
                                   double flowRatePcuPerHour)
        Constructor
        Parameters:
        linkSegmentBoundary - the link segment boundary this flow emanates from
        cumulativePoint - the cumulative reference point
        flowRatePcuPerHour - the flow rate
    • Method Detail

      • createTriggerFlowEvent

        public static TriggerFlowEvent createTriggerFlowEvent​(LinkSegmentBoundary linkBoundarySource,
                                                              CumulativePoint cumulativePoint,
                                                              double flowRatePcuPerHour)
        Create a new trigger flow event emanating from the passing in link boundary at a given cumulative point and flow rate
        Parameters:
        linkBoundarySource - link segment boundary
        cumulativePoint - cumulative point to use for trigger
        flowRatePcuPerHour - flow rate for the event
        Returns:
        created trigger flow event
      • getPcuFowRatePerHour

        public double getPcuFowRatePerHour()
        Returns:
        the pcuFowRatePerHour