Class LNGAgeingScenario.OperationalEvent

java.lang.Object
neqsim.process.equipment.lng.LNGAgeingScenario.OperationalEvent
All Implemented Interfaces:
Serializable
Enclosing class:
LNGAgeingScenario

public static class LNGAgeingScenario.OperationalEvent extends Object implements Serializable
Represents an operational event during an LNG voyage or storage period.

Events change the tank operating mode at a specified time. Supported event types include loading/unloading (which add/remove cargo), cooldown (spray-cooling to reduce temperature), and mode changes (e.g., switch between laden voyage and ballast).

Version:
1.0
Author:
NeqSim
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version UID.
      See Also:
    • eventType

      Event type.
    • startTimeHours

      private double startTimeHours
      Event start time (hours from simulation start).
    • durationHours

      private double durationHours
      Event duration (hours).
    • description

      private String description
      Event description.
    • rateM3PerHour

      private double rateM3PerHour
      Rate parameter for loading/unloading (m3/hr).
  • Constructor Details

    • OperationalEvent

      public OperationalEvent(LNGAgeingScenario.OperationalEvent.EventType eventType, double startTimeHours, double durationHours)
      Constructor.
      Parameters:
      eventType - type of event
      startTimeHours - start time (hours)
      durationHours - duration (hours)
  • Method Details

    • getEventType

      Get event type.
      Returns:
      event type
    • getStartTimeHours

      public double getStartTimeHours()
      Get start time.
      Returns:
      start time (hours)
    • getDurationHours

      public double getDurationHours()
      Get duration.
      Returns:
      duration (hours)
    • getDescription

      public String getDescription()
      Get description.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      Set description.
      Parameters:
      description - event description
    • getRateM3PerHour

      public double getRateM3PerHour()
      Get rate (for loading/unloading).
      Returns:
      volume rate (m3/hr)
    • setRateM3PerHour

      public void setRateM3PerHour(double rate)
      Set rate (for loading/unloading).
      Parameters:
      rate - volume rate (m3/hr)
    • isActiveAt

      public boolean isActiveAt(double timeHours)
      Check if this event is active at a given time.
      Parameters:
      timeHours - current time (hours)
      Returns:
      true if event is active