Pipe Assembly Lab v1.3: four power-piping research sections, FE operators and validation
Browse filesFiles changed (37)
- POWER_CASES.mdAdded+78
- PROJECT_FORMAT.md+11-4
- README.md+22
- SHA256SUMS+36-6
- data/catalog.json+554
- data/power-cold-reheat-elbow-r1.5.jsonAdded
- data/power-cold-reheat-elbow-r2.jsonAdded
- data/power-cold-reheat-elbow-r3.jsonAdded
- data/power-cold-reheat-straight-r3.jsonAdded
- data/power-cold-reheat-straight-r5.jsonAdded
- data/power-cold-reheat-straight-r8.jsonAdded
- data/power-feedwater-elbow-r1.5.jsonAdded
- data/power-feedwater-elbow-r2.jsonAdded
- data/power-feedwater-elbow-r3.jsonAdded
- data/power-feedwater-straight-r3.jsonAdded
- data/power-feedwater-straight-r5.jsonAdded
- data/power-feedwater-straight-r8.jsonAdded
- data/power-hot-reheat-elbow-r1.5.jsonAdded
- data/power-hot-reheat-elbow-r2.jsonAdded
- data/power-hot-reheat-elbow-r3.jsonAdded
- data/power-hot-reheat-straight-r3.jsonAdded
- data/power-hot-reheat-straight-r5.jsonAdded
- data/power-hot-reheat-straight-r8.jsonAdded
- data/power-main-steam-elbow-r1.5.jsonAdded
- data/power-main-steam-elbow-r2.jsonAdded
- data/power-main-steam-elbow-r3.jsonAdded
- data/power-main-steam-straight-r3.jsonAdded
- data/power-main-steam-straight-r5.jsonAdded
- data/power-main-steam-straight-r8.jsonAdded
- example_power.cjsAdded+11
- project.js+6-4
- provenance.json+4-2
- validation/browser_campaign.json+3-3
- validation/power_browser.jsonAdded+6
- validation/power_harmonic_validation.jsonAdded+6
- validation/power_mesh.jsonAdded+34
- validation/power_validation.jsonAdded+10
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778# Power-piping research cases · v1.3
Four service families provide reusable **solid-FE component operators**, ratherthan attaching service names to the old small-pipe library. Each family hasthree straight lengths (3D, 5D, 8D) and three 90° bends (R/D = 1.5, 2, 3).Each bend also contains a 2D tangent at both ends. Layouts are researcher-designed.
| Research family | OD × wall / mm | E / GPa | α / µm/(m·K) | Example ΔT / K ||---|---:|---:|---:|---:|| Main steam / 主蒸汽 | 450 × 60 | 170 | 13 | 546 || Hot reheat / 再热热段 | 800 × 30 | 170 | 13 | 546 || Cold reheat / 再热冷段 | 800 × 20 | 190 | 12.5 | 330 || High-pressure feedwater / 高压给水 | 450 × 50 | 195 | 12.5 | 280 |
## Provenance and assumptions
The **main-steam cross-section only** derives from Gao & Huo, *FeasibilityResearch on Ultra-supercritical 350 MW Unit and Analysis of Main EquipmentParameter*, Table 9: 330 mm bore and 60 mm calculated wall, excluding corrosionallowance. The derived OD is 450 mm. It is not a purchased/as-built pipe size.Source: https://doi.org/10.16516/j.gedi.issn2095-8676.2019.04.007
The other three cross-sections are **author-selected benchmark geometries**.All tabled effective E and α values, temperature rises, layouts, springs,damper settings and forces are **benchmark assumptions**, not values extractedfrom that paper, certified grade-specific material data, or measured plant data.Density is 7850 kg/m³ and Poisson ratio 0.3. ΔT is a uniform imposed walltemperature rise, not an absolute operating temperature or a transient history.Material constants remain fixed when ΔT is varied.
The service taxonomy follows main steam, hot reheat, cold reheat and mainfeedwater. Context: National Energy Administration,https://www.nea.gov.cn/2011-02/14/c_131071160.htm
## Models and records
- 24 new components, 35,280 displacement DOFs each; Q2 displacement on a Q1 hexahedral geometry, 24 axial × 24 circumferential × 2 radial cells.- 12 rigid mechanical port DOFs plus 12 fixed-interface modes per component.- 108 assembly records: four families × three layouts × three support choices × three temperature rises. Labels come from the assembled component ROM.- 12 harmonic sweeps: four families × three support choices, with a 1000 N peak Y force at the final joint, assumed 2% modal damping, and a 10,000 N·s/m grounded Y damper at that same joint. Their excitation frequency is f1.- UI initial layouts use springs at joints 3 and 5; they are editable examples, not identical to every dataset layout or an optimized support design.- Original 48 components and 512 assembly records remain intact.
Mass and unconstrained axial expansion are checked analytically. Python/SciPyand browser assembly are compared for all 108 records. Harmonic response ischecked against an independent complex solve, including 12/24 system-moderetention. Four R/D=3 bends are compared against 30 × 32 × 3 meshes (81,984DOFs). The refinement check covers isolated bends, not every route, stress,or higher mode. Reports state each metric explicitly.
## Scope
These are dry-pipe, small-displacement linear elastic models. No pressurestiffening, fluid/insulation mass, spring preload, gaps/friction, creep, fatigue,thermal gradients or piping-code acceptance calculation is included. A viscousdamper is not a hydraulic snubber. Displayed response is centreline motion, notwall stress. This release supports reproducible geometry/support studies andoperator reuse; it is not a plant digital-twin calibration or design sign-off.
## Reproduce
With the AgentFEM/DOLFINx environment: `python src/generate_power.py`, then`python src/validate_power.py` and `python src/check_power_mesh.py`.With Node.js: `node src/check_power.cjs`.With NumPy/SciPy: `python src/check_power_harmonic.py`.The data/model repositories include the required operator data and source;the Space contains only compact browser operators and needs no Python backend.
## 中文说明
本版增加的是可复用、可验证的四大管道研究组件。主蒸汽截面有公开计算尺寸来源;其他截面和工况为研究设定。先研究管路走向、支撑位置和刚度对热位移、接口载荷与振动的影响,不将结果用作现场管道的安全判定。123456781 unmodified line1011121314151660 unmodified lines777879# Pipe project and dynamic response · v1.2A saved project is JSON, not executable code. All stored numbers use SI units.`schema` is `agentfem.pipe-project/1`; `modelVersion` is `1.2.0`.Version 1.1.0 imports remain supported and receive default excitation settings.Optional `design.excitation` is `{node:3, axis:2, force:100, frequency:10, zeta:0.02}`.The harmonic force and probe share a joint and global direction. SI units, peakamplitude, not RMS. The added damper retains independent position/direction.1 unmodified line```json{"schema": "agentfem.pipe-project/1","modelVersion": "1.2.0","units": "SI","design": {"route": [60 unmodified linessettings. Print-to-PDF uses the browser. CSV includes port translations, supportforces/moments and, when a dynamic run exists, its time histories. The referenceand current designs are included in the printable report.123456781 unmodified line1011121314151660 unmodified lines77787980818283848586# Pipe project and dynamic response · v1.3A saved project is JSON, not executable code. All stored numbers use SI units.`schema` is `agentfem.pipe-project/1`; `modelVersion` is `1.3.0`.Version 1.1.0 and 1.2.0 imports remain supported and receive default excitation settings.Optional `design.excitation` is `{node:3, axis:2, force:100, frequency:10, zeta:0.02}`.The harmonic force and probe share a joint and global direction. SI units, peakamplitude, not RMS. The added damper retains independent position/direction.1 unmodified line```json{"schema": "agentfem.pipe-project/1","modelVersion": "1.3.0","units": "SI","design": {"route": [60 unmodified linessettings. Print-to-PDF uses the browser. CSV includes port translations, supportforces/moments and, when a dynamic run exists, its time histories. The referenceand current designs are included in the printable report.## Power sectionsv1.3 additionally accepts (OD,wall thickness) = (0.45,0.06), (0.8,0.03),(0.8,0.02), (0.45,0.05) metres. Store wall as thickness/OD. Only those exactpairs are available; ΔT is 0–600 K for these research sections. Generic pipesretain the 0–200 K range. See POWER_CASES.md for their fixed material constants.
17 unmodified lines18192021222317 unmodified lines# AgentFEM Pipe ROM## v1.2 — steady harmonic responseThe browser solver also accepts `harmonic: {node: 3, axis: 2, force: 100,17 unmodified lines1819202122232425262728293031323334353637383940414243444517 unmodified lines# AgentFEM Pipe ROM## v1.3 — Power-piping research sections**Four pipe services, 24 new solid-FE components, 108 assembly records.**Main steam, hot reheat, cold reheat and high-pressure feedwater now haveindependently assembled component operators. The Space switches section geometry,stiffness, mass and effective thermal expansion together. It includes thermalmovement, support reactions, modes, free decay and forced-response comparison.The main-steam section uses a published calculated bore/wall pair; other sectionsand all effective material constants, layouts and loads are benchmark assumptions.See [case definitions and provenance](POWER_CASES.md). This is still a dry-pipe,constant-property research model, not plant design approval.New validation: 108 independent Python/browser comparisons, 12 harmonic sweeps,and four refined-bend mesh checks. Original records are preserved. The completelibrary now contains **72 components**. Data and operators use CC BY 4.0;solver/example code retains its existing Apache-2.0 license.中文:新增主蒸汽、再热热段、再热冷段和高压给水四类研究截面。可比较管路、支撑与阻尼器设置对热位移和振动的影响。尺寸来源、研究假设与验证报告一并提供。## v1.2 — steady harmonic responseThe browser solver also accepts `harmonic: {node: 3, axis: 2, force: 100,
1234567891018 unmodified lines29303132333422 unmodified lines575859606162636465666768697071727374754a8e89fe65965e0b5ab34a6a1b8faa412666e426ce92500dba6af0c8f3e0ca0b LICENSE-CODE9c3ceba7bc939a6d4a1ddd2c67e1485820ba38896770ca805239cb72d9b5e933 LICENSE-DATAec33ec121b07900ec4a9c1e1514fa0ce413c537a746d2286e08d92c1be0e2e68 PROJECT_FORMAT.mdaa0be1b7bd2c182179c0879da8d31faee34c0c038f616a3a2a73c08c255204e3 README.mdffc8958c1a4e858075199cfa10f01d2b86299acc93de8c5870f9c974c4fbc72f SCHEMA.mda219bbccb239893a05dcfddc72899e273daa63160db3f326c6a0bb11e77fceb3 assembly.pye246b1d3f40b6315fe5414fb8364f5c72f79264f6960b10b68bcfa197ac93421 data/catalog.json6e182b8c520a823f93cc8ea542868efd57620b4baa0e0ee857aae4f6f09e08c1 data/elbow-d120-t04-r1.5.jsonfb4c4dfa39b206a51ec0312a4d38c776b5b5d4dd204bd3900fd2fbe711ff5579 data/elbow-d120-t04-r2.json4bcfc3a494b576a63e29f48d95f63803c57042f8df9ed302af42860c00146334 data/elbow-d120-t04-r3.json18 unmodified lines3814fc06e3d3c7d5c41488a06d266766979dc383881ebfa32a98bf0f0d90d9c8 data/elbow-d240-t06-r1.5.jsone0e08299c3c92dca93d0a67719999735ab57229e98bbdcd7b75bda7b579ca991 data/elbow-d240-t06-r2.jsoncd63db579594e728ccaa4ff6c109dac1b70c14aa12b288f8e50cd444986ee11b data/elbow-d240-t06-r3.jsoncdad3583afa217c81ed7ad49c7cf1fe25b7cc6c2e4e959cc73a6e62783104b71 data/straight-d120-t04-r3.json024420bc865cb4fc824f8c692408f3f66f24fb9b83ddf8963125567cf88fe88b data/straight-d120-t04-r5.jsonc4f45eb250e8138dd451a60b8849485a052d9cde1ac214f970bd06a07d5fd3eb data/straight-d120-t04-r8.json22 unmodified linesbf51e8f44e03f3f756fb50f4adb52c8780608415e207dad3b418967a28fa2f74 example.py087bb3a72a6dc16a2e11c2225ecf4410c3237b45e9bd5fe28994975515c31869 example_dynamic.py4dd89db2349943828e59a19fc74dd457bd368c8ca6db34bd5071935b80cb2d39 example_harmonic.cjscf4beb241af5c57aa510cb331f91c834ed41aecec6a191c71c4a61b23e4e9ce3 pipe_rom.py72e411b59cc1a513db8fbeb276d1a6e9dbd819af69f4ffe57ccdd509f7459a4f preview.png4bd1e2061177bc99cf85f46946871e4fa15e7e2ad24b394181f8bf9fa4dd4d92 project.js3d371ad9a481b8bd5cecba383e79343597ec5a883a67b3cc1a91a67107b8a131 provenance.jsona2cf9b8191feed2f95da4453107b6cfcc02fc1ad16a7c7b9df6338706aad1482 requirements.txt1d70a619b632376d0f8bc24c0dd0655064ae06aec199736331cf67a962c203dd solver.js65bb67e8274ab8c57ab8aaecf3a964a8f2d54e0db22a1857f34e9f39669ecaca validation/browser_campaign.jsoned37a08209cf26584a4eba0d937f9107c51c6fde7cd2cf12190b45bd1a3569b2 validation/browser_equivalence.json5bc92fb7e106acfcfcf7c333713a891dc9c7fa73cb499645083bdfb4cadd35d5 validation/dynamic_validation.jsond6dce84846a1289022d29d87e8489a0ef9e46c669f81c774855c1671f9f52f88 validation/harmonic_validation.json7010ae99f731ee85a1957773b7ab565b2e4f9a37972c88893a0798fae1314b83 validation/initial_interface_trial.json1fb007376c9133d6f580a220edf05654f59368261edea747bdf012f36fd53b66 validation/mode_retention.jsonf1f6cc4e9423bc5cce97cf50cb872d64be84a447563829118acab45e93d86d84 validation/pilot.jsond3469f98310030e8ad4ed8d8c0fe79f531174131e70007ef7b598b83b09398ed validation/release_validation.json089d79e2abdc4abc651794f56afea96f0fbcbd7f35e6bcfc08f3e217c96ddc24 validation/static_full_order.json346e97bfb765403f553352424558697837afc9625a02c5f6287e56c0bd3e2700 vendor/matrix.umd.js123456789101118 unmodified lines30313233343536373839404142434445464748495051525354555657585922 unmodified lines8283848586878889909192939495969798991001011021031041054a8e89fe65965e0b5ab34a6a1b8faa412666e426ce92500dba6af0c8f3e0ca0b LICENSE-CODE9c3ceba7bc939a6d4a1ddd2c67e1485820ba38896770ca805239cb72d9b5e933 LICENSE-DATA3aee230665744cf6ef25e62184fc2f376b8ceeefdbab4d52fccd9fe3f06f05d6 POWER_CASES.mdd9a3940d5b6157ee0e737f9afe9a788c25603cab43512125802cd0c72f48f6d6 PROJECT_FORMAT.md65498ea4e706d94d06c3ac543619ddeba2e12f09aa60ba09eb5b8081bf9e121f README.mdffc8958c1a4e858075199cfa10f01d2b86299acc93de8c5870f9c974c4fbc72f SCHEMA.mda219bbccb239893a05dcfddc72899e273daa63160db3f326c6a0bb11e77fceb3 assembly.pycc84fa4f9aaee8e40b5dceff9ef026922e1db4ac53d1902d3a18c38b3fa454bd data/catalog.json6e182b8c520a823f93cc8ea542868efd57620b4baa0e0ee857aae4f6f09e08c1 data/elbow-d120-t04-r1.5.jsonfb4c4dfa39b206a51ec0312a4d38c776b5b5d4dd204bd3900fd2fbe711ff5579 data/elbow-d120-t04-r2.json4bcfc3a494b576a63e29f48d95f63803c57042f8df9ed302af42860c00146334 data/elbow-d120-t04-r3.json18 unmodified lines3814fc06e3d3c7d5c41488a06d266766979dc383881ebfa32a98bf0f0d90d9c8 data/elbow-d240-t06-r1.5.jsone0e08299c3c92dca93d0a67719999735ab57229e98bbdcd7b75bda7b579ca991 data/elbow-d240-t06-r2.jsoncd63db579594e728ccaa4ff6c109dac1b70c14aa12b288f8e50cd444986ee11b data/elbow-d240-t06-r3.jsonb724c1b6db52e9fcadf34096da116cb1a86ee64967599333daba89a3ce8001bd data/power-cold-reheat-elbow-r1.5.json00c6b87831213398c50c420b2e577f3529578ddf29adb5909e6cbd6d685526c7 data/power-cold-reheat-elbow-r2.jsoncfbcb65f3f8c497cfc05360334bb3d15b630594d327d51c48b359695d1e055d8 data/power-cold-reheat-elbow-r3.json625fee167a8acaedc3239f68e40c4a0a057f5dfcf9736eb85bc63be57fd3f90e data/power-cold-reheat-straight-r3.json9f04c94c0d3b8c1f25fc3d6e3a97cab0240bc1093c24eb7796cd9af3b8b17010 data/power-cold-reheat-straight-r5.jsona0438cbfeba215aba131b759c8068ce86212aa2383aef07bf185c47c4876caaa data/power-cold-reheat-straight-r8.json489ba81bf63bb6d8027455358621807d28c2d2b475dd8187f39e24b1ff4d85eb data/power-feedwater-elbow-r1.5.json9c9e2251bffff92f6c3c90597bfa4955e6d10b4ceb8c69d5047bcbe2a87e903f data/power-feedwater-elbow-r2.jsond4027728ba138422ec91d49fb442dd50347384fd463d0b6cd549b717753b7018 data/power-feedwater-elbow-r3.jsonf90e4453a7e1991b5a76f2f64e616aa5809a227a75dd4a6326b2a0206ece3c05 data/power-feedwater-straight-r3.jsonc5e2dcfdf6fddd551e67fd804e49bb21a92970118207c4472df1a44c2076b68c data/power-feedwater-straight-r5.jsonb49d6b295c7fb21559001610b692c72fea7a592f556d4db59d8357e553ae7c50 data/power-feedwater-straight-r8.json394fe29c5120cf04cedfa9d9dc734adc79c0cc97767bcc21f9be18c5dbf96567 data/power-hot-reheat-elbow-r1.5.json071d74182648e9bbeb23fbf6e5101c816d5fe1603421d32ac8dfb69f73cc70e2 data/power-hot-reheat-elbow-r2.json360aa2c61931e4e137e9aa6e1546e902c50b041ec696d8d05e0fe968f2b9b77a data/power-hot-reheat-elbow-r3.json6db64387aff72dd12eeb7200cbfb5e2653656648595ec849ddb4b726e11f6288 data/power-hot-reheat-straight-r3.jsoncde8c175b7d90117dd0712efad6cff4c2a6f34bb9a38223b627f288a685a7ee3 data/power-hot-reheat-straight-r5.jsoncee5296fc94c8d40c8642c7af6b51f85a3178b950d81a37ad76a31ff01dbb62d data/power-hot-reheat-straight-r8.jsonc37239ea9b2be3f748c6e3ae44729c82a0db8066b00907569fcc811ea4c114e0 data/power-main-steam-elbow-r1.5.json9a97014a6f29d3dc8ab1ce4f07256c75dcfcd0db8575d7368a88f24efae6cea1 data/power-main-steam-elbow-r2.jsonf0a9a70263f37a903a5816aa3ae92d57d85fcb49f841eabb21992fbb72e8a135 data/power-main-steam-elbow-r3.jsonb926d5e22f95a57c315a3699148e7004c43d6f0da5aa7b7b1c00f5b1e191f54c data/power-main-steam-straight-r3.jsone12343bab059f7d32dc11a351f62b6c171c9fff1f711835488f2e44b82f8bbec data/power-main-steam-straight-r5.json6d22455810d41b12a2de8eb1b668627ee2016a2e29b3b3ea9d6ffffecbf178bf data/power-main-steam-straight-r8.jsoncdad3583afa217c81ed7ad49c7cf1fe25b7cc6c2e4e959cc73a6e62783104b71 data/straight-d120-t04-r3.json024420bc865cb4fc824f8c692408f3f66f24fb9b83ddf8963125567cf88fe88b data/straight-d120-t04-r5.jsonc4f45eb250e8138dd451a60b8849485a052d9cde1ac214f970bd06a07d5fd3eb data/straight-d120-t04-r8.json22 unmodified linesbf51e8f44e03f3f756fb50f4adb52c8780608415e207dad3b418967a28fa2f74 example.py087bb3a72a6dc16a2e11c2225ecf4410c3237b45e9bd5fe28994975515c31869 example_dynamic.py4dd89db2349943828e59a19fc74dd457bd368c8ca6db34bd5071935b80cb2d39 example_harmonic.cjsdfddc4e16dc3f13cf59daa70d87bf3e3e41189b1454eb1aded1a8fe0aa94701e example_power.cjscf4beb241af5c57aa510cb331f91c834ed41aecec6a191c71c4a61b23e4e9ce3 pipe_rom.py72e411b59cc1a513db8fbeb276d1a6e9dbd819af69f4ffe57ccdd509f7459a4f preview.png81029250212cf2657fe701ad4ed48da881cb11dc14b35febe777278a02911a3c project.js4c205f3a21daef3ed93cb59c3d132308a7a495873a6f3f9efb7d2ba84796653a provenance.jsona2cf9b8191feed2f95da4453107b6cfcc02fc1ad16a7c7b9df6338706aad1482 requirements.txt1d70a619b632376d0f8bc24c0dd0655064ae06aec199736331cf67a962c203dd solver.jsd2481626624c86f7642849c5c90094cb9b08d3b867b29444fb82a009a83179e4 validation/browser_campaign.jsoned37a08209cf26584a4eba0d937f9107c51c6fde7cd2cf12190b45bd1a3569b2 validation/browser_equivalence.json5bc92fb7e106acfcfcf7c333713a891dc9c7fa73cb499645083bdfb4cadd35d5 validation/dynamic_validation.jsond6dce84846a1289022d29d87e8489a0ef9e46c669f81c774855c1671f9f52f88 validation/harmonic_validation.json7010ae99f731ee85a1957773b7ab565b2e4f9a37972c88893a0798fae1314b83 validation/initial_interface_trial.json1fb007376c9133d6f580a220edf05654f59368261edea747bdf012f36fd53b66 validation/mode_retention.jsonf1f6cc4e9423bc5cce97cf50cb872d64be84a447563829118acab45e93d86d84 validation/pilot.jsond4c8b1eb9b9a5c8fcdcd2dcefbd18cb02400be02fce2943523d6295501e771ae validation/power_browser.json295f22d725f86c31b7f1f63eca2005d9eda1d3fabcffe26bf521c4e05eb9d1f3 validation/power_harmonic_validation.jsonf7c11941a852c7cca0e79c4e680e8cbb7fccf155f2dfd32af078eacd57198476 validation/power_mesh.json70b0c7754362be259c874c663f327cc31774f576b98bdc121536aacbbf10eef5 validation/power_validation.jsond3469f98310030e8ad4ed8d8c0fe79f531174131e70007ef7b598b83b09398ed validation/release_validation.json089d79e2abdc4abc651794f56afea96f0fbcbd7f35e6bcfc08f3e217c96ddc24 validation/static_full_order.json346e97bfb765403f553352424558697837afc9625a02c5f6287e56c0bd3e2700 vendor/matrix.umd.js
912 unmodified lines913914915916917918912 unmodified lines"alpha": 1.2e-05,"file": "elbow-d240-t06-r3.json","mass_kg": 165.0395892434845}]}912 unmodified lines91391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472912 unmodified lines"alpha": 1.2e-05,"file": "elbow-d240-t06-r3.json","mass_kg": 165.0395892434845},{"id": "power-main-steam-straight-r3","family": "main-steam","kind": "straight","diameter": 0.45,"thickness": 0.06,"length": 1.35,"radius": 0.9,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-main-steam-straight-r3.json","mass_kg": 770.1880203971241},{"id": "power-main-steam-straight-r5","family": "main-steam","kind": "straight","diameter": 0.45,"thickness": 0.06,"length": 2.25,"radius": 0.9,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-main-steam-straight-r5.json","mass_kg": 1283.6467006617863},{"id": "power-main-steam-straight-r8","family": "main-steam","kind": "straight","diameter": 0.45,"thickness": 0.06,"length": 3.6,"radius": 0.9,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-main-steam-straight-r8.json","mass_kg": 2053.8347210588777},{"id": "power-main-steam-elbow-r1.5","family": "main-steam","kind": "elbow","diameter": 0.45,"thickness": 0.06,"length": 1.8,"radius": 0.675,"stub": 0.9,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-main-steam-elbow-r1.5.json","mass_kg": 1627.942276178443},{"id": "power-main-steam-elbow-r2","family": "main-steam","kind": "elbow","diameter": 0.45,"thickness": 0.06,"length": 1.8,"radius": 0.9,"stub": 0.9,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-main-steam-elbow-r2.json","mass_kg": 1828.283914728077},{"id": "power-main-steam-elbow-r3","family": "main-steam","kind": "elbow","diameter": 0.45,"thickness": 0.06,"length": 1.8,"radius": 1.35,"stub": 0.9,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-main-steam-elbow-r3.json","mass_kg": 2228.9671918273657},{"id": "power-hot-reheat-straight-r3","family": "hot-reheat","kind": "straight","diameter": 0.8,"thickness": 0.03,"length": 2.4000000000000004,"radius": 1.6,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-hot-reheat-straight-r3.json","mass_kg": 1351.669004457543},{"id": "power-hot-reheat-straight-r5","family": "hot-reheat","kind": "straight","diameter": 0.8,"thickness": 0.03,"length": 4.0,"radius": 1.6,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-hot-reheat-straight-r5.json","mass_kg": 2252.7816740961757},{"id": "power-hot-reheat-straight-r8","family": "hot-reheat","kind": "straight","diameter": 0.8,"thickness": 0.03,"length": 6.4,"radius": 1.6,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-hot-reheat-straight-r8.json","mass_kg": 3604.4506785537264},{"id": "power-hot-reheat-elbow-r1.5","family": "hot-reheat","kind": "elbow","diameter": 0.8,"thickness": 0.03,"length": 3.2,"radius": 1.2000000000000002,"stub": 1.6,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-hot-reheat-elbow-r1.5.json","mass_kg": 2857.015504632109},{"id": "power-hot-reheat-elbow-r2","family": "hot-reheat","kind": "elbow","diameter": 0.8,"thickness": 0.03,"length": 3.2,"radius": 1.6,"stub": 1.6,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-hot-reheat-elbow-r2.json","mass_kg": 3208.612226417235},{"id": "power-hot-reheat-elbow-r3","family": "hot-reheat","kind": "elbow","diameter": 0.8,"thickness": 0.03,"length": 3.2,"radius": 2.4000000000000004,"stub": 1.6,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 170000000000.0,"alpha": 1.3e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-hot-reheat-elbow-r3.json","mass_kg": 3911.80566998749},{"id": "power-cold-reheat-straight-r3","family": "cold-reheat","kind": "straight","diameter": 0.8,"thickness": 0.02,"length": 2.4000000000000004,"radius": 1.6,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 190000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-cold-reheat-straight-r3.json","mass_kg": 912.8154315817399},{"id": "power-cold-reheat-straight-r5","family": "cold-reheat","kind": "straight","diameter": 0.8,"thickness": 0.02,"length": 4.0,"radius": 1.6,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 190000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-cold-reheat-straight-r5.json","mass_kg": 1521.359052636277},{"id": "power-cold-reheat-straight-r8","family": "cold-reheat","kind": "straight","diameter": 0.8,"thickness": 0.02,"length": 6.4,"radius": 1.6,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 190000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-cold-reheat-straight-r8.json","mass_kg": 2434.1744842178755},{"id": "power-cold-reheat-elbow-r1.5","family": "cold-reheat","kind": "elbow","diameter": 0.8,"thickness": 0.02,"length": 3.2,"radius": 1.2000000000000002,"stub": 1.6,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 190000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-cold-reheat-elbow-r1.5.json","mass_kg": 1929.413068063291},{"id": "power-cold-reheat-elbow-r2","family": "cold-reheat","kind": "elbow","diameter": 0.8,"thickness": 0.02,"length": 3.2,"radius": 1.6,"stub": 1.6,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 190000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-cold-reheat-elbow-r2.json","mass_kg": 2166.8550100480516},{"id": "power-cold-reheat-elbow-r3","family": "cold-reheat","kind": "elbow","diameter": 0.8,"thickness": 0.02,"length": 3.2,"radius": 2.4000000000000004,"stub": 1.6,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 190000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-cold-reheat-elbow-r3.json","mass_kg": 2641.7388940175892},{"id": "power-feedwater-straight-r3","family": "feedwater","kind": "straight","diameter": 0.45,"thickness": 0.05,"length": 1.35,"radius": 0.9,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 195000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-feedwater-straight-r3.json","mass_kg": 658.2803593137298},{"id": "power-feedwater-straight-r5","family": "feedwater","kind": "straight","diameter": 0.45,"thickness": 0.05,"length": 2.25,"radius": 0.9,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 195000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-feedwater-straight-r5.json","mass_kg": 1097.1339321896064},{"id": "power-feedwater-straight-r8","family": "feedwater","kind": "straight","diameter": 0.45,"thickness": 0.05,"length": 3.6,"radius": 0.9,"stub": 0,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 195000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-feedwater-straight-r8.json","mass_kg": 1755.4142915032949},{"id": "power-feedwater-elbow-r1.5","family": "feedwater","kind": "elbow","diameter": 0.45,"thickness": 0.05,"length": 1.8,"radius": 0.675,"stub": 0.9,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 195000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-feedwater-elbow-r1.5.json","mass_kg": 1391.403654853299},{"id": "power-feedwater-elbow-r2","family": "feedwater","kind": "elbow","diameter": 0.45,"thickness": 0.05,"length": 1.8,"radius": 0.9,"stub": 0.9,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 195000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-feedwater-elbow-r2.json","mass_kg": 1562.635824553852},{"id": "power-feedwater-elbow-r3","family": "feedwater","kind": "elbow","diameter": 0.45,"thickness": 0.05,"length": 1.8,"radius": 1.35,"stub": 0.9,"ns": 24,"nt": 24,"nr": 2,"modes": 12,"young": 195000000000.0,"alpha": 1.25e-05,"density": 7850.0,"poisson": 0.3,"material_basis": "Constant effective elastic benchmark properties; no grade-specific certification or temperature evolution.","file": "power-feedwater-elbow-r3.json","mass_kg": 1905.1001639549474}],"powerFamilies": [{"id": "main-steam","zh": "主蒸汽","en": "Main steam","diameter": 0.45,"thickness": 0.06,"temperature": 546,"young": 170000000000.0,"alpha": 1.3e-05,"source": "https://www.energychina.press/article/doi/10.16516/j.gedi.issn2095-8676.2019.04.007","basis": "Table 9: ID 330 mm + calculated wall 60 mm, without corrosion allowance. OD 450 mm is derived; not an as-built purchased section."},{"id": "hot-reheat","zh": "再热热段","en": "Hot reheat","diameter": 0.8,"thickness": 0.03,"temperature": 546,"young": 170000000000.0,"alpha": 1.3e-05,"source": null,"basis": "Author-selected large-diameter research section; not a plant specification."},{"id": "cold-reheat","zh": "再热冷段","en": "Cold reheat","diameter": 0.8,"thickness": 0.02,"temperature": 330,"young": 190000000000.0,"alpha": 1.25e-05,"source": null,"basis": "Author-selected research section; not a plant specification."},{"id": "feedwater","zh": "高压给水","en": "High-pressure feedwater","diameter": 0.45,"thickness": 0.05,"temperature": 280,"young": 195000000000.0,"alpha": 1.25e-05,"source": null,"basis": "Author-selected thick-wall research section; not a plant specification."}]}
1234567891011// Run from the downloaded model repository: node example_power.cjsconst fs=require('node:fs'),path=require('node:path'),{solve}=require('./solver.js');const library=JSON.parse(fs.readFileSync(path.join(__dirname,'data/catalog.json')));for(const family of library.powerFamilies){ const ids=[`power-${family.id}-straight-r8`,`power-${family.id}-elbow-r3`,`power-${family.id}-straight-r8`]; const components=ids.map(id=>JSON.parse(fs.readFileSync(path.join(__dirname,'data',id+'.json')))); const input={components,deltaT:family.temperature,supports:[{node:0,fixed:[0,1,2,3,4,5]},{node:3,spring:[0,0,100000,0,0,0]}]}; const r=solve(input); const h=solve({...input,harmonic:{node:3,axis:1,force:1000,frequency:r.frequency[0],zeta:.02,damper:{node:3,axis:1,c:10000}}}).harmonic; console.log(JSON.stringify({family:family.id,mass_kg:r.mass,max_displacement_mm:1000*r.maxDisplacement,f1_Hz:r.frequency[0],probe_with_damper_mm:1000*h.current.amplitude}));}1234567891011121314/* Versioned, portable project contract. No executable content in imports. */export const VERSION='1.2.0';export function validateProject(raw){if(!raw||raw.schema!=='agentfem.pipe-project/1'||!['1.1.0',VERSION].includes(raw.modelVersion)||raw.units!=='SI')throw Error('VERSION');const p=raw.design;if(!p||![.12,.16,.2,.24].includes(p.diameter)||![.04,.06].includes(p.wall)||!Array.isArray(p.route)||!p.route.length||p.route.length>10)throw Error('GEOMETRY');const route=p.route.map(r=>{if(!r||!['straight','elbow'].includes(r.kind)||!(r.kind==='straight'?[3,5,8]:[1.5,2,3]).includes(r.ratio)||![0,90,180,270].includes(r.roll))throw Error('COMPONENT');return {kind:r.kind,ratio:r.ratio,roll:r.roll};});if(!Number.isFinite(p.temperature)||p.temperature<0||p.temperature>200||typeof p.gravity!=='boolean')throw Error('LOAD');const supports={};for(const [key,s] of Object.entries(p.supports||{})){const node=Number(key);if(!Number.isInteger(node)||node<1||node>route.length||!s||!['none','spring','guide','fixed'].includes(s.type)||!Number.isFinite(s.k)||s.k<10000||s.k>1000000)throw Error('SUPPORT');12345678910111213141516/* Versioned, portable project contract. No executable content in imports. */export const VERSION='1.3.0';export const POWER_SECTIONS=[[.45,.06/.45],[.8,.03/.8],[.8,.02/.8],[.45,.05/.45]];export const isPowerSection=p=>POWER_SECTIONS.some(([d,w])=>Math.abs(p.diameter-d)<1e-9&&Math.abs(p.wall-w)<1e-9);export function validateProject(raw){if(!raw||raw.schema!=='agentfem.pipe-project/1'||!['1.1.0','1.2.0',VERSION].includes(raw.modelVersion)||raw.units!=='SI')throw Error('VERSION');const p=raw.design;if(!p||(!isPowerSection(p)&&(![.12,.16,.2,.24].includes(p.diameter)||![.04,.06].includes(p.wall)))||!Array.isArray(p.route)||!p.route.length||p.route.length>10)throw Error('GEOMETRY');const route=p.route.map(r=>{if(!r||!['straight','elbow'].includes(r.kind)||!(r.kind==='straight'?[3,5,8]:[1.5,2,3]).includes(r.ratio)||![0,90,180,270].includes(r.roll))throw Error('COMPONENT');return {kind:r.kind,ratio:r.ratio,roll:r.roll};});if(!Number.isFinite(p.temperature)||p.temperature<0||p.temperature>(isPowerSection(p)?600:200)||typeof p.gravity!=='boolean')throw Error('LOAD');const supports={};for(const [key,s] of Object.entries(p.supports||{})){const node=Number(key);if(!Number.isInteger(node)||node<1||node>route.length||!s||!['none','spring','guide','fixed'].includes(s.type)||!Number.isFinite(s.k)||s.k<10000||s.k>1000000)throw Error('SUPPORT');
1234513 unmodified lines1920212223{"release": "v1.2.0","date": "2026-10-10","author": "Haoming Luo","agentfem_version": "0.4.0.dev0",13 unmodified lines"dynamic_case_count": 49,"dynamic_label_source": "component ROM; Newmark; 12 system modes; independent scipy exponential checks","harmonic_case_count": 19,"harmonic_label_source": "component ROM complex steady response; 12 system modes; independent scipy complex solve checks"}1234513 unmodified lines19202122232425{"release": "v1.3.0","date": "2026-10-10","author": "Haoming Luo","agentfem_version": "0.4.0.dev0",13 unmodified lines"dynamic_case_count": 49,"dynamic_label_source": "component ROM; Newmark; 12 system modes; independent scipy exponential checks","harmonic_case_count": 19,"harmonic_label_source": "component ROM complex steady response; 12 system modes; independent scipy complex solve checks","power_component_count": 24,"power_assembly_count": 108}
2 unmodified lines345678910112 unmodified lines"frequency_max_relative_error": 4.0030556647252524e-9,"displacement_max_relative_error": 5.4328322361818744e-12,"max_equilibrium_residual": 3.836413839125876e-12,"median_ms": 4.580625000000055,"p95_ms": 4.953291999999919,"max_ms": 13.224542,"runtime": "v24.19.0","platform": "darwin","passed": true2 unmodified lines345678910112 unmodified lines"frequency_max_relative_error": 4.0030556647252524e-9,"displacement_max_relative_error": 5.4328322361818744e-12,"max_equilibrium_residual": 3.836413839125876e-12,"median_ms": 4.386207999999897,"p95_ms": 5.1681250000001455,"max_ms": 15.514917000000004,"runtime": "v24.19.0","platform": "darwin","passed": true
123456{ "passed": true, "cases": 108, "max_displacement_relative_error": 1.8028243756346736e-12, "max_frequency_relative_error": 2.8544404395702827e-8}123456{ "passed": true, "cases": 12, "independent_solve_max_relative_error": 7.852815274707654e-07, "retention_12_vs_24_max_peak_normalized_error": 0.00041944440425964685}12345678910111213141516171819202122232425262728293031323334{ "passed": true, "checks": [ { "family": "main-steam", "coarse_dofs": 35280, "refined_dofs": 81984, "port_displacement_relative_change": 0.00044756746079017073, "first_three_frequency_max_relative_change": 0.0016137777099091144 }, { "family": "hot-reheat", "coarse_dofs": 35280, "refined_dofs": 81984, "port_displacement_relative_change": 0.001735987052724895, "first_three_frequency_max_relative_change": 0.004319019092489551 }, { "family": "cold-reheat", "coarse_dofs": 35280, "refined_dofs": 81984, "port_displacement_relative_change": 0.005042800728126558, "first_three_frequency_max_relative_change": 0.009485639455817152 }, { "family": "feedwater", "coarse_dofs": 35280, "refined_dofs": 81984, "port_displacement_relative_change": 0.0003626870579491558, "first_three_frequency_max_relative_change": 0.0014583722677886657 } ], "scope": "Four isolated R/D=3 bends, 100 K + gravity; same rigid-port and 12 fixed-interface mode assumptions. Not full-route mesh convergence or local stress verification."}12345678910{ "passed": true, "cases": 108, "new_components": 24, "solid_displacement_dofs": 35280, "analytic_mass_max_relative_error": 0.011384070534667168, "free_axial_expansion_max_relative_error": 4.60964599824365e-12, "maximum_equilibrium_residual": 3.264318895571468e-12, "scope": "Exact checks and independent same-ROM assembly; mesh convergence and plant validation not claimed."}POWER_CASES.mdAdded+78
PROJECT_FORMAT.md+11-4
README.md+22
SHA256SUMS+36-6
data/catalog.json+554
data/power-cold-reheat-elbow-r1.5.jsonAdded
data/power-cold-reheat-elbow-r2.jsonAdded
data/power-cold-reheat-elbow-r3.jsonAdded
data/power-cold-reheat-straight-r3.jsonAdded
data/power-cold-reheat-straight-r5.jsonAdded
data/power-cold-reheat-straight-r8.jsonAdded
data/power-feedwater-elbow-r1.5.jsonAdded
data/power-feedwater-elbow-r2.jsonAdded
data/power-feedwater-elbow-r3.jsonAdded
data/power-feedwater-straight-r3.jsonAdded
data/power-feedwater-straight-r5.jsonAdded
data/power-feedwater-straight-r8.jsonAdded
data/power-hot-reheat-elbow-r1.5.jsonAdded
data/power-hot-reheat-elbow-r2.jsonAdded
data/power-hot-reheat-elbow-r3.jsonAdded
data/power-hot-reheat-straight-r3.jsonAdded
data/power-hot-reheat-straight-r5.jsonAdded
data/power-hot-reheat-straight-r8.jsonAdded
data/power-main-steam-elbow-r1.5.jsonAdded
data/power-main-steam-elbow-r2.jsonAdded
data/power-main-steam-elbow-r3.jsonAdded
data/power-main-steam-straight-r3.jsonAdded
data/power-main-steam-straight-r5.jsonAdded
data/power-main-steam-straight-r8.jsonAdded
example_power.cjsAdded+11
project.js+6-4
provenance.json+4-2
validation/browser_campaign.json+3-3
validation/power_browser.jsonAdded+6
validation/power_harmonic_validation.jsonAdded+6
validation/power_mesh.jsonAdded+34
validation/power_validation.jsonAdded+10