Class ReleaseFlowEvent

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

    public class ReleaseFlowEvent
    extends ReleaseEvent
    A release flow event represents a flow rate that is being released on a link boundary on the opposite border from where it was triggered through a trigger event.
    Author:
    markr
    • Field Detail

      • LTM_RELEASE_FLOW_EVENT

        public static final EventType LTM_RELEASE_FLOW_EVENT
        event type to identify ltm events representing a change in flow that is being released
    • Constructor Detail

      • ReleaseFlowEvent

        protected ReleaseFlowEvent​(TriggerFlowEvent sourceTriggerEvent,
                                   CumulativePoint cumulativePoint,
                                   double flowRatePcuPerHour)
        Constructor
        Parameters:
        sourceTriggerEvent - the source trigger this release event originated from (its source)
        cumulativePoint - the cumulative reference point
        flowRatePcuPerHour - the flow rate
    • Method Detail

      • createReleaseFlowEvent

        public static ReleaseFlowEvent createReleaseFlowEvent​(TriggerFlowEvent sourceTriggerEvent,
                                                              CumulativePoint cumulativePoint,
                                                              double flowRatePcuPerHour)
        Create a new release flow event being release on the opposite boundary of the source trigger
        Parameters:
        sourceTriggerEvent - the source trigger this release event originated from (its source)
        cumulativePoint - the cumulative reference point
        flowRatePcuPerHour - the flow rate
        Returns:
        created release flow event
      • getPcuFowRatePerHour

        public double getPcuFowRatePerHour()
        Returns:
        the pcuFowRatePerHour