Source: https://guthlabs.ai/docs/instruments/bernoulli-equation-solver/implementation/

instrument implementation / implementation-contract

# Bernoulli Equation Solver implementation

A source-bound implementation contract for Bernoulli Equation Solver; deployment and executable qualification remain separate.

Status: **VERIFIED_CLEAN**Lifecycle: **implementation-contract**

## Binding contract

This record describes what an executable surface must bind and validate. It does not claim that a public calculator, package, or production route is deployed.

**Record owner**: Guth Instruments

**Lifecycle**: verified-clean

**Evidence ID**: t4-295

**Effect**: Computation or source lookup only

## Input and validation requirements

A zero-density input causes division by zero in the pressure-head terms, so the solver must reject the input or return undefined rather than a numeric pressure.

## Required corrections

No binding erratum is attached to this unique-name record. Implementers must still preserve the declared units, domain, and failure behavior.

## Inspectable interface fixture

The sample below is evidence for interface and validation tests, not a production implementation.

````
{
  "inputs": {
    "rho_kg_per_m3": 1000,
    "g_m_per_s2": 9.81,
    "P1_Pa": 200000,
    "V1_m_per_s": 3,
    "z1_m": 5,
    "V2_m_per_s": 5,
    "z2_m": 2,
    "hL_m": 0
  },
  "expected_outputs": {
    "P2_Pa": 221430
  },
  "working": "Use P1/(rho*g)+V1^2/(2*g)+z1 = P2/(rho*g)+V2^2/(2*g)+z2+hL. Rearrange: P2 = P1 + 0.5*rho*(V1^2-V2^2) + rho*g*(z1-z2) - rho*g*hL. Compute: P2 = 200000 + 0.5*1000*(3^2-5^2) + 1000*9.81*(5-2) - 1000*9.81*0 = 200000 + 500*(9-25) + 9810*3 = 200000 - 8000 + 29430 = 221430 Pa."
}
````

## Other records

[01**Overview**](<https://guthlabs.ai/docs/instruments/bernoulli-equation-solver/>)[02**Mechanism**](<https://guthlabs.ai/docs/instruments/bernoulli-equation-solver/mechanism/>)[04**Qualification**](<https://guthlabs.ai/docs/instruments/bernoulli-equation-solver/qualification/>)

## Sources and evidence

These pointers bind the page to evidence. They do not grant authority or collapse verification into deployment.

- `VERIFIED_LEDGER.json`

- `evidence-tranche4/tranche4-results.json`
