@theerapat-s28/ts-structural-eng-tools 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/dist/core/constants/rc.constant.d.ts +6 -0
- package/dist/core/constants/rc.constant.js +13 -1
- package/dist/core/constants/rc.constant.js.map +1 -1
- package/dist/core/errors/rc-design.error.js +17 -0
- package/dist/core/errors/rc-design.error.js.map +1 -1
- package/dist/core/index.d.ts +3 -2
- package/dist/core/index.js +6 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/types/plate-jacketing.type.d.ts +31 -4
- package/dist/core/types/plate-jacketing.type.js +12 -0
- package/dist/core/types/plate-jacketing.type.js.map +1 -1
- package/dist/core/types/rc-beam.type.js +1 -4
- package/dist/core/types/rc-beam.type.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/rc/index.js.map +1 -1
- package/dist/rc/rc-bar-layout.js.map +1 -1
- package/dist/rc/rc-beam-design.js +5 -12
- package/dist/rc/rc-beam-design.js.map +1 -1
- package/dist/strengthening/index.d.ts +1 -0
- package/dist/strengthening/index.js +5 -1
- package/dist/strengthening/index.js.map +1 -1
- package/dist/strengthening/rc-beam-plate-interface-bolts.d.ts +134 -0
- package/dist/strengthening/rc-beam-plate-interface-bolts.js +377 -0
- package/dist/strengthening/rc-beam-plate-interface-bolts.js.map +1 -0
- package/dist/strengthening/rc-beam-steel-plate-jacketing.js +23 -13
- package/dist/strengthening/rc-beam-steel-plate-jacketing.js.map +1 -1
- package/dist/utils/math.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,7 +43,8 @@ src/
|
|
|
43
43
|
│ └── rc-beam-design.ts # Beam moment capacity (singly/doubly reinforced) and shear capacity (Vc, Vs, stirrup requirement)
|
|
44
44
|
├── strengthening/ # Strengthening methods
|
|
45
45
|
│ ├── index.ts
|
|
46
|
-
│
|
|
46
|
+
│ ├── rc-beam-steel-plate-jacketing.ts # Moment capacity before/after plate jacketing
|
|
47
|
+
│ └── rc-beam-plate-interface-bolts.ts # Interface shear flow and required interface bolts
|
|
47
48
|
├── core/ # Shared infrastructure
|
|
48
49
|
│ ├── index.ts
|
|
49
50
|
│ ├── constants/ # RC design constants (ACI 318)
|
|
@@ -57,6 +58,7 @@ examples/
|
|
|
57
58
|
└── basic-usage.ts # Example usage of the library
|
|
58
59
|
tests/
|
|
59
60
|
├── rc/ # Tests for RC module
|
|
61
|
+
├── strengthening/ # Tests for strengthening module
|
|
60
62
|
└── utils/ # Tests for utilities
|
|
61
63
|
```
|
|
62
64
|
|
|
@@ -87,7 +89,12 @@ For runtime resolution, `tsconfig-paths` is registered in the `dev` script.
|
|
|
87
89
|
|
|
88
90
|
### Strengthening
|
|
89
91
|
|
|
90
|
-
- **`calculateSteelJacketedBeamMomentCapacity(section, jacketedProperties)`** — Computes φMn for a beam strengthened with steel plate jacketing.
|
|
92
|
+
- **`calculateSteelJacketedBeamMomentCapacity(section, jacketedProperties)`** — Computes φMn for a beam strengthened with steel plate jacketing, as a `before` / `after` pair.
|
|
93
|
+
- **`plateInterfaceShearFlow(input)`** — Computes the shear flow `q = V·Q/I` (N/mm) to transfer across each concrete-to-plate interface, from a cracked (default) or uncracked elastic transformed section. Returns a per-plate `top` / `bottom` result, `null` where a plate is absent.
|
|
94
|
+
- **`boltShearCapacity(bolt)`** — Computes φVsa for one anchor bolt from the steel strength (ACI 318-19, 17.7.1.2b, φ per Table 17.5.3). Concrete breakout and pryout are not evaluated and must be checked separately.
|
|
95
|
+
- **`plateInterfaceBoltRequirement(input)`** — Computes the required bolt pitch and count at each interface, taking the larger of the shear-flow requirement (`s = n·φVbolt / q`) and the count needed to develop the full plate yield force, and reports which one governs.
|
|
96
|
+
|
|
97
|
+
Both plates are independently optional: a plate counts as present only when its width and thickness are both positive, so the same functions cover a bottom-only jacket and a top-and-bottom jacket. Use `hasTopPlate(props)` / `hasBottomPlate(props)` to test for presence.
|
|
91
98
|
|
|
92
99
|
### General Utilities
|
|
93
100
|
|
|
@@ -17,3 +17,9 @@ export declare const MAX_STIRRUP_SPACING_HIGH_VS = 300;
|
|
|
17
17
|
export declare const MAX_STIRRUP_SPACING_HIGH_VS_DEPTH_FACTOR = 0.25;
|
|
18
18
|
export declare const MIN_AV_SQRT_FC_COEFFICIENT = 0.062;
|
|
19
19
|
export declare const MIN_AV_ABSOLUTE_COEFFICIENT = 0.35;
|
|
20
|
+
export declare const ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR = 0.65;
|
|
21
|
+
export declare const ANCHOR_STEEL_SHEAR_COEFFICIENT = 0.6;
|
|
22
|
+
export declare const ANCHOR_FUTA_FYA_FACTOR = 1.9;
|
|
23
|
+
export declare const MAX_ANCHOR_FUTA = 860;
|
|
24
|
+
export declare const MIN_ANCHOR_SPACING_DIAMETER_FACTOR = 4;
|
|
25
|
+
export declare const MAX_PLATE_BOLT_SPACING = 300;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MIN_AV_ABSOLUTE_COEFFICIENT = exports.MIN_AV_SQRT_FC_COEFFICIENT = exports.MAX_STIRRUP_SPACING_HIGH_VS_DEPTH_FACTOR = exports.MAX_STIRRUP_SPACING_HIGH_VS = exports.MAX_STIRRUP_SPACING_LOW_VS_DEPTH_FACTOR = exports.MAX_STIRRUP_SPACING_LOW_VS = exports.VS_SPACING_THRESHOLD_COEFFICIENT = exports.MAX_VS_COEFFICIENT = exports.SQRT_FC_SHEAR_LIMIT = exports.CONCRETE_SHEAR_VC_COEFFICIENT = exports.SHEAR_STRENGTH_REDUCTION_FACTOR = exports.MIN_LAYER_CLEAR_SPACING = exports.AGGREGATE_SPACING_FACTOR = exports.MIN_BAR_CLEAR_SPACING = exports.DEFAULT_MAX_AGGREGATE_SIZE = exports.DEFAULT_STIRRUP_DIAMETER = exports.DEFAULT_BEAM_COVER = exports.CONCRETE_ULTIMATE_STRAIN = exports.FLEXURAL_STRENGTH_REDUCTION_FACTOR = void 0;
|
|
3
|
+
exports.MAX_PLATE_BOLT_SPACING = exports.MIN_ANCHOR_SPACING_DIAMETER_FACTOR = exports.MAX_ANCHOR_FUTA = exports.ANCHOR_FUTA_FYA_FACTOR = exports.ANCHOR_STEEL_SHEAR_COEFFICIENT = exports.ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR = exports.MIN_AV_ABSOLUTE_COEFFICIENT = exports.MIN_AV_SQRT_FC_COEFFICIENT = exports.MAX_STIRRUP_SPACING_HIGH_VS_DEPTH_FACTOR = exports.MAX_STIRRUP_SPACING_HIGH_VS = exports.MAX_STIRRUP_SPACING_LOW_VS_DEPTH_FACTOR = exports.MAX_STIRRUP_SPACING_LOW_VS = exports.VS_SPACING_THRESHOLD_COEFFICIENT = exports.MAX_VS_COEFFICIENT = exports.SQRT_FC_SHEAR_LIMIT = exports.CONCRETE_SHEAR_VC_COEFFICIENT = exports.SHEAR_STRENGTH_REDUCTION_FACTOR = exports.MIN_LAYER_CLEAR_SPACING = exports.AGGREGATE_SPACING_FACTOR = exports.MIN_BAR_CLEAR_SPACING = exports.DEFAULT_MAX_AGGREGATE_SIZE = exports.DEFAULT_STIRRUP_DIAMETER = exports.DEFAULT_BEAM_COVER = exports.CONCRETE_ULTIMATE_STRAIN = exports.FLEXURAL_STRENGTH_REDUCTION_FACTOR = void 0;
|
|
4
4
|
exports.FLEXURAL_STRENGTH_REDUCTION_FACTOR = 0.9;
|
|
5
5
|
exports.CONCRETE_ULTIMATE_STRAIN = 0.003;
|
|
6
6
|
// ACI 318-19 Table 20.6.1.3.1: cast-in-place beams, not exposed to weather or in contact with ground
|
|
@@ -32,4 +32,16 @@ exports.MAX_STIRRUP_SPACING_HIGH_VS_DEPTH_FACTOR = 0.25; // * d
|
|
|
32
32
|
// ACI 318-19 9.6.3.3: Av,min = max(0.062 * sqrt(fc') * bw * s / fyt, 0.35 * bw * s / fyt)
|
|
33
33
|
exports.MIN_AV_SQRT_FC_COEFFICIENT = 0.062;
|
|
34
34
|
exports.MIN_AV_ABSOLUTE_COEFFICIENT = 0.35;
|
|
35
|
+
// ACI 318-19 Table 17.5.3: strength reduction factor for anchor steel in shear
|
|
36
|
+
exports.ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR = 0.65;
|
|
37
|
+
// ACI 318-19 17.7.1.2b: Vsa = 0.6 * Ase,V * futa
|
|
38
|
+
exports.ANCHOR_STEEL_SHEAR_COEFFICIENT = 0.6;
|
|
39
|
+
// ACI 318-19 17.6.1.2: futa shall not exceed min(1.9 * fya, 860 MPa)
|
|
40
|
+
exports.ANCHOR_FUTA_FYA_FACTOR = 1.9;
|
|
41
|
+
exports.MAX_ANCHOR_FUTA = 860; // MPa
|
|
42
|
+
// ACI 318-19 17.9.2: min center-to-center spacing of cast-in anchors = 4 * da
|
|
43
|
+
exports.MIN_ANCHOR_SPACING_DIAMETER_FACTOR = 4;
|
|
44
|
+
// Practical detailing limit on bolt pitch along a bonded strengthening plate,
|
|
45
|
+
// so the plate is restrained against local buckling / peeling between fasteners
|
|
46
|
+
exports.MAX_PLATE_BOLT_SPACING = 300; // mm
|
|
35
47
|
//# sourceMappingURL=rc.constant.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rc.constant.js","sourceRoot":"","sources":["../../../src/core/constants/rc.constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,kCAAkC,GAAG,GAAG,CAAC;AACzC,QAAA,wBAAwB,GAAG,KAAK,CAAC;AAE9C,qGAAqG;AACxF,QAAA,kBAAkB,GAAG,EAAE,CAAC,CAAC,6BAA6B;AACtD,QAAA,wBAAwB,GAAG,EAAE,CAAC,CAAC,KAAK;AACpC,QAAA,0BAA0B,GAAG,EAAE,CAAC,CAAC,iCAAiC;AAE/E,wEAAwE;AAC3D,QAAA,qBAAqB,GAAG,EAAE,CAAC,CAAC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DAAuD;AAC1C,QAAA,uBAAuB,GAAG,EAAE,CAAC,CAAC,KAAK;AAEhD,yDAAyD;AAC5C,QAAA,+BAA+B,GAAG,IAAI,CAAC;AAEpD,kFAAkF;AACrE,QAAA,6BAA6B,GAAG,IAAI,CAAC;AAElD,gFAAgF;AAChF,6DAA6D;AAChD,QAAA,mBAAmB,GAAG,GAAG,CAAC,CAAC,MAAM;AAE9C,qEAAqE;AACxD,QAAA,kBAAkB,GAAG,IAAI,CAAC;AAEvC,yFAAyF;AAC5E,QAAA,gCAAgC,GAAG,IAAI,CAAC,CAAC,uBAAuB;AAE7E,6EAA6E;AAChE,QAAA,0BAA0B,GAAG,GAAG,CAAC,CAAC,KAAK;AACvC,QAAA,uCAAuC,GAAG,GAAG,CAAC,CAAC,MAAM;AAElE,4EAA4E;AAC/D,QAAA,2BAA2B,GAAG,GAAG,CAAC,CAAC,KAAK;AACxC,QAAA,wCAAwC,GAAG,IAAI,CAAC,CAAC,MAAM;AAEpE,0FAA0F;AAC7E,QAAA,0BAA0B,GAAG,KAAK,CAAC;AACnC,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEhD,+EAA+E;AAClE,QAAA,sCAAsC,GAAG,IAAI,CAAC;AAE3D,iDAAiD;AACpC,QAAA,8BAA8B,GAAG,GAAG,CAAC;AAElD,qEAAqE;AACxD,QAAA,sBAAsB,GAAG,GAAG,CAAC;AAC7B,QAAA,eAAe,GAAG,GAAG,CAAC,CAAC,MAAM;AAE1C,8EAA8E;AACjE,QAAA,kCAAkC,GAAG,CAAC,CAAC;AAEpD,8EAA8E;AAC9E,gFAAgF;AACnE,QAAA,sBAAsB,GAAG,GAAG,CAAC,CAAC,KAAK"}
|
|
@@ -32,5 +32,22 @@ exports.Errors = {
|
|
|
32
32
|
code: 105,
|
|
33
33
|
message: "Vs exceeds 0.66*sqrt(fc')*bw*d (ACI318-19, 22.5.1.2); section is too small for shear, increase bw or d.",
|
|
34
34
|
},
|
|
35
|
+
// 2XX : Strengthening / plate-to-concrete connection errors
|
|
36
|
+
NON_POSITIVE_SHEAR_FLOW: {
|
|
37
|
+
code: 201,
|
|
38
|
+
message: "Interface shear flow requires a positive shear force V and at least one jacketing plate with non-zero area.",
|
|
39
|
+
},
|
|
40
|
+
INVALID_BOLT_CAPACITY: {
|
|
41
|
+
code: 202,
|
|
42
|
+
message: "Resolved bolt shear capacity is not positive; check Ase, futa, or the supplied phiVboltOverride.",
|
|
43
|
+
},
|
|
44
|
+
PLATE_OUTSIDE_SECTION: {
|
|
45
|
+
code: 203,
|
|
46
|
+
message: "Inconsistent jacketed section geometry; plate and section dimensions must be positive and d must lie within h.",
|
|
47
|
+
},
|
|
48
|
+
CRACKED_NA_NOT_FOUND: {
|
|
49
|
+
code: 204,
|
|
50
|
+
message: "No valid cracked neutral axis was found within the concrete depth; check the section and plate properties.",
|
|
51
|
+
},
|
|
35
52
|
};
|
|
36
53
|
//# sourceMappingURL=rc-design.error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rc-design.error.js","sourceRoot":"","sources":["../../../src/core/errors/rc-design.error.ts"],"names":[],"mappings":";;;AAAA,MAAa,aAAc,SAAQ,KAAK;IAItC,YAAY,MAAyB,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE;QACxE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAC3B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACvD,CAAC;CACF;AAVD,sCAUC;AAOY,QAAA,MAAM,GAAsC;IACvD,8BAA8B;IAC9B,2BAA2B,EAAE;QAC3B,IAAI,EAAE,GAAG;QACT,OAAO,
|
|
1
|
+
{"version":3,"file":"rc-design.error.js","sourceRoot":"","sources":["../../../src/core/errors/rc-design.error.ts"],"names":[],"mappings":";;;AAAA,MAAa,aAAc,SAAQ,KAAK;IAItC,YAAY,MAAyB,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE;QACxE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAC3B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACvD,CAAC;CACF;AAVD,sCAUC;AAOY,QAAA,MAAM,GAAsC;IACvD,8BAA8B;IAC9B,2BAA2B,EAAE;QAC3B,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,sFAAsF;KAChG;IACD,0BAA0B,EAAE;QAC1B,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,kEAAkE;KAC5E;IACD,0BAA0B,EAAE;QAC1B,IAAI,EAAE,GAAG;QACT,OAAO,EACL,4GAA4G;KAC/G;IACD,iCAAiC,EAAE;QACjC,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,mEAAmE;KAC7E;IACD,0BAA0B,EAAE;QAC1B,IAAI,EAAE,GAAG;QACT,OAAO,EACL,yGAAyG;KAC5G;IAED,4DAA4D;IAC5D,uBAAuB,EAAE;QACvB,IAAI,EAAE,GAAG;QACT,OAAO,EACL,6GAA6G;KAChH;IACD,qBAAqB,EAAE;QACrB,IAAI,EAAE,GAAG;QACT,OAAO,EACL,kGAAkG;KACrG;IACD,qBAAqB,EAAE;QACrB,IAAI,EAAE,GAAG;QACT,OAAO,EACL,gHAAgH;KACnH;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE,GAAG;QACT,OAAO,EACL,4GAA4G;KAC/G;CACF,CAAC"}
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export type { RectBeamSection, RectSinglyBeamSection, RectDoublyBeamSection, RectShearSection, StirrupShearSection, ShearReinforcementCheckInput, RebarGroupInput, RectBeamBarLayoutInput, } from "./types/rc-beam.type";
|
|
2
2
|
export { isSinglyReinforced } from "./types/rc-beam.type";
|
|
3
|
-
export type { SteelJacketedProps } from "./types/plate-jacketing.type";
|
|
3
|
+
export type { SteelJacketedProps, SectionState, PlateShearFlowInput, BoltProps, PlateInterfaceBoltInput, } from "./types/plate-jacketing.type";
|
|
4
|
+
export { hasTopPlate, hasBottomPlate } from "./types/plate-jacketing.type";
|
|
4
5
|
export type { Warnings, calculationResult } from "./types/output-message.type";
|
|
5
6
|
export type { unit } from "./types/unit.type";
|
|
6
|
-
export { FLEXURAL_STRENGTH_REDUCTION_FACTOR, CONCRETE_ULTIMATE_STRAIN, SHEAR_STRENGTH_REDUCTION_FACTOR, } from "./constants/rc.constant";
|
|
7
|
+
export { FLEXURAL_STRENGTH_REDUCTION_FACTOR, CONCRETE_ULTIMATE_STRAIN, SHEAR_STRENGTH_REDUCTION_FACTOR, ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR, MAX_PLATE_BOLT_SPACING, } from "./constants/rc.constant";
|
|
7
8
|
export { RCDesignError, Errors } from "./errors/rc-design.error";
|
package/dist/core/index.js
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Errors = exports.RCDesignError = exports.SHEAR_STRENGTH_REDUCTION_FACTOR = exports.CONCRETE_ULTIMATE_STRAIN = exports.FLEXURAL_STRENGTH_REDUCTION_FACTOR = exports.isSinglyReinforced = void 0;
|
|
3
|
+
exports.Errors = exports.RCDesignError = exports.MAX_PLATE_BOLT_SPACING = exports.ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR = exports.SHEAR_STRENGTH_REDUCTION_FACTOR = exports.CONCRETE_ULTIMATE_STRAIN = exports.FLEXURAL_STRENGTH_REDUCTION_FACTOR = exports.hasBottomPlate = exports.hasTopPlate = exports.isSinglyReinforced = void 0;
|
|
4
4
|
var rc_beam_type_1 = require("./types/rc-beam.type");
|
|
5
5
|
Object.defineProperty(exports, "isSinglyReinforced", { enumerable: true, get: function () { return rc_beam_type_1.isSinglyReinforced; } });
|
|
6
|
+
var plate_jacketing_type_1 = require("./types/plate-jacketing.type");
|
|
7
|
+
Object.defineProperty(exports, "hasTopPlate", { enumerable: true, get: function () { return plate_jacketing_type_1.hasTopPlate; } });
|
|
8
|
+
Object.defineProperty(exports, "hasBottomPlate", { enumerable: true, get: function () { return plate_jacketing_type_1.hasBottomPlate; } });
|
|
6
9
|
// Constants
|
|
7
10
|
var rc_constant_1 = require("./constants/rc.constant");
|
|
8
11
|
Object.defineProperty(exports, "FLEXURAL_STRENGTH_REDUCTION_FACTOR", { enumerable: true, get: function () { return rc_constant_1.FLEXURAL_STRENGTH_REDUCTION_FACTOR; } });
|
|
9
12
|
Object.defineProperty(exports, "CONCRETE_ULTIMATE_STRAIN", { enumerable: true, get: function () { return rc_constant_1.CONCRETE_ULTIMATE_STRAIN; } });
|
|
10
13
|
Object.defineProperty(exports, "SHEAR_STRENGTH_REDUCTION_FACTOR", { enumerable: true, get: function () { return rc_constant_1.SHEAR_STRENGTH_REDUCTION_FACTOR; } });
|
|
14
|
+
Object.defineProperty(exports, "ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR", { enumerable: true, get: function () { return rc_constant_1.ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR; } });
|
|
15
|
+
Object.defineProperty(exports, "MAX_PLATE_BOLT_SPACING", { enumerable: true, get: function () { return rc_constant_1.MAX_PLATE_BOLT_SPACING; } });
|
|
11
16
|
// Errors
|
|
12
17
|
var rc_design_error_1 = require("./errors/rc-design.error");
|
|
13
18
|
Object.defineProperty(exports, "RCDesignError", { enumerable: true, get: function () { return rc_design_error_1.RCDesignError; } });
|
package/dist/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";;;AAWA,qDAA0D;AAAjD,kHAAA,kBAAkB,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";;;AAWA,qDAA0D;AAAjD,kHAAA,kBAAkB,OAAA;AAQ3B,qEAA2E;AAAlE,mHAAA,WAAW,OAAA;AAAE,sHAAA,cAAc,OAAA;AAIpC,YAAY;AACZ,uDAMiC;AAL/B,iIAAA,kCAAkC,OAAA;AAClC,uHAAA,wBAAwB,OAAA;AACxB,8HAAA,+BAA+B,OAAA;AAC/B,qIAAA,sCAAsC,OAAA;AACtC,qHAAA,sBAAsB,OAAA;AAGxB,SAAS;AACT,4DAAiE;AAAxD,gHAAA,aAAa,OAAA;AAAE,yGAAA,MAAM,OAAA"}
|
|
@@ -1,8 +1,35 @@
|
|
|
1
|
+
import { RectBeamSection } from "./rc-beam.type";
|
|
1
2
|
export interface SteelJacketedProps {
|
|
2
3
|
Es: number;
|
|
3
4
|
fy: number;
|
|
4
|
-
topSteelWidth
|
|
5
|
-
topSteelThickness
|
|
6
|
-
bottomSteelWidth
|
|
7
|
-
bottomSteelThickness
|
|
5
|
+
topSteelWidth?: number;
|
|
6
|
+
topSteelThickness?: number;
|
|
7
|
+
bottomSteelWidth?: number;
|
|
8
|
+
bottomSteelThickness?: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A plate counts as present only when both its width and thickness are positive,
|
|
12
|
+
* so a bottom-only jacket may omit the top plate fields or pass them as zero.
|
|
13
|
+
*/
|
|
14
|
+
export declare function hasTopPlate(props: SteelJacketedProps): boolean;
|
|
15
|
+
export declare function hasBottomPlate(props: SteelJacketedProps): boolean;
|
|
16
|
+
export type SectionState = "cracked" | "uncracked";
|
|
17
|
+
export interface PlateShearFlowInput {
|
|
18
|
+
section: RectBeamSection;
|
|
19
|
+
plates: SteelJacketedProps;
|
|
20
|
+
V: number;
|
|
21
|
+
sectionState?: SectionState;
|
|
22
|
+
}
|
|
23
|
+
export interface BoltProps {
|
|
24
|
+
Ase: number;
|
|
25
|
+
futa: number;
|
|
26
|
+
fya?: number;
|
|
27
|
+
diameter?: number;
|
|
28
|
+
shearPlanes?: number;
|
|
29
|
+
phiVboltOverride?: number;
|
|
30
|
+
}
|
|
31
|
+
export interface PlateInterfaceBoltInput extends PlateShearFlowInput {
|
|
32
|
+
bolt: BoltProps;
|
|
33
|
+
boltsPerRow: number;
|
|
34
|
+
transferLength: number;
|
|
8
35
|
}
|
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.hasTopPlate = hasTopPlate;
|
|
4
|
+
exports.hasBottomPlate = hasBottomPlate;
|
|
5
|
+
/**
|
|
6
|
+
* A plate counts as present only when both its width and thickness are positive,
|
|
7
|
+
* so a bottom-only jacket may omit the top plate fields or pass them as zero.
|
|
8
|
+
*/
|
|
9
|
+
function hasTopPlate(props) {
|
|
10
|
+
return (props.topSteelWidth ?? 0) > 0 && (props.topSteelThickness ?? 0) > 0;
|
|
11
|
+
}
|
|
12
|
+
function hasBottomPlate(props) {
|
|
13
|
+
return (props.bottomSteelWidth ?? 0) > 0 && (props.bottomSteelThickness ?? 0) > 0;
|
|
14
|
+
}
|
|
3
15
|
//# sourceMappingURL=plate-jacketing.type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plate-jacketing.type.js","sourceRoot":"","sources":["../../../src/core/types/plate-jacketing.type.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"plate-jacketing.type.js","sourceRoot":"","sources":["../../../src/core/types/plate-jacketing.type.ts"],"names":[],"mappings":";;AAeA,kCAEC;AAED,wCAEC;AAVD;;;GAGG;AACH,SAAgB,WAAW,CAAC,KAAyB;IACnD,OAAO,CAAC,KAAK,CAAC,aAAa,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,iBAAiB,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;AAC9E,CAAC;AAED,SAAgB,cAAc,CAAC,KAAyB;IACtD,OAAO,CAAC,KAAK,CAAC,gBAAgB,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,oBAAoB,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;AACpF,CAAC"}
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isSinglyReinforced = isSinglyReinforced;
|
|
4
4
|
function isSinglyReinforced(section) {
|
|
5
|
-
return
|
|
6
|
-
!("d_" in section) ||
|
|
7
|
-
section.As_ <= 0 ||
|
|
8
|
-
section.d_ <= 0);
|
|
5
|
+
return !("As_" in section) || !("d_" in section) || section.As_ <= 0 || section.d_ <= 0;
|
|
9
6
|
}
|
|
10
7
|
//# sourceMappingURL=rc-beam.type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rc-beam.type.js","sourceRoot":"","sources":["../../../src/core/types/rc-beam.type.ts"],"names":[],"mappings":";;AAoDA,
|
|
1
|
+
{"version":3,"file":"rc-beam.type.js","sourceRoot":"","sources":["../../../src/core/types/rc-beam.type.ts"],"names":[],"mappings":";;AAoDA,gDAEC;AAFD,SAAgB,kBAAkB,CAAC,OAAwB;IACzD,OAAO,CAAC,CAAC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC;AAC1F,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { rectBeamMomentCapacity, rectBeamBarLayout, concreteBeta, concreteElasticModulus, psiToMpa, } from "./rc";
|
|
2
|
-
export { calculateSteelJacketedBeamMomentCapacity } from "./strengthening";
|
|
3
|
-
export type { RectBeamSection, RectSinglyBeamSection, RectDoublyBeamSection, RebarGroupInput, RectBeamBarLayoutInput, SteelJacketedProps, Warnings, calculationResult, unit, } from "./core";
|
|
4
|
-
export { isSinglyReinforced, FLEXURAL_STRENGTH_REDUCTION_FACTOR, CONCRETE_ULTIMATE_STRAIN, RCDesignError, Errors, } from "./core";
|
|
1
|
+
export { rectBeamMomentCapacity, rectBeamBarLayout, concreteShearCapacity, stirrupShearCapacity, checkStirrupRequirement, concreteBeta, concreteElasticModulus, psiToMpa, } from "./rc";
|
|
2
|
+
export { calculateSteelJacketedBeamMomentCapacity, plateInterfaceShearFlow, boltShearCapacity, plateInterfaceBoltRequirement, } from "./strengthening";
|
|
3
|
+
export type { RectBeamSection, RectSinglyBeamSection, RectDoublyBeamSection, RectShearSection, StirrupShearSection, ShearReinforcementCheckInput, RebarGroupInput, RectBeamBarLayoutInput, SteelJacketedProps, SectionState, PlateShearFlowInput, BoltProps, PlateInterfaceBoltInput, Warnings, calculationResult, unit, } from "./core";
|
|
4
|
+
export { isSinglyReinforced, hasTopPlate, hasBottomPlate, FLEXURAL_STRENGTH_REDUCTION_FACTOR, CONCRETE_ULTIMATE_STRAIN, SHEAR_STRENGTH_REDUCTION_FACTOR, ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR, MAX_PLATE_BOLT_SPACING, RCDesignError, Errors, } from "./core";
|
|
5
5
|
export { solveQuadratic, roundToDecimalPlaces, mergeWarnings } from "./utils";
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mergeWarnings = exports.roundToDecimalPlaces = exports.solveQuadratic = exports.Errors = exports.RCDesignError = exports.CONCRETE_ULTIMATE_STRAIN = exports.FLEXURAL_STRENGTH_REDUCTION_FACTOR = exports.isSinglyReinforced = exports.calculateSteelJacketedBeamMomentCapacity = exports.psiToMpa = exports.concreteElasticModulus = exports.concreteBeta = exports.rectBeamBarLayout = exports.rectBeamMomentCapacity = void 0;
|
|
3
|
+
exports.mergeWarnings = exports.roundToDecimalPlaces = exports.solveQuadratic = exports.Errors = exports.RCDesignError = exports.MAX_PLATE_BOLT_SPACING = exports.ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR = exports.SHEAR_STRENGTH_REDUCTION_FACTOR = exports.CONCRETE_ULTIMATE_STRAIN = exports.FLEXURAL_STRENGTH_REDUCTION_FACTOR = exports.hasBottomPlate = exports.hasTopPlate = exports.isSinglyReinforced = exports.plateInterfaceBoltRequirement = exports.boltShearCapacity = exports.plateInterfaceShearFlow = exports.calculateSteelJacketedBeamMomentCapacity = exports.psiToMpa = exports.concreteElasticModulus = exports.concreteBeta = exports.checkStirrupRequirement = exports.stirrupShearCapacity = exports.concreteShearCapacity = exports.rectBeamBarLayout = exports.rectBeamMomentCapacity = void 0;
|
|
4
4
|
// RC Beam Design
|
|
5
5
|
var rc_1 = require("./rc");
|
|
6
6
|
Object.defineProperty(exports, "rectBeamMomentCapacity", { enumerable: true, get: function () { return rc_1.rectBeamMomentCapacity; } });
|
|
7
7
|
Object.defineProperty(exports, "rectBeamBarLayout", { enumerable: true, get: function () { return rc_1.rectBeamBarLayout; } });
|
|
8
|
+
Object.defineProperty(exports, "concreteShearCapacity", { enumerable: true, get: function () { return rc_1.concreteShearCapacity; } });
|
|
9
|
+
Object.defineProperty(exports, "stirrupShearCapacity", { enumerable: true, get: function () { return rc_1.stirrupShearCapacity; } });
|
|
10
|
+
Object.defineProperty(exports, "checkStirrupRequirement", { enumerable: true, get: function () { return rc_1.checkStirrupRequirement; } });
|
|
8
11
|
Object.defineProperty(exports, "concreteBeta", { enumerable: true, get: function () { return rc_1.concreteBeta; } });
|
|
9
12
|
Object.defineProperty(exports, "concreteElasticModulus", { enumerable: true, get: function () { return rc_1.concreteElasticModulus; } });
|
|
10
13
|
Object.defineProperty(exports, "psiToMpa", { enumerable: true, get: function () { return rc_1.psiToMpa; } });
|
|
11
14
|
// Strengthening
|
|
12
15
|
var strengthening_1 = require("./strengthening");
|
|
13
16
|
Object.defineProperty(exports, "calculateSteelJacketedBeamMomentCapacity", { enumerable: true, get: function () { return strengthening_1.calculateSteelJacketedBeamMomentCapacity; } });
|
|
17
|
+
Object.defineProperty(exports, "plateInterfaceShearFlow", { enumerable: true, get: function () { return strengthening_1.plateInterfaceShearFlow; } });
|
|
18
|
+
Object.defineProperty(exports, "boltShearCapacity", { enumerable: true, get: function () { return strengthening_1.boltShearCapacity; } });
|
|
19
|
+
Object.defineProperty(exports, "plateInterfaceBoltRequirement", { enumerable: true, get: function () { return strengthening_1.plateInterfaceBoltRequirement; } });
|
|
14
20
|
var core_1 = require("./core");
|
|
15
21
|
Object.defineProperty(exports, "isSinglyReinforced", { enumerable: true, get: function () { return core_1.isSinglyReinforced; } });
|
|
22
|
+
Object.defineProperty(exports, "hasTopPlate", { enumerable: true, get: function () { return core_1.hasTopPlate; } });
|
|
23
|
+
Object.defineProperty(exports, "hasBottomPlate", { enumerable: true, get: function () { return core_1.hasBottomPlate; } });
|
|
16
24
|
Object.defineProperty(exports, "FLEXURAL_STRENGTH_REDUCTION_FACTOR", { enumerable: true, get: function () { return core_1.FLEXURAL_STRENGTH_REDUCTION_FACTOR; } });
|
|
17
25
|
Object.defineProperty(exports, "CONCRETE_ULTIMATE_STRAIN", { enumerable: true, get: function () { return core_1.CONCRETE_ULTIMATE_STRAIN; } });
|
|
26
|
+
Object.defineProperty(exports, "SHEAR_STRENGTH_REDUCTION_FACTOR", { enumerable: true, get: function () { return core_1.SHEAR_STRENGTH_REDUCTION_FACTOR; } });
|
|
27
|
+
Object.defineProperty(exports, "ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR", { enumerable: true, get: function () { return core_1.ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR; } });
|
|
28
|
+
Object.defineProperty(exports, "MAX_PLATE_BOLT_SPACING", { enumerable: true, get: function () { return core_1.MAX_PLATE_BOLT_SPACING; } });
|
|
18
29
|
Object.defineProperty(exports, "RCDesignError", { enumerable: true, get: function () { return core_1.RCDesignError; } });
|
|
19
30
|
Object.defineProperty(exports, "Errors", { enumerable: true, get: function () { return core_1.Errors; } });
|
|
20
31
|
// Utilities
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,iBAAiB;AACjB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,iBAAiB;AACjB,2BASc;AARZ,4GAAA,sBAAsB,OAAA;AACtB,uGAAA,iBAAiB,OAAA;AACjB,2GAAA,qBAAqB,OAAA;AACrB,0GAAA,oBAAoB,OAAA;AACpB,6GAAA,uBAAuB,OAAA;AACvB,kGAAA,YAAY,OAAA;AACZ,4GAAA,sBAAsB,OAAA;AACtB,8FAAA,QAAQ,OAAA;AAGV,gBAAgB;AAChB,iDAKyB;AAJvB,yIAAA,wCAAwC,OAAA;AACxC,wHAAA,uBAAuB,OAAA;AACvB,kHAAA,iBAAiB,OAAA;AACjB,8HAAA,6BAA6B,OAAA;AAuB/B,+BAWgB;AAVd,0GAAA,kBAAkB,OAAA;AAClB,mGAAA,WAAW,OAAA;AACX,sGAAA,cAAc,OAAA;AACd,0HAAA,kCAAkC,OAAA;AAClC,gHAAA,wBAAwB,OAAA;AACxB,uHAAA,+BAA+B,OAAA;AAC/B,8HAAA,sCAAsC,OAAA;AACtC,8GAAA,sBAAsB,OAAA;AACtB,qGAAA,aAAa,OAAA;AACb,8FAAA,MAAM,OAAA;AAGR,YAAY;AACZ,iCAA8E;AAArE,uGAAA,cAAc,OAAA;AAAE,6GAAA,oBAAoB,OAAA;AAAE,sGAAA,aAAa,OAAA"}
|
package/dist/rc/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rc/index.ts"],"names":[],"mappings":";;;AAAA,mDAK0B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rc/index.ts"],"names":[],"mappings":";;;AAAA,mDAK0B;AAJxB,wHAAA,sBAAsB,OAAA;AACtB,uHAAA,qBAAqB,OAAA;AACrB,sHAAA,oBAAoB,OAAA;AACpB,yHAAA,uBAAuB,OAAA;AAEzB,qCAA2E;AAAlE,uGAAA,YAAY,OAAA;AAAE,iHAAA,sBAAsB,OAAA;AAAE,mGAAA,QAAQ,OAAA;AACvD,iDAAoD;AAA3C,kHAAA,iBAAiB,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rc-bar-layout.js","sourceRoot":"","sources":["../../src/rc/rc-bar-layout.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAyE;AACzE,wDAA0C;
|
|
1
|
+
{"version":3,"file":"rc-bar-layout.js","sourceRoot":"","sources":["../../src/rc/rc-bar-layout.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAyE;AACzE,wDAA0C;AAM1C,6EAA+D;AAU/D;;;;;GAKG;AACH,MAAM,uBAAuB,GAAG,CAC9B,KAAsB,EACtB,CAAS,EACT,KAAa,EACb,eAAuB,EACvB,gBAAwB,EACR,EAAE;IAClB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAElC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QACf,OAAO;YACL,cAAc,EAAE,CAAC;YACjB,YAAY,EAAE,EAAE;YAChB,gBAAgB,EAAE,CAAC;YACnB,WAAW,EAAE,CAAC;YACd,EAAE,EAAE,CAAC;SACN,CAAC;IACJ,CAAC;IAED,MAAM,eAAe,GAAG,IAAI,CAAC,GAAG,CAC9B,WAAW,CAAC,qBAAqB,EACjC,QAAQ,EAC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AE,CAAC,CAAC;QACxD,GAAG,EAAE;YACH,cAAc,EAAE,GAAG,CAAC,cAAc;YAClC,YAAY,EAAE,GAAG,CAAC,YAAY;YAC9B,EAAE,EAAE,MAAM,CAAC,oBAAoB,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC;SAC3C;QACD,MAAM,EAAE;YACN,cAAc,EAAE,MAAM,CAAC,cAAc;YACrC,YAAY,EAAE,MAAM,CAAC,YAAY;YACjC,EAAE,EAAE,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;SAC9C;QACD,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,QAAQ;KACnB,CAAC;AACJ,CAAC,CAAC;AAzCW,QAAA,iBAAiB,qBAyC5B"}
|
|
@@ -132,11 +132,7 @@ const concreteShearCapacity = (section) => {
|
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
134
|
const cappedSqrtFc = Math.min(sqrtFc, RCConstants.SQRT_FC_SHEAR_LIMIT);
|
|
135
|
-
const Vc = RCConstants.CONCRETE_SHEAR_VC_COEFFICIENT *
|
|
136
|
-
lambda *
|
|
137
|
-
cappedSqrtFc *
|
|
138
|
-
section.bw *
|
|
139
|
-
section.d; // N
|
|
135
|
+
const Vc = RCConstants.CONCRETE_SHEAR_VC_COEFFICIENT * lambda * cappedSqrtFc * section.bw * section.d; // N
|
|
140
136
|
return {
|
|
141
137
|
phiVc: MyMath.roundToDecimalPlaces(RCConstants.SHEAR_STRENGTH_REDUCTION_FACTOR * Vc * 0.001, 2),
|
|
142
138
|
calculationDetails: {
|
|
@@ -217,14 +213,13 @@ const checkStirrupRequirement = (input) => {
|
|
|
217
213
|
}
|
|
218
214
|
else {
|
|
219
215
|
const requiredVs = Vu / RCConstants.SHEAR_STRENGTH_REDUCTION_FACTOR - Vc; // kN
|
|
220
|
-
const maxVs =
|
|
216
|
+
const maxVs = RCConstants.MAX_VS_COEFFICIENT * sqrtFc * bw * d * 0.001; // kN
|
|
221
217
|
if (requiredVs > maxVs) {
|
|
222
218
|
throw new rc_design_error_1.RCDesignError(rc_design_error_1.Errors.SHEAR_STRENGTH_EXCEEDS_MAX);
|
|
223
219
|
}
|
|
224
220
|
const strengthAvOverS = (requiredVs * 1000) / (fyt * d); // mm^2/mm
|
|
225
221
|
requiredAvOverS = Math.max(minAvOverS, strengthAvOverS);
|
|
226
|
-
const vsThreshold =
|
|
227
|
-
0.001; // kN
|
|
222
|
+
const vsThreshold = RCConstants.VS_SPACING_THRESHOLD_COEFFICIENT * sqrtFc * bw * d * 0.001; // kN
|
|
228
223
|
maxSpacing =
|
|
229
224
|
requiredVs <= vsThreshold
|
|
230
225
|
? Math.min(RCConstants.MAX_STIRRUP_SPACING_LOW_VS_DEPTH_FACTOR * d, RCConstants.MAX_STIRRUP_SPACING_LOW_VS)
|
|
@@ -269,8 +264,7 @@ const calculateRectSinglyMn = (singlySection) => {
|
|
|
269
264
|
const a = Ac / b;
|
|
270
265
|
const c = a / beta1;
|
|
271
266
|
const tensileSteelStrain = (RCConstants.CONCRETE_ULTIMATE_STRAIN * (d - c)) / c;
|
|
272
|
-
if (tensileSteelStrain <
|
|
273
|
-
steelYieldStrain + RCConstants.CONCRETE_ULTIMATE_STRAIN) {
|
|
267
|
+
if (tensileSteelStrain < steelYieldStrain + RCConstants.CONCRETE_ULTIMATE_STRAIN) {
|
|
274
268
|
throw new rc_design_error_1.RCDesignError(rc_design_error_1.Errors.TENSILE_STEEL_NOT_YIELDING);
|
|
275
269
|
}
|
|
276
270
|
const y_ = a / 2;
|
|
@@ -297,8 +291,7 @@ const calculateRectDoublyMn = (doublySection) => {
|
|
|
297
291
|
const a = c * beta1;
|
|
298
292
|
const tensileSteelStrain = (RCConstants.CONCRETE_ULTIMATE_STRAIN * (d - c)) / c;
|
|
299
293
|
const compressionSteelStrain = (RCConstants.CONCRETE_ULTIMATE_STRAIN * (c - d_)) / c;
|
|
300
|
-
if (tensileSteelStrain <
|
|
301
|
-
steelYieldStrain + RCConstants.CONCRETE_ULTIMATE_STRAIN) {
|
|
294
|
+
if (tensileSteelStrain < steelYieldStrain + RCConstants.CONCRETE_ULTIMATE_STRAIN) {
|
|
302
295
|
throw new rc_design_error_1.RCDesignError(rc_design_error_1.Errors.TENSILE_STEEL_NOT_YIELDING);
|
|
303
296
|
}
|
|
304
297
|
if (d_ > c) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rc-beam-design.js","sourceRoot":"","sources":["../../src/rc/rc-beam-design.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAyE;AACzE,wDAA0C;AAE1C,+DAQsC;
|
|
1
|
+
{"version":3,"file":"rc-beam-design.js","sourceRoot":"","sources":["../../src/rc/rc-beam-design.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAyE;AACzE,wDAA0C;AAE1C,+DAQsC;AAItC,6EAA+D;AAE/D,uCAAiE;AAEjE;;;;;;;;;GASG;AACI,MAAM,sBAAsB,GAAG,CAAC,OAAwB,EAAE,EAAE;IACjE,MAAM,QAAQ,GAAa,EAAE,CAAC;IAC9B,MAAM,sBAAsB,GAAG,WAAW,CAAC,wBAAwB,CAAC;IACpE,MAAM,gBAAgB,GAAG,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACjD,MAAM,KAAK,GAAG,IAAA,sBAAY,EAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACxC,MAAM,EAAE,GAAG,IAAA,gCAAsB,EAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC/C,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CACvB,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,EAAE,EACpE,CAAC,GAAG,GAAG,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AG,CAAC,CAAC;IACjB,MAAM,GAAG,GAAG,EAAE,GAAG,sBAAsB,CAAC;IAExC,OAAO;QACL,EAAE,EAAE,CAAC,IAAI,GAAG,GAAG,GAAG,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,GAAG,KAAK,GAAG,KAAK,EAAE,kBAAkB;QAC3F,kBAAkB,EAAE;YAClB,CAAC,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC;YACpC,CAAC,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC;YACpC,KAAK,EAAE,MAAM,CAAC,oBAAoB,CAAC,KAAK,EAAE,CAAC,CAAC;YAC5C,CAAC,EAAE,CAAC;YACJ,EAAE,EAAE,EAAE;YACN,EAAE,EAAE,EAAE;YACN,GAAG,EAAE,GAAG;YACR,GAAG,EAAE,MAAM,CAAC,oBAAoB,CAAC,GAAG,EAAE,CAAC,CAAC;YACxC,EAAE,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;YAChD,GAAG,EAAE,MAAM,CAAC,oBAAoB,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,iCAAiC;SAC7F;QACD,QAAQ,EAAE,QAAQ;KACnB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.calculateSteelJacketedBeamMomentCapacity = void 0;
|
|
3
|
+
exports.plateInterfaceBoltRequirement = exports.boltShearCapacity = exports.plateInterfaceShearFlow = exports.calculateSteelJacketedBeamMomentCapacity = void 0;
|
|
4
4
|
var rc_beam_steel_plate_jacketing_1 = require("./rc-beam-steel-plate-jacketing");
|
|
5
5
|
Object.defineProperty(exports, "calculateSteelJacketedBeamMomentCapacity", { enumerable: true, get: function () { return rc_beam_steel_plate_jacketing_1.calculateSteelJacketedBeamMomentCapacity; } });
|
|
6
|
+
var rc_beam_plate_interface_bolts_1 = require("./rc-beam-plate-interface-bolts");
|
|
7
|
+
Object.defineProperty(exports, "plateInterfaceShearFlow", { enumerable: true, get: function () { return rc_beam_plate_interface_bolts_1.plateInterfaceShearFlow; } });
|
|
8
|
+
Object.defineProperty(exports, "boltShearCapacity", { enumerable: true, get: function () { return rc_beam_plate_interface_bolts_1.boltShearCapacity; } });
|
|
9
|
+
Object.defineProperty(exports, "plateInterfaceBoltRequirement", { enumerable: true, get: function () { return rc_beam_plate_interface_bolts_1.plateInterfaceBoltRequirement; } });
|
|
6
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/strengthening/index.ts"],"names":[],"mappings":";;;AAAA,iFAA2F;AAAlF,yJAAA,wCAAwC,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/strengthening/index.ts"],"names":[],"mappings":";;;AAAA,iFAA2F;AAAlF,yJAAA,wCAAwC,OAAA;AACjD,iFAIyC;AAHvC,wIAAA,uBAAuB,OAAA;AACvB,kIAAA,iBAAiB,OAAA;AACjB,8IAAA,6BAA6B,OAAA"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { SectionState, BoltProps, PlateShearFlowInput, PlateInterfaceBoltInput } from "../core/types/plate-jacketing.type";
|
|
2
|
+
import { Warnings } from "../core/types/output-message.type";
|
|
3
|
+
/**
|
|
4
|
+
* Calculates the horizontal shear flow that must be transferred across each
|
|
5
|
+
* concrete-to-plate interface of a steel plate jacketed beam, q = V·Q/I, using an
|
|
6
|
+
* elastic transformed section.
|
|
7
|
+
*
|
|
8
|
+
* `Q` at an interface is the first moment of the area beyond that cut — the plate
|
|
9
|
+
* itself — while `ybar` and `Itr` come from one solve that includes every plate
|
|
10
|
+
* present, so adding a top plate also changes the bottom interface shear flow.
|
|
11
|
+
*
|
|
12
|
+
* @param input - Section, plate properties, factored shear V (kN), and section state
|
|
13
|
+
* @returns Object containing per-interface `top`/`bottom` shear flow (`null` when the
|
|
14
|
+
* plate is absent), `calculationDetails`, `unit`, and `warnings`
|
|
15
|
+
* @throws {RCDesignError} If V is not positive or no plate is present (201), the
|
|
16
|
+
* geometry is inconsistent (203), or no cracked neutral axis exists (204)
|
|
17
|
+
*/
|
|
18
|
+
export declare const plateInterfaceShearFlow: (input: PlateShearFlowInput) => {
|
|
19
|
+
top: {
|
|
20
|
+
q: number;
|
|
21
|
+
Q: number;
|
|
22
|
+
leverArm: number;
|
|
23
|
+
} | null;
|
|
24
|
+
bottom: {
|
|
25
|
+
q: number;
|
|
26
|
+
Q: number;
|
|
27
|
+
leverArm: number;
|
|
28
|
+
} | null;
|
|
29
|
+
calculationDetails: {
|
|
30
|
+
Ec: number;
|
|
31
|
+
ns: number;
|
|
32
|
+
np: number;
|
|
33
|
+
ybar: number;
|
|
34
|
+
Itr: number;
|
|
35
|
+
sectionState: SectionState;
|
|
36
|
+
};
|
|
37
|
+
unit: string;
|
|
38
|
+
warnings: Warnings;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Calculates the design shear strength of a single anchor bolt from the steel
|
|
42
|
+
* strength per ACI 318-19 17.7.1.2b, Vsa = 0.6 Ase,V futa, with φ = 0.65 from
|
|
43
|
+
* Table 17.5.3 and the futa cap of 17.6.1.2.
|
|
44
|
+
*
|
|
45
|
+
* Concrete breakout (17.7.2) and pryout (17.7.3) depend on edge distances, anchor
|
|
46
|
+
* spacing and embedment depth, and are NOT evaluated here — a warning always says so.
|
|
47
|
+
* Supply `phiVboltOverride` to use a manufacturer or ESR value instead.
|
|
48
|
+
*
|
|
49
|
+
* @param bolt - Anchor properties (Ase, futa, optional fya, diameter, shearPlanes, override)
|
|
50
|
+
* @returns Object containing `phiVbolt` (kN), `calculationDetails`, `unit`, and `warnings`
|
|
51
|
+
* @throws {RCDesignError} If the resolved capacity is not positive (202)
|
|
52
|
+
*/
|
|
53
|
+
export declare const boltShearCapacity: (bolt: BoltProps) => {
|
|
54
|
+
phiVbolt: number;
|
|
55
|
+
calculationDetails: {
|
|
56
|
+
source: string;
|
|
57
|
+
shearPlanes: number;
|
|
58
|
+
Vsa?: undefined;
|
|
59
|
+
futaEffective?: undefined;
|
|
60
|
+
};
|
|
61
|
+
unit: string;
|
|
62
|
+
warnings: Warnings;
|
|
63
|
+
} | {
|
|
64
|
+
phiVbolt: number;
|
|
65
|
+
calculationDetails: {
|
|
66
|
+
source: string;
|
|
67
|
+
Vsa: number;
|
|
68
|
+
futaEffective: number;
|
|
69
|
+
shearPlanes: number;
|
|
70
|
+
};
|
|
71
|
+
unit: string;
|
|
72
|
+
warnings: Warnings;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Determines the bolts required to transfer horizontal shear across each
|
|
76
|
+
* concrete-to-plate interface of a steel plate jacketed beam.
|
|
77
|
+
*
|
|
78
|
+
* For each plate present, the required bolt pitch follows from the interface shear
|
|
79
|
+
* flow (s = n·φVbolt / q) and the bolt count is taken as the larger of that pitch
|
|
80
|
+
* over the transfer length and the count needed to develop the full plate yield
|
|
81
|
+
* force (Ap·fy / φVbolt). `governedBy` reports which one controls.
|
|
82
|
+
*
|
|
83
|
+
* @param input - Section, plates, V (kN), bolt properties, bolts per row, and transfer length (mm)
|
|
84
|
+
* @returns Object containing per-interface `top`/`bottom` results (`null` when the plate
|
|
85
|
+
* is absent), `calculationDetails`, `unit`, and `warnings`
|
|
86
|
+
* @throws {RCDesignError} If V is not positive or no plate is present (201), the bolt
|
|
87
|
+
* capacity is invalid (202), the geometry is inconsistent (203), or no cracked
|
|
88
|
+
* neutral axis exists (204)
|
|
89
|
+
*/
|
|
90
|
+
export declare const plateInterfaceBoltRequirement: (input: PlateInterfaceBoltInput) => {
|
|
91
|
+
top: {
|
|
92
|
+
q: number;
|
|
93
|
+
Q: number;
|
|
94
|
+
leverArm: number;
|
|
95
|
+
requiredSpacing: number;
|
|
96
|
+
boltCount: number;
|
|
97
|
+
governedBy: string;
|
|
98
|
+
calculationDetails: {
|
|
99
|
+
spacingFromShearFlow: number;
|
|
100
|
+
rows: number;
|
|
101
|
+
boltCountFromShearFlow: number;
|
|
102
|
+
boltCountFromPlateForce: number;
|
|
103
|
+
plateForce: number;
|
|
104
|
+
};
|
|
105
|
+
} | null;
|
|
106
|
+
bottom: {
|
|
107
|
+
q: number;
|
|
108
|
+
Q: number;
|
|
109
|
+
leverArm: number;
|
|
110
|
+
requiredSpacing: number;
|
|
111
|
+
boltCount: number;
|
|
112
|
+
governedBy: string;
|
|
113
|
+
calculationDetails: {
|
|
114
|
+
spacingFromShearFlow: number;
|
|
115
|
+
rows: number;
|
|
116
|
+
boltCountFromShearFlow: number;
|
|
117
|
+
boltCountFromPlateForce: number;
|
|
118
|
+
plateForce: number;
|
|
119
|
+
};
|
|
120
|
+
} | null;
|
|
121
|
+
calculationDetails: {
|
|
122
|
+
phiVbolt: number;
|
|
123
|
+
boltsPerRow: number;
|
|
124
|
+
transferLength: number;
|
|
125
|
+
Ec: number;
|
|
126
|
+
ns: number;
|
|
127
|
+
np: number;
|
|
128
|
+
ybar: number;
|
|
129
|
+
Itr: number;
|
|
130
|
+
sectionState: SectionState;
|
|
131
|
+
};
|
|
132
|
+
unit: string;
|
|
133
|
+
warnings: Warnings;
|
|
134
|
+
};
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.plateInterfaceBoltRequirement = exports.boltShearCapacity = exports.plateInterfaceShearFlow = void 0;
|
|
37
|
+
const rc_design_error_1 = require("../core/errors/rc-design.error");
|
|
38
|
+
const MyMath = __importStar(require("../utils/math"));
|
|
39
|
+
const RCConstants = __importStar(require("../core/constants/rc.constant"));
|
|
40
|
+
const general_1 = require("../rc/general");
|
|
41
|
+
const rc_beam_type_1 = require("../core/types/rc-beam.type");
|
|
42
|
+
const plate_jacketing_type_1 = require("../core/types/plate-jacketing.type");
|
|
43
|
+
const resolveGeometry = (section, plates) => {
|
|
44
|
+
const tTop = (0, plate_jacketing_type_1.hasTopPlate)(plates) ? plates.topSteelThickness : 0;
|
|
45
|
+
const tBottom = (0, plate_jacketing_type_1.hasBottomPlate)(plates) ? plates.bottomSteelThickness : 0;
|
|
46
|
+
const ATop = (0, plate_jacketing_type_1.hasTopPlate)(plates) ? plates.topSteelWidth * tTop : 0;
|
|
47
|
+
const ABottom = (0, plate_jacketing_type_1.hasBottomPlate)(plates) ? plates.bottomSteelWidth * tBottom : 0;
|
|
48
|
+
const singly = (0, rc_beam_type_1.isSinglyReinforced)(section);
|
|
49
|
+
const doubly = section;
|
|
50
|
+
return {
|
|
51
|
+
tTop,
|
|
52
|
+
tBottom,
|
|
53
|
+
ATop,
|
|
54
|
+
ABottom,
|
|
55
|
+
yTop: tTop / 2,
|
|
56
|
+
yBottom: tTop + section.h + tBottom / 2,
|
|
57
|
+
yConcreteTop: tTop,
|
|
58
|
+
yConcreteBottom: tTop + section.h,
|
|
59
|
+
yTensionSteel: tTop + section.d,
|
|
60
|
+
yCompSteel: singly ? null : tTop + doubly.d_,
|
|
61
|
+
As_: singly ? 0 : doubly.As_,
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
const validateGeometry = (section, geo) => {
|
|
65
|
+
if (section.b <= 0 ||
|
|
66
|
+
section.h <= 0 ||
|
|
67
|
+
section.d <= 0 ||
|
|
68
|
+
section.d >= section.h ||
|
|
69
|
+
section.As <= 0) {
|
|
70
|
+
throw new rc_design_error_1.RCDesignError(rc_design_error_1.Errors.PLATE_OUTSIDE_SECTION);
|
|
71
|
+
}
|
|
72
|
+
if (geo.yCompSteel !== null && geo.yCompSteel >= geo.yTensionSteel) {
|
|
73
|
+
throw new rc_design_error_1.RCDesignError(rc_design_error_1.Errors.PLATE_OUTSIDE_SECTION);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Solves the cracked-section neutral axis depth (from the datum) by setting the
|
|
78
|
+
* first moment of the transformed areas about the neutral axis to zero.
|
|
79
|
+
*
|
|
80
|
+
* @param compSteelInCompression - Whether the compression rebar is assumed to sit
|
|
81
|
+
* above the neutral axis, which decides between the (n-1) and n modular ratios
|
|
82
|
+
*/
|
|
83
|
+
const solveCrackedNeutralAxis = (section, geo, ns, np, compSteelInCompression) => {
|
|
84
|
+
const { b } = section;
|
|
85
|
+
const AsTr = ns * section.As;
|
|
86
|
+
const ATopTr = np * geo.ATop;
|
|
87
|
+
const ABottomTr = np * geo.ABottom;
|
|
88
|
+
// Compression rebar displaces concrete that is already counted in the block,
|
|
89
|
+
// so it is transformed with (n - 1); below the neutral axis it acts in tension
|
|
90
|
+
// and takes the full n.
|
|
91
|
+
const AsCompTr = compSteelInCompression ? (ns - 1) * geo.As_ : ns * geo.As_;
|
|
92
|
+
const a = b / 2;
|
|
93
|
+
const bq = -b * geo.yConcreteTop + ATopTr + AsCompTr + AsTr + ABottomTr;
|
|
94
|
+
const c = (b * geo.yConcreteTop * geo.yConcreteTop) / 2 -
|
|
95
|
+
ATopTr * geo.yTop -
|
|
96
|
+
AsCompTr * (geo.yCompSteel ?? 0) -
|
|
97
|
+
AsTr * geo.yTensionSteel -
|
|
98
|
+
ABottomTr * geo.yBottom;
|
|
99
|
+
const roots = MyMath.solveQuadratic(a, bq, c);
|
|
100
|
+
const valid = roots.filter((root) => root > geo.yConcreteTop && root < geo.yConcreteBottom);
|
|
101
|
+
return valid.length > 0 ? Math.max(...valid) : null;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Builds the transformed-section parts and the neutral axis depth for the
|
|
105
|
+
* requested section state.
|
|
106
|
+
*/
|
|
107
|
+
const buildTransformedSection = (section, geo, ns, np, sectionState, warnings) => {
|
|
108
|
+
const parts = [];
|
|
109
|
+
if (geo.ATop > 0) {
|
|
110
|
+
parts.push({
|
|
111
|
+
A: np * geo.ATop,
|
|
112
|
+
y: geo.yTop,
|
|
113
|
+
I: (np * (geo.ATop / geo.tTop) * geo.tTop ** 3) / 12,
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
if (geo.ABottom > 0) {
|
|
117
|
+
parts.push({
|
|
118
|
+
A: np * geo.ABottom,
|
|
119
|
+
y: geo.yBottom,
|
|
120
|
+
I: (np * (geo.ABottom / geo.tBottom) * geo.tBottom ** 3) / 12,
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
let ybar;
|
|
124
|
+
if (sectionState === "uncracked") {
|
|
125
|
+
parts.push({
|
|
126
|
+
A: section.b * section.h,
|
|
127
|
+
y: geo.yConcreteTop + section.h / 2,
|
|
128
|
+
I: (section.b * section.h ** 3) / 12,
|
|
129
|
+
});
|
|
130
|
+
parts.push({ A: (ns - 1) * section.As, y: geo.yTensionSteel, I: 0 });
|
|
131
|
+
if (geo.As_ > 0 && geo.yCompSteel !== null) {
|
|
132
|
+
parts.push({ A: (ns - 1) * geo.As_, y: geo.yCompSteel, I: 0 });
|
|
133
|
+
}
|
|
134
|
+
const sumA = parts.reduce((acc, part) => acc + part.A, 0);
|
|
135
|
+
ybar = parts.reduce((acc, part) => acc + part.A * part.y, 0) / sumA;
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
let compSteelInCompression = true;
|
|
139
|
+
let na = solveCrackedNeutralAxis(section, geo, ns, np, true);
|
|
140
|
+
if (na !== null && geo.yCompSteel !== null && geo.yCompSteel > na) {
|
|
141
|
+
// The assumed compression rebar is actually below the neutral axis; re-solve
|
|
142
|
+
// with it on the tension side.
|
|
143
|
+
compSteelInCompression = false;
|
|
144
|
+
na = solveCrackedNeutralAxis(section, geo, ns, np, false);
|
|
145
|
+
warnings.push({
|
|
146
|
+
reference: "ACI318-19, 22.2.2.1",
|
|
147
|
+
message: "Compression reinforcement lies below the cracked neutral axis; it was transformed as tension steel.",
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
if (na === null) {
|
|
151
|
+
throw new rc_design_error_1.RCDesignError(rc_design_error_1.Errors.CRACKED_NA_NOT_FOUND);
|
|
152
|
+
}
|
|
153
|
+
ybar = na;
|
|
154
|
+
const c = ybar - geo.yConcreteTop; // depth of the concrete compression zone
|
|
155
|
+
parts.push({
|
|
156
|
+
A: section.b * c,
|
|
157
|
+
y: geo.yConcreteTop + c / 2,
|
|
158
|
+
I: (section.b * c ** 3) / 12,
|
|
159
|
+
});
|
|
160
|
+
parts.push({ A: ns * section.As, y: geo.yTensionSteel, I: 0 });
|
|
161
|
+
if (geo.As_ > 0 && geo.yCompSteel !== null) {
|
|
162
|
+
parts.push({
|
|
163
|
+
A: compSteelInCompression ? (ns - 1) * geo.As_ : ns * geo.As_,
|
|
164
|
+
y: geo.yCompSteel,
|
|
165
|
+
I: 0,
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
const Itr = parts.reduce((acc, part) => acc + part.I + part.A * (part.y - ybar) ** 2, 0);
|
|
170
|
+
return { ybar, Itr };
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Calculates the horizontal shear flow that must be transferred across each
|
|
174
|
+
* concrete-to-plate interface of a steel plate jacketed beam, q = V·Q/I, using an
|
|
175
|
+
* elastic transformed section.
|
|
176
|
+
*
|
|
177
|
+
* `Q` at an interface is the first moment of the area beyond that cut — the plate
|
|
178
|
+
* itself — while `ybar` and `Itr` come from one solve that includes every plate
|
|
179
|
+
* present, so adding a top plate also changes the bottom interface shear flow.
|
|
180
|
+
*
|
|
181
|
+
* @param input - Section, plate properties, factored shear V (kN), and section state
|
|
182
|
+
* @returns Object containing per-interface `top`/`bottom` shear flow (`null` when the
|
|
183
|
+
* plate is absent), `calculationDetails`, `unit`, and `warnings`
|
|
184
|
+
* @throws {RCDesignError} If V is not positive or no plate is present (201), the
|
|
185
|
+
* geometry is inconsistent (203), or no cracked neutral axis exists (204)
|
|
186
|
+
*/
|
|
187
|
+
const plateInterfaceShearFlow = (input) => {
|
|
188
|
+
const warnings = [];
|
|
189
|
+
const { section, plates, V } = input;
|
|
190
|
+
const sectionState = input.sectionState ?? "cracked";
|
|
191
|
+
if (V <= 0 || (!(0, plate_jacketing_type_1.hasTopPlate)(plates) && !(0, plate_jacketing_type_1.hasBottomPlate)(plates))) {
|
|
192
|
+
throw new rc_design_error_1.RCDesignError(rc_design_error_1.Errors.NON_POSITIVE_SHEAR_FLOW);
|
|
193
|
+
}
|
|
194
|
+
const geo = resolveGeometry(section, plates);
|
|
195
|
+
validateGeometry(section, geo);
|
|
196
|
+
const Ec = (0, general_1.concreteElasticModulus)(section.fc_);
|
|
197
|
+
const ns = section.Es / Ec;
|
|
198
|
+
const np = plates.Es / Ec;
|
|
199
|
+
const { ybar, Itr } = buildTransformedSection(section, geo, ns, np, sectionState, warnings);
|
|
200
|
+
const VinN = V * 1000;
|
|
201
|
+
const interfaceAt = (A, y) => {
|
|
202
|
+
const Q = np * A * Math.abs(y - ybar);
|
|
203
|
+
return {
|
|
204
|
+
q: MyMath.roundToDecimalPlaces((VinN * Q) / Itr, 2),
|
|
205
|
+
Q: MyMath.roundToDecimalPlaces(Q, 0),
|
|
206
|
+
leverArm: MyMath.roundToDecimalPlaces(Math.abs(y - ybar), 2),
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
if (geo.ATop > 0 && geo.yTop > ybar) {
|
|
210
|
+
warnings.push({
|
|
211
|
+
reference: "ACI318-19, 22.2.2.1",
|
|
212
|
+
message: "Top plate centroid lies below the neutral axis; the plate is in tension, so the assumed compression-face behaviour does not apply.",
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
return {
|
|
216
|
+
top: geo.ATop > 0 ? interfaceAt(geo.ATop, geo.yTop) : null,
|
|
217
|
+
bottom: geo.ABottom > 0 ? interfaceAt(geo.ABottom, geo.yBottom) : null,
|
|
218
|
+
calculationDetails: {
|
|
219
|
+
Ec: MyMath.roundToDecimalPlaces(Ec, 2),
|
|
220
|
+
ns: MyMath.roundToDecimalPlaces(ns, 3),
|
|
221
|
+
np: MyMath.roundToDecimalPlaces(np, 3),
|
|
222
|
+
ybar: MyMath.roundToDecimalPlaces(ybar, 2),
|
|
223
|
+
Itr: MyMath.roundToDecimalPlaces(Itr, 0),
|
|
224
|
+
sectionState,
|
|
225
|
+
},
|
|
226
|
+
unit: "N/mm",
|
|
227
|
+
warnings,
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
exports.plateInterfaceShearFlow = plateInterfaceShearFlow;
|
|
231
|
+
/**
|
|
232
|
+
* Calculates the design shear strength of a single anchor bolt from the steel
|
|
233
|
+
* strength per ACI 318-19 17.7.1.2b, Vsa = 0.6 Ase,V futa, with φ = 0.65 from
|
|
234
|
+
* Table 17.5.3 and the futa cap of 17.6.1.2.
|
|
235
|
+
*
|
|
236
|
+
* Concrete breakout (17.7.2) and pryout (17.7.3) depend on edge distances, anchor
|
|
237
|
+
* spacing and embedment depth, and are NOT evaluated here — a warning always says so.
|
|
238
|
+
* Supply `phiVboltOverride` to use a manufacturer or ESR value instead.
|
|
239
|
+
*
|
|
240
|
+
* @param bolt - Anchor properties (Ase, futa, optional fya, diameter, shearPlanes, override)
|
|
241
|
+
* @returns Object containing `phiVbolt` (kN), `calculationDetails`, `unit`, and `warnings`
|
|
242
|
+
* @throws {RCDesignError} If the resolved capacity is not positive (202)
|
|
243
|
+
*/
|
|
244
|
+
const boltShearCapacity = (bolt) => {
|
|
245
|
+
const warnings = [];
|
|
246
|
+
const shearPlanes = bolt.shearPlanes ?? 1;
|
|
247
|
+
warnings.push({
|
|
248
|
+
reference: "ACI318-19, 17.7.2",
|
|
249
|
+
message: "Only anchor steel strength in shear is evaluated; concrete breakout and pryout must be checked separately.",
|
|
250
|
+
});
|
|
251
|
+
if (bolt.phiVboltOverride !== undefined) {
|
|
252
|
+
if (bolt.phiVboltOverride <= 0) {
|
|
253
|
+
throw new rc_design_error_1.RCDesignError(rc_design_error_1.Errors.INVALID_BOLT_CAPACITY);
|
|
254
|
+
}
|
|
255
|
+
return {
|
|
256
|
+
phiVbolt: MyMath.roundToDecimalPlaces(bolt.phiVboltOverride, 2),
|
|
257
|
+
calculationDetails: { source: "override", shearPlanes },
|
|
258
|
+
unit: "kN",
|
|
259
|
+
warnings,
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
if (bolt.Ase <= 0 || bolt.futa <= 0 || shearPlanes <= 0) {
|
|
263
|
+
throw new rc_design_error_1.RCDesignError(rc_design_error_1.Errors.INVALID_BOLT_CAPACITY);
|
|
264
|
+
}
|
|
265
|
+
const cap = Math.min(bolt.fya !== undefined ? RCConstants.ANCHOR_FUTA_FYA_FACTOR * bolt.fya : Infinity, RCConstants.MAX_ANCHOR_FUTA);
|
|
266
|
+
const futaEffective = Math.min(bolt.futa, cap);
|
|
267
|
+
if (futaEffective < bolt.futa) {
|
|
268
|
+
warnings.push({
|
|
269
|
+
reference: "ACI318-19, 17.6.1.2",
|
|
270
|
+
message: `futa (${bolt.futa} MPa) exceeds the limit of min(1.9*fya, ${RCConstants.MAX_ANCHOR_FUTA} MPa); capped at ${MyMath.roundToDecimalPlaces(futaEffective, 2)} MPa.`,
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
const Vsa = RCConstants.ANCHOR_STEEL_SHEAR_COEFFICIENT * bolt.Ase * futaEffective * shearPlanes; // N
|
|
274
|
+
return {
|
|
275
|
+
phiVbolt: MyMath.roundToDecimalPlaces(RCConstants.ANCHOR_SHEAR_STRENGTH_REDUCTION_FACTOR * Vsa * 0.001, 2),
|
|
276
|
+
calculationDetails: {
|
|
277
|
+
source: "ACI318-19, 17.7.1.2b",
|
|
278
|
+
Vsa: MyMath.roundToDecimalPlaces(Vsa * 0.001, 2),
|
|
279
|
+
futaEffective: MyMath.roundToDecimalPlaces(futaEffective, 2),
|
|
280
|
+
shearPlanes,
|
|
281
|
+
},
|
|
282
|
+
unit: "kN",
|
|
283
|
+
warnings,
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
exports.boltShearCapacity = boltShearCapacity;
|
|
287
|
+
const designInterface = (demand, plateArea, plateFy, phiVboltKN, boltsPerRow, transferLength, label, warnings) => {
|
|
288
|
+
const phiVboltN = phiVboltKN * 1000;
|
|
289
|
+
// Spacing that keeps the bolt row capacity at or above the shear flow demand
|
|
290
|
+
const spacingFromShearFlow = (boltsPerRow * phiVboltN) / demand.q; // mm
|
|
291
|
+
let requiredSpacing = spacingFromShearFlow;
|
|
292
|
+
if (requiredSpacing > RCConstants.MAX_PLATE_BOLT_SPACING) {
|
|
293
|
+
requiredSpacing = RCConstants.MAX_PLATE_BOLT_SPACING;
|
|
294
|
+
warnings.push({
|
|
295
|
+
message: `${label} plate: shear flow allows a pitch of ${MyMath.roundToDecimalPlaces(spacingFromShearFlow, 1)} mm, capped at the detailing limit of ${RCConstants.MAX_PLATE_BOLT_SPACING} mm.`,
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
const rows = Math.ceil(transferLength / requiredSpacing) + 1;
|
|
299
|
+
const boltCountFromShearFlow = rows * boltsPerRow;
|
|
300
|
+
// The plate must also develop its own yield force over the transfer length
|
|
301
|
+
const plateForce = plateArea * plateFy; // N
|
|
302
|
+
const boltCountFromPlateForce = Math.ceil(plateForce / phiVboltN);
|
|
303
|
+
const governedBy = boltCountFromPlateForce > boltCountFromShearFlow ? "plateForce" : "shearFlow";
|
|
304
|
+
const boltCount = Math.max(boltCountFromShearFlow, boltCountFromPlateForce);
|
|
305
|
+
return {
|
|
306
|
+
q: demand.q,
|
|
307
|
+
Q: demand.Q,
|
|
308
|
+
leverArm: demand.leverArm,
|
|
309
|
+
requiredSpacing: MyMath.roundToDecimalPlaces(requiredSpacing, 1),
|
|
310
|
+
boltCount,
|
|
311
|
+
governedBy,
|
|
312
|
+
calculationDetails: {
|
|
313
|
+
spacingFromShearFlow: MyMath.roundToDecimalPlaces(spacingFromShearFlow, 1),
|
|
314
|
+
rows,
|
|
315
|
+
boltCountFromShearFlow,
|
|
316
|
+
boltCountFromPlateForce,
|
|
317
|
+
plateForce: MyMath.roundToDecimalPlaces(plateForce * 0.001, 2),
|
|
318
|
+
},
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Determines the bolts required to transfer horizontal shear across each
|
|
323
|
+
* concrete-to-plate interface of a steel plate jacketed beam.
|
|
324
|
+
*
|
|
325
|
+
* For each plate present, the required bolt pitch follows from the interface shear
|
|
326
|
+
* flow (s = n·φVbolt / q) and the bolt count is taken as the larger of that pitch
|
|
327
|
+
* over the transfer length and the count needed to develop the full plate yield
|
|
328
|
+
* force (Ap·fy / φVbolt). `governedBy` reports which one controls.
|
|
329
|
+
*
|
|
330
|
+
* @param input - Section, plates, V (kN), bolt properties, bolts per row, and transfer length (mm)
|
|
331
|
+
* @returns Object containing per-interface `top`/`bottom` results (`null` when the plate
|
|
332
|
+
* is absent), `calculationDetails`, `unit`, and `warnings`
|
|
333
|
+
* @throws {RCDesignError} If V is not positive or no plate is present (201), the bolt
|
|
334
|
+
* capacity is invalid (202), the geometry is inconsistent (203), or no cracked
|
|
335
|
+
* neutral axis exists (204)
|
|
336
|
+
*/
|
|
337
|
+
const plateInterfaceBoltRequirement = (input) => {
|
|
338
|
+
const { plates, bolt, boltsPerRow, transferLength } = input;
|
|
339
|
+
if (boltsPerRow <= 0 || transferLength <= 0) {
|
|
340
|
+
throw new rc_design_error_1.RCDesignError(rc_design_error_1.Errors.PLATE_OUTSIDE_SECTION);
|
|
341
|
+
}
|
|
342
|
+
const flow = (0, exports.plateInterfaceShearFlow)(input);
|
|
343
|
+
const boltResult = (0, exports.boltShearCapacity)(bolt);
|
|
344
|
+
const warnings = [...flow.warnings, ...boltResult.warnings];
|
|
345
|
+
const geo = resolveGeometry(input.section, plates);
|
|
346
|
+
const top = flow.top !== null
|
|
347
|
+
? designInterface(flow.top, geo.ATop, plates.fy, boltResult.phiVbolt, boltsPerRow, transferLength, "top", warnings)
|
|
348
|
+
: null;
|
|
349
|
+
const bottom = flow.bottom !== null
|
|
350
|
+
? designInterface(flow.bottom, geo.ABottom, plates.fy, boltResult.phiVbolt, boltsPerRow, transferLength, "bottom", warnings)
|
|
351
|
+
: null;
|
|
352
|
+
if (bolt.diameter !== undefined) {
|
|
353
|
+
const minSpacing = RCConstants.MIN_ANCHOR_SPACING_DIAMETER_FACTOR * bolt.diameter;
|
|
354
|
+
for (const result of [top, bottom]) {
|
|
355
|
+
if (result !== null && result.requiredSpacing < minSpacing) {
|
|
356
|
+
warnings.push({
|
|
357
|
+
reference: "ACI318-19, 17.9.2",
|
|
358
|
+
message: `Required pitch (${result.requiredSpacing} mm) is below the minimum anchor spacing of 4*da (${minSpacing} mm); use a larger bolt or more bolts per row.`,
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
return {
|
|
364
|
+
top,
|
|
365
|
+
bottom,
|
|
366
|
+
calculationDetails: {
|
|
367
|
+
...flow.calculationDetails,
|
|
368
|
+
phiVbolt: boltResult.phiVbolt,
|
|
369
|
+
boltsPerRow,
|
|
370
|
+
transferLength,
|
|
371
|
+
},
|
|
372
|
+
unit: "kN",
|
|
373
|
+
warnings,
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
exports.plateInterfaceBoltRequirement = plateInterfaceBoltRequirement;
|
|
377
|
+
//# sourceMappingURL=rc-beam-plate-interface-bolts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rc-beam-plate-interface-bolts.js","sourceRoot":"","sources":["../../src/strengthening/rc-beam-plate-interface-bolts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAyE;AACzE,wDAA0C;AAC1C,6EAA+D;AAE/D,6CAAyD;AAEzD,+DAIsC;AAEtC,+EAQ8C;AAkC9C,MAAM,eAAe,GAAG,CACtB,OAAwB,EACxB,MAA0B,EACR,EAAE;IACpB,MAAM,IAAI,GAAG,IAAA,kCAAW,EAAC,MAAM,CAAC,CAAC,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const math_1 = require("../utils/math");
|
|
6
6
|
const rc_beam_type_1 = require("../core/types/rc-beam.type");
|
|
7
|
+
const plate_jacketing_type_1 = require("../core/types/plate-jacketing.type");
|
|
7
8
|
const merge_warning_1 = require("../utils/merge-warning");
|
|
8
9
|
/**
|
|
9
10
|
* Calculates the moment capacity of an RC beam strengthened with steel plate jacketing.
|
|
@@ -21,16 +22,23 @@ const calculateSteelJacketedBeamMomentCapacity = (section, jacketedProperties) =
|
|
|
21
22
|
const originalResult = (0, rc_beam_design_1.rectBeamMomentCapacity)(section);
|
|
22
23
|
// Convert steel plate strength to the same as rebar strength
|
|
23
24
|
const n = jacketedProperties.fy / section.fy;
|
|
25
|
+
// A plate only counts when both its width and thickness are positive, so a
|
|
26
|
+
// bottom-only jacket may omit the top plate fields entirely.
|
|
27
|
+
const topSteelThickness = (0, plate_jacketing_type_1.hasTopPlate)(jacketedProperties)
|
|
28
|
+
? jacketedProperties.topSteelThickness
|
|
29
|
+
: 0;
|
|
30
|
+
const bottomSteelThickness = (0, plate_jacketing_type_1.hasBottomPlate)(jacketedProperties)
|
|
31
|
+
? jacketedProperties.bottomSteelThickness
|
|
32
|
+
: 0;
|
|
24
33
|
// Calculate the effective area of the steel plates converted to rebar.
|
|
25
|
-
const plateTopSteelArea =
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
plateBottomSteelArea) /
|
|
34
|
+
const plateTopSteelArea = (0, plate_jacketing_type_1.hasTopPlate)(jacketedProperties)
|
|
35
|
+
? n * jacketedProperties.topSteelWidth * topSteelThickness
|
|
36
|
+
: 0;
|
|
37
|
+
const plateBottomSteelArea = (0, plate_jacketing_type_1.hasBottomPlate)(jacketedProperties)
|
|
38
|
+
? n * jacketedProperties.bottomSteelWidth * bottomSteelThickness
|
|
39
|
+
: 0;
|
|
40
|
+
let newD = ((topSteelThickness + section.d) * section.As +
|
|
41
|
+
(topSteelThickness + section.h + bottomSteelThickness / 2) * plateBottomSteelArea) /
|
|
34
42
|
(section.As + plateBottomSteelArea);
|
|
35
43
|
let newD_ = undefined;
|
|
36
44
|
let modifiedSection;
|
|
@@ -47,9 +55,8 @@ const calculateSteelJacketedBeamMomentCapacity = (section, jacketedProperties) =
|
|
|
47
55
|
// Doubly reinforced section
|
|
48
56
|
const doublySection = section;
|
|
49
57
|
newD_ =
|
|
50
|
-
((
|
|
51
|
-
|
|
52
|
-
(jacketedProperties.topSteelThickness / 2) * plateTopSteelArea) /
|
|
58
|
+
((topSteelThickness + doublySection.d_) * doublySection.As_ +
|
|
59
|
+
(topSteelThickness / 2) * plateTopSteelArea) /
|
|
53
60
|
(doublySection.As_ + plateTopSteelArea);
|
|
54
61
|
modifiedSection = {
|
|
55
62
|
...doublySection,
|
|
@@ -65,7 +72,10 @@ const calculateSteelJacketedBeamMomentCapacity = (section, jacketedProperties) =
|
|
|
65
72
|
}
|
|
66
73
|
// Calculate the moment capacity of the modified (after strengthening) section
|
|
67
74
|
let jacketedResult = (0, rc_beam_design_1.rectBeamMomentCapacity)(modifiedSection);
|
|
68
|
-
jacketedResult = {
|
|
75
|
+
jacketedResult = {
|
|
76
|
+
...jacketedResult,
|
|
77
|
+
warnings: (0, merge_warning_1.mergeWarnings)(jacketedResult.warnings, warnings),
|
|
78
|
+
};
|
|
69
79
|
return {
|
|
70
80
|
before: originalResult,
|
|
71
81
|
after: jacketedResult,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rc-beam-steel-plate-jacketing.js","sourceRoot":"","sources":["../../src/strengthening/rc-beam-steel-plate-jacketing.ts"],"names":[],"mappings":";;;AAAA,2DAAgE;AAChE,0CAAuD;AAEvD,+DAIsC;
|
|
1
|
+
{"version":3,"file":"rc-beam-steel-plate-jacketing.js","sourceRoot":"","sources":["../../src/strengthening/rc-beam-steel-plate-jacketing.ts"],"names":[],"mappings":";;;AAAA,2DAAgE;AAChE,0CAAuD;AAEvD,+DAIsC;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wCAAwC,4CA6EnD"}
|
package/dist/utils/math.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"math.js","sourceRoot":"","sources":["../../src/utils/math.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACI,MAAM,cAAc,GAAG,CAAC,CAAS,EAAE,CAAS,EAAE,CAAS,EAAY,EAAE;IAC1E,MAAM,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACvC,IAAI,YAAY,GAAG,CAAC,EAAE,CAAC;QACrB,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,MAAM,gBAAgB,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACjD,MAAM,KAAK,GAAG,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAChD,MAAM,KAAK,GAAG,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAChD,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AACxB,CAAC,CAAC;AATW,QAAA,cAAc,kBASzB;AAEF;;;;;;GAMG;AACI,MAAM,oBAAoB,GAAG,
|
|
1
|
+
{"version":3,"file":"math.js","sourceRoot":"","sources":["../../src/utils/math.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACI,MAAM,cAAc,GAAG,CAAC,CAAS,EAAE,CAAS,EAAE,CAAS,EAAY,EAAE;IAC1E,MAAM,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACvC,IAAI,YAAY,GAAG,CAAC,EAAE,CAAC;QACrB,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,MAAM,gBAAgB,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACjD,MAAM,KAAK,GAAG,CAA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