Predictika · Oil and gas tubulars

An AI sales agent's casing connection quote, checked before it goes out

An AI sales agent prepares a casing string line item for a well: the casing size and weight, the steel grade, the wall thickness and joint yield strength it quotes, and the loads and clearances the well design calls for. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the manufacturer's published connection performance table and returns a verdict, every reason and the figures it looked up.

Scope: TenarisHydril Wedge 521 casing connections, 4 to 18 5/8 inch, from the published catalog performance table. See everything this validator covers

This validator models casing line items for the TenarisHydril Wedge 521 connection as listed in the Wedge 521 performance tables of the TenarisHydril Premium Connections catalog (4 to 18 5/8 inch, 92 size and weight rows), not just the scenarios shown below.

  • Listed rows only — the size and nominal weight must be one of the 92 rows in the table; the validator looks up the wall thickness, standard drift diameter, box outside diameter and joint yield strength for the row.
  • Joint yield strength by grade — the table gives joint yield strength for 55, 80, 90, 95, 110 and 125 ksi; the design tension load must not exceed the value for the selected grade, and the joint yield strength the quote states must match it.
  • Wall thickness and drift — the wall thickness on the quote must match the row, and the drift diameter the well needs must not exceed the standard drift of the row.
  • Oversize drift and clearance — rows marked in the catalog as passing the popular oversize drift are the only ones accepted when that drift is needed, and the box outside diameter must fit the clearance limit on the quote.

Any casing line item for this connection that touches these rules is in scope — not only the scenarios pictured here. Not covered: prices (the catalog gives dimensions and strengths, not prices, so this validator produces no price build-up), other TenarisHydril connections and the Wedge 521 rows outside the table, make-up torque and running procedures, compression and burst or collapse design, pipe body grades available from the mill, and interchangeability between listed rows. Assumptions: the table gives joint yield strength for every grade column, so availability of a grade for a row is not checked; the diameter of the oversize drift is not stated in the catalog, so a required drift diameter is not compared when the oversize drift is requested; and a row is the exact size and nominal weight pair shown in the table.

The AI sales agentBuilds the casing line item from the conversation and says it is ready.
Predictika validatorChecks every rule at once and returns the verdict, each finding, and the computed figures.

7 scenarios in 3 groups · each group runs from the agent’s first attempt to the outcome · click one to switch

What the agent proposes

The AI sales agent says

Illustrative agent statement. The validator receives the structured request below.

Proposing agent: AI sales agent (scripted)

Before sending, the agent must call Recorded run

Predictika validator


      
Waiting for the call.

Where rules-based CPQ gets it wrong

Click to expand

Our assessment of what a typical rules-based CPQ (product rules, price rules and validation rules, as in Salesforce CPQ) does with the same cases. It is a judgment about effort and reliability, not a claim that nothing can be built.

What the validator caughtTypical rules-based CPQPredictika
A size and weight pair that is not a catalog rowOnly with care
A product catalog of 92 size and weight rows has to be loaded and kept in step with the published table; a pair that is not in it must be caught as a choice, not discovered at order entry.
The row is looked up on every call and an unlisted pair is reported with the reason.
Joint yield strength that depends on size, weight and steel gradeOnly with workarounds
The strength is a lookup over three choices with 552 values, and a rule has to compare it with the design load and with the figure the rep typed in.
The strength for the selected grade is looked up from the row on every call and compared with both the load and the stated figure.
Drift and box diameter limits taken from the rowOnly with workarounds
Each limit lives in its own table column and every comparison is a separate rule that must be updated when the table changes.
The standard drift and box diameter come from the row and are compared with what the well needs on every call.
Oversize drift available only on some rowsOnly with care
The catalog marks individual rows with an asterisk, so the flag is per-row data that has to be maintained alongside the strength columns.
The flag is part of the row and is checked whenever the oversize drift is requested.
Every problem returned in one answerOnly with workarounds
Rules tend to fire as the quote is saved or a step is completed, so a rep often fixes one error and meets the next.
All findings come back together, whatever order the choices arrived in.

What this validator catches: findings from its test cases

Click to expand

Every rule is checked on every call, in any order the choices arrive; one problem never hides another. Blocking findings stop the quote; approval findings need a person to sign off; everything else is computed.

1The catalog table has no Wedge 521 row for 7 in casing at 27 lb/ft.
2The catalog table has no Wedge 521 row for 8 in casing at 32 lb/ft.
3The catalog table has no Wedge 521 row for 7 in casing at 40 lb/ft.
4The design tension load is 431 kip, but the joint yield strength of this connection at the selected grade is only 430 kip.
5The design tension load is 300 kip, but the joint yield strength of this connection at the selected grade is only 295 kip.
6The quote states a joint yield strength of 431 kip, but the catalog gives 430 kip for this size, weight and grade.
7The quote states a joint yield strength of 430 kip, but the catalog gives 483 kip for this size, weight and grade.
8The quote states a wall thickness of 0.372 in, but the catalog row has 0.362 in.
9The required drift diameter is 6.152 in, but the standard drift diameter of this connection is 6.151 in.
10The quote needs the popular oversize drift, but the catalog does not mark this size and weight as passing it.
11The box outside diameter of this connection is 7.3 in, but the clearance limit on the quote is 7.299 in.
12The required drift diameter is 8.7 in, but the standard drift diameter of this connection is 8.679 in.
13The box outside diameter of this connection is 9.957 in, but the clearance limit on the quote is 9.9 in.
14The design tension load is 900 kip, but the joint yield strength of this connection at the selected grade is only 641 kip.
15The quote states a wall thickness of 0.4 in, but the catalog row has 0.352 in.
16The required drift diameter is 9 in, but the standard drift diameter of this connection is 8.765 in.
17The box outside diameter of this connection is 9.883 in, but the clearance limit on the quote is 9 in.
18The quote states a joint yield strength of 400 kip, but the catalog gives 376 kip for this size, weight and grade.
19The design tension load is 500 kip, but the joint yield strength of this connection at the selected grade is only 376 kip.

Scenarios and results

Click to expand

The recorded result of the validator for each scenario on this page: the request the AI agent sent, the verdict, and every finding, in the order they appear above.

1. Deep string: Casing 9 5/8 inch, 40.00 lb/ft, 80 ksi grade, 700 kip design tension

The agent's request. Please quote 9 5/8 inch casing at 40.00 lb/ft in the 80 ksi grade with the Wedge 521 connection. The quote states a wall thickness of 0.395 inch and a joint yield strength of 641 kip. The design tension load is 700 kip, the well needs a drift of 8.7 inch, and the clearance limit for the box outside diameter is 10 inch. It is ready to send.

Verdict: Blocked.

  • Required drift larger than the standard drift. The required drift diameter is 8.7 in, but the standard drift diameter of this connection is 8.679 in.
  • Design tension exceeds the joint yield strength. The design tension load is 700 kip, but the joint yield strength of this connection at the selected grade is only 641 kip.

2. Deep string: The agent resubmits after fixing the errors

The agent's request. Please quote 9 5/8 inch casing at 40.00 lb/ft in the 95 ksi grade with the Wedge 521 connection. The quote states a wall thickness of 0.395 inch and a joint yield strength of 762 kip. The design tension load is 700 kip, the well needs a drift of 8.625 inch, and the clearance limit for the box outside diameter is 10 inch. It is ready to send.

Verdict: Allowed.

  • Catalog row. Wedge 521, 9.625 in at 40 lb/ft: wall 0.395 in, standard drift 8.679 in, box outside diameter 9.957 in, joint yield strength 762 kip at the selected grade.

3. Unlisted weight: Casing 7 inch, 28.00 lb/ft, 110 ksi grade

The agent's request. Please quote 7 inch casing at 28.00 lb/ft in the 110 ksi grade with the Wedge 521 connection. The quote states a wall thickness of 0.362 inch and a joint yield strength of 591 kip. The design tension load is 600 kip, the well needs a drift of 6 inch, and the clearance limit for the box outside diameter is 7.5 inch. It is ready to send.

Verdict: Blocked.

  • Size and weight not a listed Wedge 521 row. The catalog table has no Wedge 521 row for 7 in casing at 28 lb/ft.

4. Unlisted weight: The agent resubmits after fixing the errors

The agent's request. Please quote 7 inch casing at 29.00 lb/ft in the 110 ksi grade with the Wedge 521 connection. The quote states a wall thickness of 0.408 inch and a joint yield strength of 687 kip. The design tension load is 600 kip, the well needs a drift of 6 inch, and the clearance limit for the box outside diameter is 7.5 inch. It is ready to send.

Verdict: Allowed.

  • Catalog row. Wedge 521, 7 in at 29 lb/ft: wall 0.408 in, standard drift 6.059 in, box outside diameter 7.375 in, joint yield strength 687 kip at the selected grade.

5. Oversize drift: Casing 13 3/8 inch, 68.00 lb/ft, oversize drift needed

The agent's request. Please quote 13 3/8 inch casing at 68.00 lb/ft in the 80 ksi grade with the Wedge 521 connection. The quote states a wall thickness of 0.48 inch and a joint yield strength of 1,194 kip. The design tension load is 900 kip, the well needs the popular oversize drift, and the clearance limit for the box outside diameter is 13.8 inch. It is ready to send.

Verdict: Blocked.

  • Stated joint yield strength differs from the row. The quote states a joint yield strength of 1,194 kip, but the catalog gives 1,061 kip for this size, weight and grade.
  • Oversize drift not available for this row. The quote needs the popular oversize drift, but the catalog does not mark this size and weight as passing it.

6. Oversize drift: The agent resubmits after fixing the errors

The agent's request. Please quote 13 3/8 inch casing at 72.00 lb/ft in the 80 ksi grade with the Wedge 521 connection. The quote states a wall thickness of 0.514 inch and a joint yield strength of 1,163 kip. The design tension load is 900 kip, the well needs the popular oversize drift, and the clearance limit for the box outside diameter is 13.8 inch. It is ready to send.

Verdict: Allowed.

  • Catalog row. Wedge 521, 13.375 in at 72 lb/ft: wall 0.514 in, standard drift 12.191 in, box outside diameter 13.766 in, joint yield strength 1,163 kip at the selected grade.

7. Clearance: Casing 5 1/2 inch, 20.00 lb/ft, 5.8 inch box clearance

The agent's request. Please quote 5 1/2 inch casing at 20.00 lb/ft in the 95 ksi grade with the Wedge 521 connection. The quote states a wall thickness of 0.361 inch and a joint yield strength of 409 kip. The design tension load is 300 kip, the well needs a drift of 4.6 inch, and the clearance limit for the box outside diameter is 5.8 inch. It is ready to send.

Verdict: Blocked.

  • Box outside diameter exceeds the clearance limit. The box outside diameter of this connection is 5.852 in, but the clearance limit on the quote is 5.8 in.

Narration transcript

Click to expand

The text of the narrated walkthrough, step by step.

  1. Welcome to a demo of Predictika's Validator. An AI sales agent prepares a casing string line item for a well: the casing size and weight, the steel grade, the wall thickness and joint yield strength it quotes, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the manufacturer's published connection performance table and returns a verdict, every reason and the figures it looked up.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote 9 5/8 inch casing at 40.00 lb/ft in the 80 ksi grade with the Wedge 521 connection. The quote states a wall thickness of 0.395 inch and a joint yield strength of 641 kip. The rest of the request is on screen.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with two findings, all in one answer. The required drift diameter is 8.7 in, but the standard drift diameter of this connection is 8.679 in. The design tension load is 700 kip, but the joint yield strength of this connection at the selected grade is only 641 kip.
  6. The validator returned two blocking findings in one answer. A check that reads one field at a time would pass most of this; it shows only when the choices in the quote are checked against each other.
  7. What this shows: for joint yield strength that depends on size, weight and steel grade, a rules-based CPQ can do this only with workarounds.
  8. Now the agent resubmits.
  9. The corrected request. It changes the grade to 95, the joint yield strength on the quote to 762 kip and the drift needed to 8.625.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. Both earlier findings are cleared.
  13. Two problems caught in one call, fixed in one pass, and a clean quote. That is the value of Predictika's validator: catching mistakes before they reach the customer.