Skip to main content
Glama
Pulmonary Dynamic Airway Closing Pressure Skill

Pulmonary Dynamic Airway Closing Pressure Skill

by Alpha-Park

Pulmonary Dynamic Airway Closing Pressure Skill

License Python OpenClaw GenPark MCP

Dynamic Airway Closing Pressure ($P_{\text{cl}}$) and Static Recoil Pressure ($P_{\text{st}(L)}$) Analyzer based on Mead's Equal Pressure Point (EPP) physiological formulation.

flowchart TD
    A[Pleural Pressure P_pl & Static Recoil P_st] --> B[Alveolar Pressure P_alv = P_pl + P_st]
    C[Expiratory Airflow & Upstream Resistance] --> D[Frictional Drop: Delta P = Flow * R_us]
    B & D --> E[Intrabronchial Pressure P_bronchial]
    E & A --> F[Transmural Gradient: P_tm = P_bronchial - P_pl]
    F --> G[Equal Pressure Point & Dynamic Closure Risk Assessment]

Features

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

  • Mead's EPP Physics: Models the transition from effort-dependent to effort-independent flow limitation.

  • Dynamic Collapse Prevention: Identifies premature peripheral airway closure and gas trapping.

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

Related MCP server: Respiratory Inertance & Dynamic Compliance Skill

Quickstart

python example_usage.py

License

Apache-2.0

Related MCP Connectors

  • Deterministic physics runtime with a proof on every answer: 61 models, open and keyless over MCP.

  • Engineering calculation MCP server for oil and gas engineering applications.

    https://engscript.com/mcp
  • Remote MCP server for deterministic educational practice-assessment score conversions.

  • **UNE Maritime Decarbonization & Compliance Gateway** is a production-grade, deterministic Model Context Protocol (MCP) server engineered for maritime shipping operators, charterers, compliance auditors, and AI agents managing EU environmental regulations. Strictly modeled on **Regulation (EU) 2023/1805 (FuelEU Maritime, Annexes I–IV)** and **Directive (EU) 2023/959 (EU ETS Maritime)**, the gateway guarantees audit-grade calculations with inter-process SHA-256 cryptographic state proofs. ### Core Capabilities & Statutory Tools (7) * **`lookup_fuel_wtw_emission_factor`**: Statutory Well-to-Wake (WtW), WtT, TtW, and LCV factors under FuelEU Maritime Annex II default tables (VLSFO, LNG, Biofuels, e-Methanol, e-Ammonia). * **`calculate_voyage_ghg_intensity`**: Multi-leg voyage GHG intensity solver adhering to FuelEU Annex I, enforcing Article 2 scope coverage (100% intra-EU, 50% extra-EU voyages) and UN/LOCODE port consistency. * **`calculate_fueleu_banking_borrowing`**: Article 20 deficit borrowing and surplus banking engine, verifying statutory 2% caps, consecutive-year constraints, and statutory 1.1× carbon penalty interest. * **`optimize_fueleu_pool_allocation`**: Article 21 compliance pooling optimizer solving fleet allocations to eliminate non-compliance penalties on China–Europe and global trade lanes. * **`calculate_fueleu_maritime_penalty`**: Statutory cash penalty calculation based on the Annex IV formula ($€2,400$/t VLSFO-eq reference rate with multi-year non-compliance escalators). * **`calculate_maritime_ets_surrender`**: EU ETS allowance (EUA) liability calculation implementing phased-in surrender obligations (40% in 2024, 70% in 2025, 100% in 2026+) and dynamic $N+1$ regulatory surrender deadlines (Sept 30). * **`provision_free_api_key`**: Developer provisioning engine delivering sandbox API keys for verifier XML manifests and BIMCO clause liability auditing. ### Key Highlights * **Cryptographic Determinism**: Every computation yields an immutable `result_hash` that remains constant across process restarts and environment redeployments. * **Ultra-low Latency**: Sub-millisecond execution times with zero external API dependencies for raw regulatory computations. * **Streamable HTTP Endpoint**: Publicly accessible via standard JSON-RPC 2.0 at `https://maritime.une.education/mcp.php`.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables deterministic calculation and classification of respiratory impedance, peripheral airway resistance (R5–R20), and reactance from oscillometry measurements through JSON-RPC tools for LLM and agent workflows.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables non-invasive deterministic evaluation of respiratory inertance, dynamic compliance, resonant frequency, and mechanical work of breathing through an MCP JSON-RPC tool for LLM and autonomous-agent use.
    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