Class PLEMMechanicalDesign

java.lang.Object
neqsim.process.mechanicaldesign.MechanicalDesign
neqsim.process.mechanicaldesign.subsea.PLEMMechanicalDesign
All Implemented Interfaces:
Serializable

public class PLEMMechanicalDesign extends MechanicalDesign
Mechanical design class for PLEM (Pipeline End Manifold) equipment.

Calculates structural design for PLEM structures per applicable standards.

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

    • serialVersionUID

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

      private PLEM plem
      Reference to PLEM equipment.
    • designStandardCode

      private String designStandardCode
      Design standard code.
    • structureMaterialGrade

      private String structureMaterialGrade
      Material grade for structure.
    • headerWallThickness

      private double headerWallThickness
      Header wall thickness in mm.
    • requiredFoundationWeight

      private double requiredFoundationWeight
      Required foundation weight in tonnes.
    • requiredMudmatArea

      private double requiredMudmatArea
      Required mudmat area in m².
    • costEstimator

      private transient SubseaCostEstimator costEstimator
      Cost estimator.
    • totalCostUSD

      private double totalCostUSD
      Total estimated cost in USD.
    • equipmentCostUSD

      private double equipmentCostUSD
      Equipment cost in USD.
    • installationCostUSD

      private double installationCostUSD
      Installation cost in USD.
    • vesselDays

      private double vesselDays
      Vessel days required.
    • totalManhours

      private double totalManhours
      Total manhours.
  • Constructor Details

    • PLEMMechanicalDesign

      public PLEMMechanicalDesign(ProcessEquipmentInterface equipment)
      Constructor.
      Parameters:
      equipment - PLEM equipment instance
  • Method Details

    • readDesignSpecifications

      public void readDesignSpecifications()

      readDesignSpecifications.

      Overrides:
      readDesignSpecifications in class MechanicalDesign
    • calcDesign

      public void calcDesign()

      calcDesign.

      Overrides:
      calcDesign in class MechanicalDesign
    • calculateHeaderWallThickness

      private void calculateHeaderWallThickness()
      Calculate header wall thickness.
    • calculateFoundationRequirements

      private void calculateFoundationRequirements()
      Calculate foundation requirements.
    • estimateEnvironmentalLoad

      private double estimateEnvironmentalLoad()
      Estimate environmental load.
      Returns:
      load in kN
    • calculateWeight

      private void calculateWeight()
      Calculate weight.
    • calculateCostEstimate

      public void calculateCostEstimate()
      Calculate cost estimate for the PLEM.
      Overrides:
      calculateCostEstimate in class MechanicalDesign
    • getCostBreakdown

      public Map<String,Object> getCostBreakdown()
      Get cost breakdown.
      Returns:
      map of cost categories
    • generateBillOfMaterials

      public List<Map<String,Object>> generateBillOfMaterials()
      Generate bill of materials.
      Overrides:
      generateBillOfMaterials in class MechanicalDesign
      Returns:
      list of BOM items
    • getTotalCostUSD

      public double getTotalCostUSD()
      Get total cost USD.
      Returns:
      total cost
    • getEquipmentCostUSD

      public double getEquipmentCostUSD()
      Get equipment cost USD.
      Returns:
      equipment cost
    • getInstallationCostUSD

      public double getInstallationCostUSD()
      Get installation cost USD.
      Returns:
      installation cost
    • getVesselDays

      public double getVesselDays()
      Get vessel days.
      Returns:
      vessel days
    • getTotalManhours

      public double getTotalManhours()
      Get total manhours.
      Returns:
      total manhours
    • setRegion

      public void setRegion(SubseaCostEstimator.Region region)
      Set region for cost estimation.
      Parameters:
      region - cost region
    • toJson

      public String toJson()
      Export mechanical design data to JSON format.

      This method creates a MechanicalDesignResponse object and serializes it to JSON using Gson. The JSON includes equipment identification, weight breakdown, design conditions, dimensions, and materials information.

      Usage example:

      
      MechanicalDesign mecDesign = separator.getMechanicalDesign();
      mecDesign.calcDesign();
      String json = mecDesign.toJson();
      
      
      Overrides:
      toJson in class MechanicalDesign
      Returns:
      JSON string representation of the mechanical design
    • toMap

      public Map<String,Object> toMap()
      Get design results as Map.
      Returns:
      design results map
    • getDesignStandardCode

      public String getDesignStandardCode()
      Get design standard code.
      Returns:
      design standard code
    • setDesignStandardCode

      public void setDesignStandardCode(String designStandardCode)
      Set design standard code.
      Parameters:
      designStandardCode - design standard code
    • getHeaderWallThickness

      public double getHeaderWallThickness()
      Get header wall thickness.
      Returns:
      header wall thickness in mm