Class ProcessSystemState.EquipmentState

java.lang.Object
neqsim.process.processmodel.lifecycle.ProcessSystemState.EquipmentState
All Implemented Interfaces:
Serializable
Enclosing class:
ProcessSystemState

public static class ProcessSystemState.EquipmentState extends Object implements Serializable
Represents the state of a single piece of equipment.
Version:
1.0
Author:
ESOL
See Also:
  • Field Details

  • Constructor Details

    • EquipmentState

      public EquipmentState()
      Default constructor.
  • Method Details

    • fromEquipment

      public static ProcessSystemState.EquipmentState fromEquipment(ProcessEquipmentInterface equipment)
      Creates an EquipmentState from an equipment instance.
      Parameters:
      equipment - the equipment to capture
      Returns:
      a new EquipmentState
    • captureEquipmentProperties

      private static void captureEquipmentProperties(ProcessEquipmentInterface equipment, ProcessSystemState.EquipmentState state)
      Captures equipment-specific numeric and string properties.
      Parameters:
      equipment - the equipment to capture properties from
      state - the state to populate
    • getName

      public String getName()
    • getType

      public String getType()
    • getEquipmentType

      public String getEquipmentType()
      Gets the equipment type. Alias for getType().
      Returns:
      the equipment type string
    • getNumericProperties

      public Map<String,Double> getNumericProperties()
    • getStringProperties

      public Map<String,String> getStringProperties()
    • getParameters

      public Map<String,String> getParameters()
      Gets all parameters as a combined map. Numeric properties are converted to String values and merged with string properties.
      Returns:
      combined map of all equipment parameters
    • getFluidState

      public ProcessSystemState.FluidState getFluidState()