Class SubseaTreeMechanicalDesign

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

public class SubseaTreeMechanicalDesign extends MechanicalDesign
Mechanical design class for Subsea Tree (Christmas Tree) equipment.

Calculates valve design, pressure containment, and structural requirements per:

  • API Spec 17D - Design and Operation of Subsea Production Systems
  • API RP 17A - Design and Operation of Subsea Production Systems
  • ISO 13628-4 - Subsea Wellhead and Tree Equipment
Version:
1.0
Author:
ESOL
See Also:
  • Field Details

    • serialVersionUID

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

      private SubseaTree tree
      Reference to tree equipment.
    • designStandardCode

      private String designStandardCode
      Design standard code.
    • boreWallThickness

      private double boreWallThickness
      Bore wall thickness in mm.
    • blockWallThickness

      private double blockWallThickness
      Tree block wall thickness in mm.
    • testPressure

      private double testPressure
      Required test pressure in bar.
    • connectorCapacity

      private double connectorCapacity
      Connector capacity in kN.
    • totalValveCv

      private double totalValveCv
      Valve Cv total.
    • actuatorForce

      private double actuatorForce
      Actuator force required in kN.
    • 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

    • SubseaTreeMechanicalDesign

      public SubseaTreeMechanicalDesign(ProcessEquipmentInterface equipment)
      Constructor.
      Parameters:
      equipment - tree equipment instance
  • Method Details

    • readDesignSpecifications

      public void readDesignSpecifications()

      readDesignSpecifications.

      Overrides:
      readDesignSpecifications in class MechanicalDesign
    • calcDesign

      public void calcDesign()

      calcDesign.

      Overrides:
      calcDesign in class MechanicalDesign
    • calculatePressureContainment

      private void calculatePressureContainment()
      Calculate pressure containment requirements.
    • calculateConnectorCapacity

      private void calculateConnectorCapacity()
      Calculate connector capacity.
    • calculateValveSizing

      private void calculateValveSizing()
      Calculate valve sizing.
    • calculateActuatorSizing

      private void calculateActuatorSizing()
      Calculate actuator sizing.
    • calculateWeight

      private void calculateWeight()
      Calculate weight.
    • calculateCostEstimate

      public void calculateCostEstimate()
      Calculate cost estimate for the subsea tree.
      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
    • getBoreWallThickness

      public double getBoreWallThickness()
      Get bore wall thickness.
      Returns:
      wall thickness in mm
    • getTestPressure

      public double getTestPressure()
      Get test pressure.
      Returns:
      test pressure in bar
    • getConnectorCapacity

      public double getConnectorCapacity()
      Get connector capacity.
      Returns:
      capacity in kN