AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Neqsim Piping Flexibility Screening

skill-equinor-neqsim-community-skills-piping-flexibility-screening · by equinor

Educational piping-flexibility screening using open ASME B31.3 / B16.5 style relations. USE WHEN: a task needs a public, screening-level check of hoop (sustained) stress, thermal expansion, displacement (expansion) stress range, and a flange-rating pressure check for a process pipe run before detailed pipe-stress analysis.

No reviews yet
0 installs
25 views
0.0% view→install

Install

$ agentstack add skill-equinor-neqsim-community-skills-piping-flexibility-screening

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-equinor-neqsim-community-skills-piping-flexibility-screening)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Neqsim Piping Flexibility Screening? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Piping Flexibility Screening

Use this skill for public, educational piping-flexibility screening. It estimates hoop (sustained) stress, free thermal expansion, displacement (expansion) stress range against a simplified allowable, and a flange-rating pressure check so an agent can scope a pipe-flexibility study before detailed pipe-stress analysis.

When to Use

  • When a user asks whether a hot pipe run needs an expansion loop or whether a flange class is adequate.
  • When an agent needs a quick hoop-stress and thermal-expansion estimate for a process line.
  • When examples must run without confidential isometrics, stress-analysis models, or company piping specs.

Inputs

  • outside_diameter_mm: pipe outside diameter in mm.
  • wall_thickness_mm: pipe wall thickness in mm.
  • design_pressure_bar: internal design pressure in bar gauge.
  • design_temperature_c: design (operating) temperature in degrees Celsius.
  • pipe_length_m: straight run length in m.
  • install_temperature_c: installation/ambient temperature in degrees Celsius, default 20.
  • anchor_to_anchor: whether the run is fully restrained anchor-to-anchor, default True.
  • youngs_modulus_mpa: Young's modulus in MPa, default 200000.
  • thermal_expansion_coeff_per_k: mean thermal expansion coefficient per K, default 1.2e-5.
  • allowable_stress_mpa: material allowable stress in MPa, default 138.
  • flange_rating_class: optional ASME B16.5 flange class (e.g. 150, 300, 600).
  • flange_allowable_pressure_bar: optional flange allowable pressure at temperature in bar.

Outputs

  • hoop_stress_mpa: Barlow hoop (sustained) stress.
  • hoop_stress_ratio: hoop stress divided by allowable stress.
  • delta_temperature_k: design minus install temperature difference.
  • free_thermal_expansion_mm: unrestrained thermal growth of the run.
  • displacement_stress_mpa: displacement (expansion) stress estimate.
  • allowable_stress_range_mpa: simplified allowable stress range.
  • displacement_stress_ratio: displacement stress divided by the allowable range.
  • flange_pressure_ratio: design pressure divided by flange allowable pressure, or null.
  • stress_warning: ok, watch, hoop-stress-exceeded, or expansion-stress-exceeded.
  • flange_warning: ok, flange-overpressure, or no-rating.
  • assumptions: public assumptions used by the placeholder model.

Engineering Method

The Python class PipingFlexibilityModel uses open piping relations only:

  • hoop stress uses the thin-wall Barlow relation S_h = P D / (2 t).
  • thermal strain uses epsilon = alpha |T_design - T_install|.
  • free thermal expansion uses dL = epsilon * L.
  • displacement stress uses the fully restrained worst case S_E = E alpha dT, with a fixed relief factor when the run is not anchor-to-anchor.
  • the allowable stress range uses a simplified S_A = 1.5 * S_allow (screening of f (1.25 S_c + 0.25 S_h)).
  • the flange check compares design pressure to a supplied flange allowable pressure.

This is educational and screening-only logic. It assumes thin-wall pressure stress, a single straight run, constant material properties, and a fully restrained worst-case expansion stress. It is not a replacement for validated pipe-stress/flexibility analysis or qualified piping-engineering review.

Python Usage Pattern

from piping_flexibility_screening import PipingFlexibilityModel

model = PipingFlexibilityModel()
result = model.evaluate(
    outside_diameter_mm=168.3,
    wall_thickness_mm=7.11,
    design_pressure_bar=50.0,
    design_temperature_c=180.0,
    pipe_length_m=40.0,
    flange_allowable_pressure_bar=49.6,
)

print(result.hoop_stress_mpa)
print(result.displacement_stress_mpa)
print(result.stress_warning)
print(result.flange_warning)

Related NeqSim Functionality

For validated mechanical-design calculations, redirect to NeqSim classes:

  • neqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign — pipeline wall thickness and mechanical design.
  • neqsim.process.mechanicaldesign.pipeline.PipingFlexibilityCalculator — proposed pipe-stress/flexibility screening (sustained and displacement stress, flange checks); candidate NeqSim gap.
  • neqsim.process.equipment.pipeline.PipeBeggsAndBrills — hydraulic and thermal pipe model for line conditions.

This skill is a public triage layer that decides when to invoke a validated pipe-stress model.

Validation Checklist

  • [ ] Outside diameter and wall thickness are positive and t < D/2.
  • [ ] Design pressure, length, and material properties are positive.
  • [ ] Tests cover hoop stress, displacement stress, the flange check, and invalid input.
  • [ ] Results are described as educational screening indicators.
  • [ ] Real flexibility analysis is redirected to validated NeqSim classes and qualified review.

Common Mistakes

| Symptom | Cause | Fix | | --- | --- | --- | | Displacement stress always high | Anchor-to-anchor worst case used | Route an expansion loop or set anchor_to_anchor=False | | Flange ratio missing | No flange allowable pressure supplied | Provide flange_allowable_pressure_bar for the check | | Hoop stress underestimated | Thin-wall Barlow used on thick wall | Use a validated thick-wall pipe-stress model |

Limitations

  • No proprietary isometrics, stress-analysis models, or company piping specs are included.
  • A single straight run is modelled; bends, branches, and supports are not analysed.
  • Displacement stress uses a fully restrained worst case; real flexibility depends on routing.

References

  • ASME B31.3, Process Piping.
  • ASME B16.5, Pipe Flanges and Flanged Fittings.
  • NeqSim repository: https://github.com/equinor/neqsim

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.