Skip to main content
Glama
genpark-personal-agent-pulmonary-alveolar-dead-space-bohr-enghoff-skill

genpark-personal-agent-pulmonary-alveolar-dead-space-bohr-enghoff-skill

by Alpha-Park

Pulmonary Alveolar Dead Space (Bohr-Enghoff) Skill

License Python OpenClaw GenPark MCP

Physiological Alveolar Dead Space Fraction ($V_D / V_T$) and Alveolar Gas Exchange Calculator based on the Bohr-Enghoff formulation.

flowchart TD
    A[Arterial PaCO2 & Mixed Expired PECO2] --> B[Compute V_D / V_T = PaCO2 - PECO2 / PaCO2]
    C[Barometric Pressure & FiO2] --> D[Alveolar Gas Equation: PAO2]
    D & E[Arterial PaO2] --> F[Alveolar-Arterial Gradient: P A-a O2]
    B & F --> G[Ventilation-Perfusion Matching Evaluation]

Features

  • Zero PIP Dependencies: Implemented strictly with Python Standard Library (math, json, sys, typing).

  • Standard Bohr-Enghoff Formula: Resolves arterial-to-expired carbon dioxide gradient into non-perfused alveolar fraction.

  • Alveolar Gas Equation: Age-adjusted physiological shunt and diffusion gradient analysis.

  • Dual Architecture: Native Python import and Model Context Protocol (MCP) JSON-RPC 2.0 stdio server.

Related MCP server: ventilatory-efficiency

Quickstart

python example_usage.py

License

Apache-2.0

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    This server processes 2D Center of Pressure (COP) data to calculate metrics such as 95% confidence ellipse area, sway velocity, and the Romberg Quotient for postural stability analysis.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables deterministic calculation of HCVR slope, central respiratory chemosensitivity, and CO2 tolerance from end-tidal CO2 and spirometry inputs. It also provides chemoreflex loop-gain stratification for personal-agent actions.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables deterministic calculation of exertional Inspiratory Capacity drop, End-Expiratory Lung Volume air trapping, and ventilatory mechanics reserve through JSON-RPC tools for LLMs and autonomous agents.
    7
    MIT