Class TechnicalRequirementsDocument
java.lang.Object
neqsim.process.mechanicaldesign.torg.TechnicalRequirementsDocument
- All Implemented Interfaces:
Serializable
Represents a Technical Requirements Document (TORG) that specifies design standards and methods
to be used in process design for a project.
A TORG typically contains:
- Project identification and metadata
- Design standards to be applied per equipment category
- Company-specific design requirements
- Material specifications
- Safety factors and margins
- Environmental conditions (ambient temperature, seismic zone, etc.)
Example usage:
TechnicalRequirementsDocument torg = TechnicalRequirementsDocument.builder()
.projectId("PROJECT-001").projectName("Offshore Gas Platform").companyIdentifier("Equinor")
.addStandard("pressure vessel design code", StandardType.ASME_VIII_DIV1)
.addStandard("separator process design", StandardType.API_12J)
.addStandard("pipeline design codes", StandardType.NORSOK_L_001).minAmbientTemperature(-40.0)
.maxAmbientTemperature(45.0).build();
// Apply to a process system
processSystem.setTechnicalRequirements(torg);
- Version:
- 1.0
- Author:
- esol
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for TechnicalRequirementsDocument.static classEnvironmental design conditions.static classMaterial specifications.static classSafety factors for design calculations. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringCompany or operator identifier.Additional project-specific parameters.private final Map<String, List<StandardType>> Map of design category to list of applicable standards.private final TechnicalRequirementsDocument.EnvironmentalConditionsEnvironmental design conditions.private final Map<String, List<StandardType>> Map of equipment type to specific standards (overrides category defaults).private final StringDate of issue (ISO format YYYY-MM-DD).private final TechnicalRequirementsDocument.MaterialSpecificationsMaterial specifications.private final StringProject identifier.private final StringProject name/description.private final StringTORG document revision/version.private final TechnicalRequirementsDocument.SafetyFactorsSafety factors for various calculations.private static final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePrivate constructor - use Builder. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new builder.getAllApplicableStandards(String equipmentType) Get all applicable standards for a given equipment type.Get the company identifier.getCustomParameter(String key) Get a custom parameter value.<T> TgetCustomParameter(String key, Class<T> type) Get a custom parameter as a specific type.Get all design standard categories defined in this TORG.Get environmental conditions.Get the issue date.Get material specifications.Get the project identifier.Get the project name.Get the document revision.Get safety factors.getStandardsForCategory(String category) Get standards for a specific design category.getStandardsForEquipment(String equipmentType) Get standards specifically assigned to an equipment type.booleanhasStandardsForCategory(String category) Check if this TORG has standards defined for a category.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
projectId
Project identifier. -
projectName
Project name/description. -
companyIdentifier
Company or operator identifier. -
revision
TORG document revision/version. -
issueDate
Date of issue (ISO format YYYY-MM-DD). -
designStandards
Map of design category to list of applicable standards. -
equipmentStandards
Map of equipment type to specific standards (overrides category defaults). -
environmentalConditions
Environmental design conditions. -
safetyFactors
Safety factors for various calculations. -
materialSpecs
Material specifications. -
customParameters
-
-
Constructor Details
-
TechnicalRequirementsDocument
Private constructor - use Builder.- Parameters:
builder- the builder instance
-
-
Method Details
-
builder
Create a new builder.- Returns:
- new Builder instance
-
getProjectId
-
getProjectName
-
getCompanyIdentifier
-
getRevision
-
getIssueDate
-
getStandardsForCategory
Get standards for a specific design category.- Parameters:
category- the design category (e.g., "pressure vessel design code")- Returns:
- list of applicable standards, empty if none defined
-
getStandardsForEquipment
Get standards specifically assigned to an equipment type.- Parameters:
equipmentType- the equipment type (e.g., "Separator")- Returns:
- list of applicable standards, empty if none defined
-
getAllApplicableStandards
Get all applicable standards for a given equipment type. This combines equipment-specific standards with category-based standards.- Parameters:
equipmentType- the equipment type- Returns:
- combined list of applicable standards
-
getDefinedCategories
-
getEnvironmentalConditions
Get environmental conditions.- Returns:
- environmental conditions, or null if not defined
-
getSafetyFactors
Get safety factors.- Returns:
- safety factors, or null if not defined
-
getMaterialSpecifications
Get material specifications.- Returns:
- material specifications, or null if not defined
-
getCustomParameter
-
getCustomParameter
-
hasStandardsForCategory
Check if this TORG has standards defined for a category.- Parameters:
category- the design category- Returns:
- true if standards are defined
-
toString
-