Class LNGAgeingScenario.OperationalEvent
java.lang.Object
neqsim.process.equipment.lng.LNGAgeingScenario.OperationalEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
LNGAgeingScenario
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEvent type enumeration. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringEvent description.private doubleEvent duration (hours).Event type.private doubleRate parameter for loading/unloading (m3/hr).private static final longSerialization version UID.private doubleEvent start time (hours from simulation start). -
Constructor Summary
ConstructorsConstructorDescriptionOperationalEvent(LNGAgeingScenario.OperationalEvent.EventType eventType, double startTimeHours, double durationHours) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet description.doubleGet duration.Get event type.doubleGet rate (for loading/unloading).doubleGet start time.booleanisActiveAt(double timeHours) Check if this event is active at a given time.voidsetDescription(String description) Set description.voidsetRateM3PerHour(double rate) Set rate (for loading/unloading).
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
eventType
Event type. -
startTimeHours
private double startTimeHoursEvent start time (hours from simulation start). -
durationHours
private double durationHoursEvent duration (hours). -
description
Event description. -
rateM3PerHour
private double rateM3PerHourRate parameter for loading/unloading (m3/hr).
-
-
Constructor Details
-
OperationalEvent
public OperationalEvent(LNGAgeingScenario.OperationalEvent.EventType eventType, double startTimeHours, double durationHours) Constructor.- Parameters:
eventType- type of eventstartTimeHours- 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
-
setDescription
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
-