{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/physics.fluid.valve_cv.input.json",
  "title": "Valve flow coefficient — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "flow",
        "pressure",
        "Kv",
        "Cv"
      ],
      "description": "flow (default), pressure, Kv, or Cv. Not venturi, orifice, Darcy, or Q=Av."
    },
    "Kv": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "IEC Kv in m³/h at 1 bar. Alternative: Cv. Do not send both."
    },
    "Cv": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "US Cv. Alternative: Kv. Kv=0.865 Cv. Do not send both."
    },
    "dP": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Differential pressure in Pa. Required except pressure invert."
    },
    "Q": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Volumetric flow in m³/s. Required for pressure, Kv, and Cv invert. Do not send with flow."
    },
    "SG": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Specific gravity relative to water. Default 1. Alternative: rho. Do not send both."
    },
    "rho": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Density in kg/m³. Sets SG=ρ/1000. Alternative: SG. Do not send both."
    }
  },
  "description": "Incompressible liquid valve Q_m³/h=Kv √(Δp_bar/SG). Kv=0.865 Cv (IEC 60534-1). SI Q in m³/s, Δp in Pa. Not a venturi wrap, not orifice, not Q=Av, not Darcy. (calculation_version 1.0.0)"
}
