Class HazardousAreaClassification

java.lang.Object
neqsim.process.electricaldesign.components.HazardousAreaClassification
All Implemented Interfaces:
Serializable

public class HazardousAreaClassification extends Object implements Serializable
Model for hazardous area classification of process equipment locations.

Supports IEC 60079 / ATEX zone classification (Zone 0, 1, 2 for gas, Zone 20, 21, 22 for dust) and API RP 500/505 classification. Determines required Ex protection type for electrical equipment in classified areas.

Version:
1.0
Author:
Even Solbraa
See Also:
  • Field Details

    • serialVersionUID

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

      private String zone
    • gasGroup

      private String gasGroup
    • temperatureClass

      private String temperatureClass
    • classificationStandard

      private String classificationStandard
    • requiredExProtection

      private String requiredExProtection
    • equipmentProtectionLevel

      private String equipmentProtectionLevel
    • dustGroup

      private String dustGroup
  • Constructor Details

    • HazardousAreaClassification

      public HazardousAreaClassification()
  • Method Details

    • classify

      public void classify(String equipmentType, boolean containsHydrocarbons, double maxSurfaceTempC)
      Determine the hazardous area classification for a given equipment type.

      Sets the zone, gas group, temperature class and required Ex protection level based on the equipment type and process fluid properties.

      Parameters:
      equipmentType - type of process equipment (Compressor, Pump, Separator, etc.)
      containsHydrocarbons - whether process fluid contains hydrocarbons
      maxSurfaceTempC - maximum surface temperature in degrees C
    • getExMarking

      public String getExMarking()
      Get the full Ex marking string.
      Returns:
      Ex marking (e.g. "Ex d IIB T3 Gb")
    • toJson

      public String toJson()
      Serialize to JSON.
      Returns:
      JSON string
    • toMap

      public Map<String,Object> toMap()
      Convert to a map.
      Returns:
      map of classification parameters
    • getZone

      public String getZone()
      Get the zone classification.
      Returns:
      zone (Zone 0, Zone 1, Zone 2, or Safe area)
    • setZone

      public void setZone(String zone)
      Set the zone classification.
      Parameters:
      zone - zone classification
    • getGasGroup

      public String getGasGroup()
      Get the gas group.
      Returns:
      gas group (IIA, IIB, IIC)
    • setGasGroup

      public void setGasGroup(String gasGroup)
      Set the gas group.
      Parameters:
      gasGroup - gas group
    • getTemperatureClass

      public String getTemperatureClass()
      Get the temperature class.
      Returns:
      temperature class (T1-T6)
    • setTemperatureClass

      public void setTemperatureClass(String temperatureClass)
      Set the temperature class.
      Parameters:
      temperatureClass - temperature class
    • getClassificationStandard

      public String getClassificationStandard()
      Get the classification standard.
      Returns:
      classification standard (IECEx, ATEX, NEC)
    • setClassificationStandard

      public void setClassificationStandard(String classificationStandard)
      Set the classification standard.
      Parameters:
      classificationStandard - classification standard
    • getRequiredExProtection

      public String getRequiredExProtection()
      Get the required Ex protection type.
      Returns:
      Ex protection type
    • setRequiredExProtection

      public void setRequiredExProtection(String requiredExProtection)
      Set the required Ex protection type.
      Parameters:
      requiredExProtection - Ex protection type
    • getEquipmentProtectionLevel

      public String getEquipmentProtectionLevel()
      Get the equipment protection level.
      Returns:
      equipment protection level (Ga, Gb, Gc)
    • setEquipmentProtectionLevel

      public void setEquipmentProtectionLevel(String equipmentProtectionLevel)
      Set the equipment protection level.
      Parameters:
      equipmentProtectionLevel - equipment protection level