# gautam9798/nodal-analysis architecture

> Architecture diagram of the GitHub repository gautam9798/nodal-analysis, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gautam9798/nodal-analysis
- Repository: https://github.com/gautam9798/nodal-analysis

## Overview

This is a small petroleum-engineering notebook project. Its documented workflow uses production-rate and flowing-pressure data to form IPR and tubing-size-specific TPR curves, then plots them together to examine the well’s operating point. The only source file listed is the notebook; no source excerpts were available, so relationships below rely on the README rather than inspected implementation details.

Main entry points: [`NodalAnalysis.ipynb`](https://github.com/gautam9798/nodal-analysis/blob/main/NodalAnalysis.ipynb) (Nodal analysis notebook)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_well_data["Well performance data"]
node_notebook["Nodal analysis notebook"]
node_ipr["IPR curve"]
node_tpr["Tubing-size TPR curves"]
node_comparison["Combined performance plot"]
node_operating_point["Operating behavior"]

node_well_data -->|"provides data"| node_notebook
node_notebook -->|"constructs"| node_ipr
node_notebook -->|"evaluates tubing sizes"| node_tpr
node_notebook -->|"plots together"| node_comparison
node_ipr -->|"included in"| node_comparison
node_tpr -->|"included in"| node_comparison
node_comparison -->|"supports analysis"| node_operating_point

click node_notebook "https://github.com/gautam9798/nodal-analysis/blob/main/NodalAnalysis.ipynb"
click node_ipr "https://github.com/gautam9798/nodal-analysis/blob/main/NodalAnalysis.ipynb"
click node_tpr "https://github.com/gautam9798/nodal-analysis/blob/main/NodalAnalysis.ipynb"
click node_comparison "https://github.com/gautam9798/nodal-analysis/blob/main/NodalAnalysis.ipynb"
click node_operating_point "https://github.com/gautam9798/nodal-analysis/blob/main/NodalAnalysis.ipynb"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_well_data toneIndigo
class node_notebook,node_ipr,node_tpr,node_comparison,node_operating_point toneTeal
```

## Components

### Other components

- **Well performance data**
- [Nodal analysis notebook](https://github.com/gautam9798/nodal-analysis/blob/main/NodalAnalysis.ipynb): `NodalAnalysis.ipynb`
- [IPR curve](https://github.com/gautam9798/nodal-analysis/blob/main/NodalAnalysis.ipynb): `NodalAnalysis.ipynb`
- [Tubing-size TPR curves](https://github.com/gautam9798/nodal-analysis/blob/main/NodalAnalysis.ipynb): `NodalAnalysis.ipynb`
- [Combined performance plot](https://github.com/gautam9798/nodal-analysis/blob/main/NodalAnalysis.ipynb): `NodalAnalysis.ipynb`
- [Operating behavior](https://github.com/gautam9798/nodal-analysis/blob/main/NodalAnalysis.ipynb): `NodalAnalysis.ipynb`

## Connections

- Well performance data → Nodal analysis notebook: provides data (evidence: `README.md`)
- Nodal analysis notebook → IPR curve: constructs (evidence: `README.md`)
- Nodal analysis notebook → Tubing-size TPR curves: evaluates tubing sizes (evidence: `README.md`)
- Nodal analysis notebook → Combined performance plot: plots together (evidence: `README.md`)
- IPR curve → Combined performance plot: included in (evidence: `README.md`)
- Tubing-size TPR curves → Combined performance plot: included in (evidence: `README.md`)
- Combined performance plot → Operating behavior: supports analysis (evidence: `README.md`)
