{"uid":"cap_zwUhGtW9bqsugaqrS_Zg-","slug":"halowerk-fixed-k-rachford-rice-flash-split-ce0d6032","name":"Halowerk Fixed-K Rachford-Rice Flash Split","description":"Compute a fixed-K mathematical flash split with explicit phase-composition bounds.","url":"https://detect.halowerk.com/v1/F-TD2000-ENGINEERING-B001/fixed-k-mixture-rachford-rice-equilibrium-phase-split?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artifact":{"type":"object","required":["flash"],"properties":{"flash":{"type":"object","required":["data","claim"],"properties":{"data":{"type":"object","required":["z","k"],"properties":{"k":{"type":"array","items":{"type":"number","maximum":10000,"minimum":0.0001},"maxItems":24,"minItems":2},"z":{"type":"array","items":{"type":"number","maximum":1,"minimum":0.000001},"maxItems":24,"minItems":2}},"additionalProperties":false},"claim":{}},"additionalProperties":false}},"description":"Bounded model; oversized UTF-8 input (16000 bytes) or computed result (20000 bytes) returns unknown without truncation or charge.","additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8XXe_hLnY6APSRgiVtCQR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a fixed-K vapor-liquid equilibrium phase split using the Rachford-Rice equation with explicit phase-composition bounds for a mixture.","exampleAgentPrompt":"Compute the fixed-K Rachford-Rice flash split for a 3-component mixture with overall feed compositions z = [0.3, 0.4, 0.3] and K-values k = [3.5, 0.8, 0.05], and tell me the resulting vapor fraction and phase compositions.","exampleUseCases":[{"title":"Hydrocarbon separator flash calculation","prompt":"I have a 4-component hydrocarbon mixture with feed compositions z = [0.25, 0.35, 0.25, 0.15] and equilibrium K-values k = [5.2, 1.8, 0.4, 0.05] — can you run the fixed-K Rachford-Rice flash split and give me the vapor fraction plus liquid and vapor mole fractions?"},{"title":"Natural gas phase equilibrium check","prompt":"For a natural gas mixture with 5 components, feed mole fractions z = [0.6, 0.15, 0.1, 0.1, 0.05] and K-values k = [12.0, 4.5, 1.2, 0.3, 0.02], solve the Rachford-Rice equation and return the equilibrium phase split."},{"title":"Refinery process simulation step","prompt":"I need the vapor-liquid phase split for a 6-component refinery stream: feed compositions z = [0.1, 0.2, 0.25, 0.2, 0.15, 0.1] and fixed K-values k = [20.0, 7.0, 2.5, 0.6, 0.1, 0.01] — please compute it using the Rachford-Rice method with bounded phase compositions."}],"resultDescription":"Returns the equilibrium vapor fraction (beta), along with the computed mole fractions for each component in the liquid phase (x_i) and vapor phase (y_i), subject to explicit phase-composition bounds. Oversized inputs exceeding 16000 bytes or outputs exceeding 20000 bytes return an unknown result without charge.","failureModes":["Feed composition z values do not sum to 1.0 — invalid input","K-values outside allowed range (0.0001 to 10000) — schema validation error","Component count below 2 or above 24 — rejected by schema","Input UTF-8 payload exceeds 16000 bytes — returns unknown without charge","Computed result exceeds 20000 bytes — returns unknown without charge","Degenerate mixture (all K-values ≈ 1) where Rachford-Rice has no unique solution","Trivial solution (fully liquid or fully vapor) returned when feed is outside two-phase region"],"whenToPreferThis":"Use this endpoint when you have pre-computed or assumed K-values for a multicomponent mixture (up to 24 components) and need to solve the Rachford-Rice flash equation to determine phase split fractions and compositions. This is ideal for process simulation steps, separator calculations, or sensitivity studies where K-values are fixed externally (e.g., from a correlation or prior thermodynamic model) and only the phase-split arithmetic needs to be performed. It is not suited for full equation-of-state flash where K-values must be iterated simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:38:43.932Z","isFirstParty":false,"canonicalSlug":"halowerk-fixed-k-rachford-rice-flash-split-ce0d6032"}