Class MechanicalDesign

java.lang.Object
neqsim.process.mechanicaldesign.MechanicalDesign
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdsorberMechanicalDesign, CompressorMechanicalDesign, EjectorMechanicalDesign, ExpanderMechanicalDesign, HeatExchangerMechanicalDesign, PipelineMechanicalDesign, PumpMechanicalDesign, SeparatorMechanicalDesign, TankMechanicalDesign, ValveMechanicalDesign

public class MechanicalDesign extends Object implements Serializable

MechanicalDesign class.

Version:
$Id: $Id
Author:
esol
See Also:
  • Field Details

    • serialVersionUID

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

      private boolean hasSetCompanySpecificDesignStandards
    • maxOperationPressure

      private double maxOperationPressure
    • minOperationPressure

      private double minOperationPressure
    • maxOperationTemperature

      private double maxOperationTemperature
    • minOperationTemperature

      private double minOperationTemperature
    • maxDesignVolumeFlow

      public double maxDesignVolumeFlow
    • minDesignVolumeFLow

      public double minDesignVolumeFLow
    • maxDesignGassVolumeFlow

      public double maxDesignGassVolumeFlow
    • minDesignGassVolumeFLow

      public double minDesignGassVolumeFLow
    • maxDesignOilVolumeFlow

      public double maxDesignOilVolumeFlow
    • minDesignOilFLow

      public double minDesignOilFLow
    • maxDesignWaterVolumeFlow

      public double maxDesignWaterVolumeFlow
    • minDesignWaterVolumeFLow

      public double minDesignWaterVolumeFLow
    • maxDesignPower

      public double maxDesignPower
    • minDesignPower

      public double minDesignPower
    • maxDesignDuty

      public double maxDesignDuty
    • minDesignDuty

      public double minDesignDuty
    • companySpecificDesignStandards

      private String companySpecificDesignStandards
    • processEquipment

      private ProcessEquipmentInterface processEquipment
    • tensileStrength

      private double tensileStrength
    • jointEfficiency

      private double jointEfficiency
    • materialPlateDesignStandard

      private MaterialPlateDesignStandard materialPlateDesignStandard
    • materialPipeDesignStandard

      private MaterialPipeDesignStandard materialPipeDesignStandard
    • construtionMaterial

      private String construtionMaterial
    • corrosionAllowance

      private double corrosionAllowance
    • pressureMarginFactor

      private double pressureMarginFactor
    • designLimitData

      private DesignLimitData designLimitData
    • lastMarginResult

      private MechanicalDesignMarginResult lastMarginResult
    • designDataSources

      private List<MechanicalDesignDataSource> designDataSources
    • innerDiameter

      public double innerDiameter
    • outerDiameter

      public double outerDiameter
    • wallThickness

      public double wallThickness
      Wall thickness in mm.
    • tantanLength

      public double tantanLength
    • weightTotal

      private double weightTotal
    • volumeTotal

      private double volumeTotal
    • weigthInternals

      public double weigthInternals
    • weightNozzle

      public double weightNozzle
    • weightPiping

      public double weightPiping
    • weightElectroInstrument

      public double weightElectroInstrument
    • weightStructualSteel

      public double weightStructualSteel
    • weightVessel

      public double weightVessel
    • weigthVesselShell

      public double weigthVesselShell
    • moduleHeight

      public double moduleHeight
    • moduleWidth

      public double moduleWidth
    • moduleLength

      public double moduleLength
    • designStandard

      public Hashtable<String, DesignStandard> designStandard
    • costEstimate

      public UnitCostEstimateBaseClass costEstimate
    • defaultLiquidDensity

      double defaultLiquidDensity
    • defaultLiquidViscosity

      double defaultLiquidViscosity
  • Constructor Details

  • Method Details

    • getMaterialPipeDesignStandard

      public MaterialPipeDesignStandard getMaterialPipeDesignStandard()

      Getter for the field materialPipeDesignStandard.

      Returns:
      the materialPipeDesignStandard
    • setMaterialPipeDesignStandard

      public void setMaterialPipeDesignStandard(MaterialPipeDesignStandard materialPipeDesignStandard)

      Setter for the field materialPipeDesignStandard.

      Parameters:
      materialPipeDesignStandard - the materialPipeDesignStandard to set
    • getMaterialDesignStandard

      public MaterialPlateDesignStandard getMaterialDesignStandard()

      getMaterialDesignStandard.

      Returns:
      the materialDesignStandard
    • setMaterialDesignStandard

      public void setMaterialDesignStandard(MaterialPlateDesignStandard materialDesignStandard)

      setMaterialDesignStandard.

      Parameters:
      materialDesignStandard - the materialDesignStandard to set
    • setMaxDesignPower

      public void setMaxDesignPower(double maxDesignPower)
    • setMinDesignPower

      public void setMinDesignPower(double minDesignPower)
    • setMaxDesignDuty

      public void setMaxDesignDuty(double maxDesignDuty)
    • setMinDesignDuty

      public void setMinDesignDuty(double minDesignDuty)
    • initMechanicalDesign

      public void initMechanicalDesign()
      Initialize design data using configured data sources.
    • loadDesignLimits

      private void loadDesignLimits()
    • getActiveDesignDataSources

      private List<MechanicalDesignDataSource> getActiveDesignDataSources()
    • resolveEquipmentType

      private String resolveEquipmentType()
    • setDesignDataSource

      public void setDesignDataSource(MechanicalDesignDataSource dataSource)
      Configure a single data source to load design limits from.
      Parameters:
      dataSource - data source to use, null clears existing sources.
    • setDesignDataSources

      public void setDesignDataSources(List<MechanicalDesignDataSource> dataSources)
      Configure the list of data sources to use when loading design limits.
      Parameters:
      dataSources - ordered list of data sources.
    • addDesignDataSource

      public void addDesignDataSource(MechanicalDesignDataSource dataSource)
      Add an additional data source used when loading design limits.
      Parameters:
      dataSource - the data source to add
    • getDesignDataSources

      public List<MechanicalDesignDataSource> getDesignDataSources()
      Get the immutable list of configured data sources.
      Returns:
      list of data sources.
    • getDesignLimitData

      public DesignLimitData getDesignLimitData()
    • getDesignMaxPressureLimit

      public double getDesignMaxPressureLimit()
    • getDesignMinPressureLimit

      public double getDesignMinPressureLimit()
    • getDesignMaxTemperatureLimit

      public double getDesignMaxTemperatureLimit()
    • getDesignMinTemperatureLimit

      public double getDesignMinTemperatureLimit()
    • getDesignCorrosionAllowance

      public double getDesignCorrosionAllowance()
    • getDesignJointEfficiency

      public double getDesignJointEfficiency()
    • validateOperatingEnvelope

      public MechanicalDesignMarginResult validateOperatingEnvelope()
      Validate the current operating envelope against design limits.
      Returns:
      computed margin result.
    • validateOperatingEnvelope

      public MechanicalDesignMarginResult validateOperatingEnvelope(double operatingMaxPressure, double operatingMinPressure, double operatingMaxTemperature, double operatingMinTemperature, double operatingCorrosionAllowance, double operatingJointEfficiency)
      Validate a specific operating envelope against design limits.
      Parameters:
      operatingMaxPressure - maximum operating pressure.
      operatingMinPressure - minimum operating pressure.
      operatingMaxTemperature - maximum operating temperature.
      operatingMinTemperature - minimum operating temperature.
      operatingCorrosionAllowance - corrosion allowance used in operation.
      operatingJointEfficiency - joint efficiency achieved in operation.
      Returns:
      computed margin result.
    • getLastMarginResult

      public MechanicalDesignMarginResult getLastMarginResult()
    • marginToUpperLimit

      private double marginToUpperLimit(double limit, double value)
    • marginFromLowerLimit

      private double marginFromLowerLimit(double value, double limit)
    • getMaxOperationPressure

      public double getMaxOperationPressure()

      Getter for the field maxOperationPressure.

      Returns:
      the maxPressure
    • getMaxDesignPressure

      public double getMaxDesignPressure()

      getMaxDesignPressure.

      Returns:
      a double
    • getMinDesignPressure

      public double getMinDesignPressure()

      getMinDesignPressure.

      Returns:
      a double
    • readDesignSpecifications

      public void readDesignSpecifications()

      readDesignSpecifications.

    • setMaxOperationPressure

      public void setMaxOperationPressure(double maxPressure)

      Setter for the field maxOperationPressure.

      Parameters:
      maxPressure - the maxPressure to set
    • getMinOperationPressure

      public double getMinOperationPressure()

      Getter for the field minOperationPressure.

      Returns:
      the minPressure
    • setMinOperationPressure

      public void setMinOperationPressure(double minPressure)

      Setter for the field minOperationPressure.

      Parameters:
      minPressure - the minPressure to set
    • getMaxOperationTemperature

      public double getMaxOperationTemperature()

      Getter for the field maxOperationTemperature.

      Returns:
      the maxTemperature
    • setMaxOperationTemperature

      public void setMaxOperationTemperature(double maxTemperature)

      Setter for the field maxOperationTemperature.

      Parameters:
      maxTemperature - the maxTemperature to set
    • getMinOperationTemperature

      public double getMinOperationTemperature()

      Getter for the field minOperationTemperature.

      Returns:
      the minTemperature
    • setMinOperationTemperature

      public void setMinOperationTemperature(double minTemperature)

      Setter for the field minOperationTemperature.

      Parameters:
      minTemperature - the minTemperature to set
    • getProcessEquipment

      public ProcessEquipmentInterface getProcessEquipment()

      Getter for the field processEquipment.

      Returns:
      the processEquipment
    • setProcessEquipment

      public void setProcessEquipment(ProcessEquipmentInterface processEquipment)

      Setter for the field processEquipment.

      Parameters:
      processEquipment - the processEquipment to set
    • calcDesign

      public void calcDesign()

      calcDesign.

    • setDesign

      public void setDesign()

      setDesign.

    • getTensileStrength

      public double getTensileStrength()

      Getter for the field tensileStrength.

      Returns:
      the tensileStrength
    • setTensileStrength

      public void setTensileStrength(double tensileStrength)

      Setter for the field tensileStrength.

      Parameters:
      tensileStrength - the tensileStrength to set
    • getConstrutionMaterial

      public String getConstrutionMaterial()

      Getter for the field construtionMaterial.

      Returns:
      the construtionMaterial
    • setConstrutionMaterial

      public void setConstrutionMaterial(String construtionMaterial)

      Setter for the field construtionMaterial.

      Parameters:
      construtionMaterial - the construtionMaterial to set
    • getJointEfficiency

      public double getJointEfficiency()

      Getter for the field jointEfficiency.

      Returns:
      the jointEfficiency
    • getMaxAllowableStress

      public double getMaxAllowableStress()

      getMaxAllowableStress.

      Returns:
      a double
    • setJointEfficiency

      public void setJointEfficiency(double jointEfficiency)

      Setter for the field jointEfficiency.

      Parameters:
      jointEfficiency - the jointEfficiency to set
    • getCorrosionAllowance

      public double getCorrosionAllowance()

      Getter for the field corrosionAllowance.

      Returns:
      the corrosionAllowance
    • setCorrosionAllowance

      public void setCorrosionAllowance(double corrosionAllowance)

      Setter for the field corrosionAllowance.

      Parameters:
      corrosionAllowance - the corrosionAllowance to set
    • getPressureMarginFactor

      public double getPressureMarginFactor()

      Getter for the field pressureMarginFactor.

      Returns:
      the pressureMarginFactor
    • setPressureMarginFactor

      public void setPressureMarginFactor(double pressureMarginFactor)

      Setter for the field pressureMarginFactor.

      Parameters:
      pressureMarginFactor - the pressureMarginFactor to set
    • getOuterDiameter

      public double getOuterDiameter()

      Getter for the field outerDiameter.

      Returns:
      a double
    • getCompanySpecificDesignStandards

      public String getCompanySpecificDesignStandards()

      Getter for the field companySpecificDesignStandards.

      Returns:
      the companySpecificDesignStandards
    • setCompanySpecificDesignStandards

      public void setCompanySpecificDesignStandards(String companySpecificDesignStandards)

      Setter for the field companySpecificDesignStandards.

      Parameters:
      companySpecificDesignStandards - the companySpecificDesignStandards to set
    • setDesignStandard

      public void setDesignStandard(StandardType standardType)
      Set a design standard using an international standard type.

      This method allows setting design standards based on international standards like NORSOK, ASME, API, DNV, ISO, ASTM, etc. The standard is placed in the appropriate category based on its type.

      Example usage:

      equipment.getMechanicalDesign().setDesignStandard(StandardType.ASME_VIII_DIV1);
      equipment.getMechanicalDesign().setDesignStandard(StandardType.NORSOK_P_001);
      
      Parameters:
      standardType - the international standard type to use
      Throws:
      IllegalArgumentException - if standardType is null
    • setDesignStandard

      public void setDesignStandard(StandardType standardType, String version)
      Set a design standard using an international standard type with a specific version.
      Parameters:
      standardType - the international standard type to use
      version - the specific version of the standard (e.g., "2021", "Rev 6")
      Throws:
      IllegalArgumentException - if standardType is null
    • setDesignStandards

      public void setDesignStandards(List<StandardType> standardTypes)
      Set multiple design standards using international standard types.

      Each standard is placed in its appropriate category. If multiple standards have the same category, the last one in the list takes precedence.

      Parameters:
      standardTypes - the list of standard types to apply
    • getApplicableStandards

      public List<StandardType> getApplicableStandards()
      Get a list of applicable international standards for this equipment type.
      Returns:
      list of applicable StandardType values
    • getRecommendedStandards

      public Map<String, List<StandardType>> getRecommendedStandards()
      Get recommended standards for this equipment type organized by category.
      Returns:
      map of category name to list of applicable standards
    • setDesignStandard

      public void setDesignStandard(String category, DesignStandard standard)
      Set a design standard for a specific category.

      This method allows direct assignment of a DesignStandard instance to a specific design category. It is used internally by the TorgManager and can be used for custom standard configurations.

      Parameters:
      category - the design category (e.g., "pressure vessel design code")
      standard - the DesignStandard instance to set
    • getInnerDiameter

      public double getInnerDiameter()

      Getter for the field innerDiameter.

      Returns:
      the innerDiameter
    • setInnerDiameter

      public void setInnerDiameter(double innerDiameter)

      Setter for the field innerDiameter.

      Parameters:
      innerDiameter - the innerDiameter to set
    • setOuterDiameter

      public void setOuterDiameter(double outerDiameter)

      Setter for the field outerDiameter.

      Parameters:
      outerDiameter - the outerDiameter to set
    • getWallThickness

      public double getWallThickness()

      Getter for the field wallThickness.

      Returns:
      the wallThickness
    • setWallThickness

      public void setWallThickness(double wallThickness)

      Setter for the field wallThickness.

      Parameters:
      wallThickness - the wallThickness to set
    • getTantanLength

      public double getTantanLength()

      Getter for the field tantanLength.

      Returns:
      the tantanLength
    • setTantanLength

      public void setTantanLength(double tantanLength)

      Setter for the field tantanLength.

      Parameters:
      tantanLength - the tantanLength to set
    • getWeightTotal

      public double getWeightTotal()

      Getter for the field weightTotal.

      Returns:
      the weightTotal
    • setWeightTotal

      public void setWeightTotal(double weightTotal)

      Setter for the field weightTotal.

      Parameters:
      weightTotal - the weightTotal to set
    • getWeigthInternals

      public double getWeigthInternals()

      Getter for the field weigthInternals.

      Returns:
      the wigthInternals
    • setWeigthInternals

      public void setWeigthInternals(double weigthInternals)

      Setter for the field weigthInternals.

      Parameters:
      weigthInternals - the weigthInternals to set
    • getWeightVessel

      public double getWeightVessel()

      Getter for the field weightVessel.

      Returns:
      the weightShell
    • setWeightVessel

      public void setWeightVessel(double weightVessel)

      Setter for the field weightVessel.

      Parameters:
      weightVessel - the weightShell to set
    • getWeightNozzle

      public double getWeightNozzle()

      Getter for the field weightNozzle.

      Returns:
      the weightNozzle
    • setWeightNozzle

      public void setWeightNozzle(double weightNozzle)

      Setter for the field weightNozzle.

      Parameters:
      weightNozzle - the weightNozzle to set
    • getWeightPiping

      public double getWeightPiping()

      Getter for the field weightPiping.

      Returns:
      the weightPiping
    • setWeightPiping

      public void setWeightPiping(double weightPiping)

      Setter for the field weightPiping.

      Parameters:
      weightPiping - the weightPiping to set
    • getWeightElectroInstrument

      public double getWeightElectroInstrument()

      Getter for the field weightElectroInstrument.

      Returns:
      the weightElectroInstrument
    • setWeightElectroInstrument

      public void setWeightElectroInstrument(double weightElectroInstrument)

      Setter for the field weightElectroInstrument.

      Parameters:
      weightElectroInstrument - the weightElectroInstrument to set
    • getWeightStructualSteel

      public double getWeightStructualSteel()

      Getter for the field weightStructualSteel.

      Returns:
      the weightStructualSteel
    • setWeightStructualSteel

      public void setWeightStructualSteel(double weightStructualSteel)

      Setter for the field weightStructualSteel.

      Parameters:
      weightStructualSteel - the weightStructualSteel to set
    • getWeigthVesselShell

      public double getWeigthVesselShell()

      Getter for the field weigthVesselShell.

      Returns:
      the weigthVesselShell
    • setWeigthVesselShell

      public void setWeigthVesselShell(double weigthVesselShell)

      Setter for the field weigthVesselShell.

      Parameters:
      weigthVesselShell - the weigthVesselShell to set
    • getModuleHeight

      public double getModuleHeight()

      Getter for the field moduleHeight.

      Returns:
      the moduleHeight
    • setModuleHeight

      public void setModuleHeight(double moduleHeight)

      Setter for the field moduleHeight.

      Parameters:
      moduleHeight - the moduleHeight to set
    • getModuleWidth

      public double getModuleWidth()

      Getter for the field moduleWidth.

      Returns:
      the moduleWidth
    • setModuleWidth

      public void setModuleWidth(double moduleWidth)

      Setter for the field moduleWidth.

      Parameters:
      moduleWidth - the moduleWidth to set
    • getModuleLength

      public double getModuleLength()

      Getter for the field moduleLength.

      Returns:
      the moduleLength
    • setModuleLength

      public void setModuleLength(double moduleLength)

      Setter for the field moduleLength.

      Parameters:
      moduleLength - the moduleLength to set
    • getDesignStandard

      public Hashtable<String, DesignStandard> getDesignStandard()

      Getter for the field designStandard.

      Returns:
      the designStandard
    • setDesignStandard

      public void setDesignStandard(Hashtable<String, DesignStandard> designStandard)

      Setter for the field designStandard.

      Parameters:
      designStandard - the designStandard to set
    • hasDesignStandard

      public boolean hasDesignStandard()
      Check if this mechanical design has any design standards assigned.
      Returns:
      true if at least one design standard is assigned
    • getMaxDesignVolumeFlow

      public double getMaxDesignVolumeFlow()

      Getter for the field maxDesignVolumeFlow.

      Returns:
      the maxDesignVolumeFlow
    • setMaxDesignVolumeFlow

      public void setMaxDesignVolumeFlow(double maxDesignVolumeFlow)

      Setter for the field maxDesignVolumeFlow.

      Parameters:
      maxDesignVolumeFlow - the maxDesignVolumeFlow to set
    • getMinDesignVolumeFLow

      public double getMinDesignVolumeFLow()

      Getter for the field minDesignVolumeFLow.

      Returns:
      the minDesignVolumeFLow
    • setMinDesignVolumeFLow

      public void setMinDesignVolumeFLow(double minDesignVolumeFLow)

      Setter for the field minDesignVolumeFLow.

      Parameters:
      minDesignVolumeFLow - the minDesignVolumeFLow to set
    • getMaxDesignGassVolumeFlow

      public double getMaxDesignGassVolumeFlow()

      Getter for the field maxDesignGassVolumeFlow.

      Returns:
      the maxDesignGassVolumeFlow
    • setMaxDesignGassVolumeFlow

      public void setMaxDesignGassVolumeFlow(double maxDesignGassVolumeFlow)

      Setter for the field maxDesignGassVolumeFlow.

      Parameters:
      maxDesignGassVolumeFlow - the maxDesignGassVolumeFlow to set
    • getMinDesignGassVolumeFLow

      public double getMinDesignGassVolumeFLow()

      Getter for the field minDesignGassVolumeFLow.

      Returns:
      the minDesignGassVolumeFLow
    • setMinDesignGassVolumeFLow

      public void setMinDesignGassVolumeFLow(double minDesignGassVolumeFLow)

      Setter for the field minDesignGassVolumeFLow.

      Parameters:
      minDesignGassVolumeFLow - the minDesignGassVolumeFLow to set
    • getMaxDesignOilVolumeFlow

      public double getMaxDesignOilVolumeFlow()

      Getter for the field maxDesignOilVolumeFlow.

      Returns:
      the maxDesignOilVolumeFlow
    • setMaxDesignOilVolumeFlow

      public void setMaxDesignOilVolumeFlow(double maxDesignOilVolumeFlow)

      Setter for the field maxDesignOilVolumeFlow.

      Parameters:
      maxDesignOilVolumeFlow - the maxDesignOilVolumeFlow to set
    • getMinDesignOilFLow

      public double getMinDesignOilFLow()

      Getter for the field minDesignOilFLow.

      Returns:
      the minDesignOilFLow
    • setMinDesignOilFLow

      public void setMinDesignOilFLow(double minDesignOilFLow)

      Setter for the field minDesignOilFLow.

      Parameters:
      minDesignOilFLow - the minDesignOilFLow to set
    • getMaxDesignWaterVolumeFlow

      public double getMaxDesignWaterVolumeFlow()

      Getter for the field maxDesignWaterVolumeFlow.

      Returns:
      the maxDesignWaterVolumeFlow
    • setMaxDesignWaterVolumeFlow

      public void setMaxDesignWaterVolumeFlow(double maxDesignWaterVolumeFlow)

      Setter for the field maxDesignWaterVolumeFlow.

      Parameters:
      maxDesignWaterVolumeFlow - the maxDesignWaterVolumeFlow to set
    • getMinDesignWaterVolumeFLow

      public double getMinDesignWaterVolumeFLow()

      Getter for the field minDesignWaterVolumeFLow.

      Returns:
      the minDesignWaterVolumeFLow
    • setMinDesignWaterVolumeFLow

      public void setMinDesignWaterVolumeFLow(double minDesignWaterVolumeFLow)

      Setter for the field minDesignWaterVolumeFLow.

      Parameters:
      minDesignWaterVolumeFLow - the minDesignWaterVolumeFLow to set
    • displayResults

      public void displayResults()

      displayResults.

    • getVolumeTotal

      public double getVolumeTotal()

      Getter for the field volumeTotal.

      Returns:
      the volumeTotal
    • isHasSetCompanySpecificDesignStandards

      public boolean isHasSetCompanySpecificDesignStandards()

      isHasSetCompanySpecificDesignStandards.

      Returns:
      the hasSetCompanySpecificDesignStandards
    • setHasSetCompanySpecificDesignStandards

      public void setHasSetCompanySpecificDesignStandards(boolean hasSetCompanySpecificDesignStandards)

      Setter for the field hasSetCompanySpecificDesignStandards.

      Parameters:
      hasSetCompanySpecificDesignStandards - the hasSetCompanySpecificDesignStandards to set
    • getCostEstimate

      public UnitCostEstimateBaseClass getCostEstimate()

      Getter for the field costEstimate.

      Returns:
      the costEstimate
    • setDefaultLiquidDensity

      public void setDefaultLiquidDensity(double defaultLiqDens)

      Setter for the field defaultLiquidDensity.

      Parameters:
      defaultLiqDens - a double
    • getDefaultLiquidDensity

      public double getDefaultLiquidDensity()

      Getter for the field defaultLiquidDensity.

      Returns:
      a double
    • setDefaultLiquidViscosity

      public void setDefaultLiquidViscosity(double defaultLiqVisc)

      Setter for the field defaultLiquidViscosity.

      Parameters:
      defaultLiqVisc - a double
    • getDefaultLiquidViscosity

      public double getDefaultLiquidViscosity()

      Getter for the field defaultLiquidViscosity.

      Returns:
      a double
    • 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();
      
      
      Returns:
      JSON string representation of the mechanical design
    • toCompactJson

      public String toCompactJson()
      Export mechanical design data to compact JSON format (no pretty printing).
      Returns:
      compact JSON string
    • getResponse

      public MechanicalDesignResponse getResponse()
      Get the mechanical design response object.

      This method returns a MechanicalDesignResponse object that can be further customized or combined with other data before serialization.

      Returns:
      MechanicalDesignResponse object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object