Class ManifoldMechanicalDesign

java.lang.Object
neqsim.process.mechanicaldesign.MechanicalDesign
neqsim.process.mechanicaldesign.manifold.ManifoldMechanicalDesign
All Implemented Interfaces:
Serializable

public class ManifoldMechanicalDesign extends MechanicalDesign
Mechanical design class for manifolds.

This class bridges the Manifold equipment with mechanical design calculations for:

  • Topside manifolds on offshore platforms
  • Onshore manifolds in process facilities
  • Subsea manifolds on seabed

Design includes wall thickness, velocity limits, branch reinforcement, support design, and vibration analysis per applicable codes.

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

    • serialVersionUID

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

      Calculator for mechanical design.
    • dataSource

      Data source for design parameters.
    • designStandardCode

      private String designStandardCode
      Design standard code.
    • location

      Manifold location.
    • manifoldType

      Manifold type.
    • materialGrade

      private String materialGrade
      Material grade.
    • numberOfInlets

      private int numberOfInlets
      Number of inlets.
    • numberOfOutlets

      private int numberOfOutlets
      Number of outlets.
    • headerDiameter

      private double headerDiameter
      Header outer diameter in meters.
    • branchDiameter

      private double branchDiameter
      Branch outer diameter in meters.
    • waterDepth

      private double waterDepth
      Water depth for subsea in meters.
  • Constructor Details

    • ManifoldMechanicalDesign

      public ManifoldMechanicalDesign(ProcessEquipmentInterface equipment)
      Constructor for ManifoldMechanicalDesign.
      Parameters:
      equipment - the manifold equipment
  • Method Details

    • readDesignSpecifications

      public void readDesignSpecifications()

      readDesignSpecifications.

      Overrides:
      readDesignSpecifications in class MechanicalDesign
    • calcDesign

      public void calcDesign()

      calcDesign.

      Overrides:
      calcDesign in class MechanicalDesign
    • 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
    • getCalculator

      public ManifoldMechanicalDesignCalculator getCalculator()
      Get the calculator.
      Returns:
      the calculator
    • getDesignStandardCode

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

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

      Get the manifold location.
      Returns:
      the location
    • setLocation

      public void setLocation(ManifoldMechanicalDesignCalculator.ManifoldLocation location)
      Set the manifold location.
      Parameters:
      location - the location
    • getManifoldType

      Get the manifold type.
      Returns:
      the manifold type
    • setManifoldType

      public void setManifoldType(ManifoldMechanicalDesignCalculator.ManifoldType manifoldType)
      Set the manifold type.
      Parameters:
      manifoldType - the manifold type
    • getMaterialGrade

      public String getMaterialGrade()
      Get the material grade.
      Returns:
      the material grade
    • setMaterialGrade

      public void setMaterialGrade(String materialGrade)
      Set the material grade.
      Parameters:
      materialGrade - the material grade
    • getNumberOfInlets

      public int getNumberOfInlets()
      Get number of inlets.
      Returns:
      number of inlets
    • setNumberOfInlets

      public void setNumberOfInlets(int numberOfInlets)
      Set number of inlets.
      Parameters:
      numberOfInlets - number of inlets
    • getNumberOfOutlets

      public int getNumberOfOutlets()
      Get number of outlets.
      Returns:
      number of outlets
    • setNumberOfOutlets

      public void setNumberOfOutlets(int numberOfOutlets)
      Set number of outlets.
      Parameters:
      numberOfOutlets - number of outlets
    • getHeaderDiameter

      public double getHeaderDiameter()
      Get header diameter.
      Returns:
      header diameter in meters
    • setHeaderDiameter

      public void setHeaderDiameter(double headerDiameter)
      Set header diameter.
      Parameters:
      headerDiameter - header diameter in meters
    • getBranchDiameter

      public double getBranchDiameter()
      Get branch diameter.
      Returns:
      branch diameter in meters
    • setBranchDiameter

      public void setBranchDiameter(double branchDiameter)
      Set branch diameter.
      Parameters:
      branchDiameter - branch diameter in meters
    • getWaterDepth

      public double getWaterDepth()
      Get water depth.
      Returns:
      water depth in meters
    • setWaterDepth

      public void setWaterDepth(double waterDepth)
      Set water depth.
      Parameters:
      waterDepth - water depth in meters