# foxciro/sievep-metor architecture

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

- Interactive diagram: https://gitdiagram.com/foxciro/sievep-metor
- Repository: https://github.com/foxciro/sievep-metor

## Overview

This Django application supports engineering evaluation of plant equipment, including heat exchangers, compressors, boilers, and auxiliary equipment. Users work through equipment-specific views to enter or manage operating data and evaluations; calculation modules support the engineering work, while report modules produce PDF and spreadsheet outputs. The graph preserves major equipment domains visible in the source tree. The README is empty, and some domain modules were not sampled, so connections are shown only where the SOURCE INDEX documents references.

Main entry points: [`intercambiadores/views.py`](https://github.com/foxciro/sievep-metor/blob/main/intercambiadores/views.py) (Exchanger Workflow), [`intercambiadores/models.py`](https://github.com/foxciro/sievep-metor/blob/main/intercambiadores/models.py) (Exchanger Data), [`compresores/views.py`](https://github.com/foxciro/sievep-metor/blob/main/compresores/views.py) (Compressor Workflow), [`auxiliares/views.py`](https://github.com/foxciro/sievep-metor/blob/main/auxiliares/views.py) (Auxiliary Workflow)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_equipment["Equipment Domains"]
  node_exchanger_views["Exchanger Workflow<br/>[views.py]"]
  node_exchanger_data[("Exchanger Data<br/>[models.py]")]
  node_compressor_views["Compressor Workflow<br/>[views.py]"]
  node_compressor_data[("Compressor Data<br/>[models.py]")]
  node_auxiliary_views["Auxiliary Workflow<br/>[views.py]"]
  node_auxiliary_data[("Auxiliary Data<br/>[models.py]")]
  node_boiler_domain["Boiler Domain"]
end

subgraph group_engineering["Engineering Calculations"]
  node_heat_eval["Heat Exchanger Evaluation<br/>[evaluaciones.py]"]
  node_thermo["Thermodynamic Properties<br/>[termodinamicos.py]"]
  node_units["Unit Conversion<br/>[unidades.py]"]
  node_aux_eval["Auxiliary Evaluation<br/>[evaluacion.py]"]
end

subgraph group_platform["Users And Access"]
  node_user_views["User Administration<br/>[views.py]"]
  node_user_data[("User And Survey Data<br/>[models.py]")]
end

subgraph group_outputs["Reports"]
  node_pdf_reports["PDF Reports<br/>[pdfs.py]"]
  node_spreadsheet_reports["Spreadsheet Reports<br/>[xlsx.py]"]
end

node_user(("Engineer"))

node_user -.->|"uses"| node_exchanger_views
node_exchanger_views -->|"reads and writes"| node_exchanger_data
node_exchanger_views -->|"uses calculations"| node_heat_eval
node_exchanger_views -->|"uses properties"| node_thermo
node_exchanger_views -->|"generates PDF"| node_pdf_reports
node_exchanger_views -->|"generates spreadsheet"| node_spreadsheet_reports
node_exchanger_data -->|"evaluates with"| node_heat_eval
node_exchanger_data -->|"converts units"| node_units
node_compressor_views -->|"reads and writes"| node_compressor_data
node_compressor_views -->|"runs evaluation"| node_aux_eval
node_compressor_views -->|"generates PDF"| node_pdf_reports
node_compressor_views -->|"generates spreadsheet"| node_spreadsheet_reports
node_compressor_data -->|"references shared plant data"| node_exchanger_data
node_auxiliary_views -->|"reads and writes"| node_auxiliary_data
node_auxiliary_views -->|"runs evaluation"| node_aux_eval
node_auxiliary_views -->|"generates PDF"| node_pdf_reports
node_auxiliary_views -->|"generates spreadsheet"| node_spreadsheet_reports
node_aux_eval -->|"converts units"| node_units
node_aux_eval -->|"uses properties"| node_thermo
node_user_views -->|"manages accounts"| node_user_data
node_user_data -->|"references plant data"| node_exchanger_data
node_user -.->|"manages access"| node_user_views

click node_exchanger_views "https://github.com/foxciro/sievep-metor/blob/main/intercambiadores/views.py"
click node_exchanger_data "https://github.com/foxciro/sievep-metor/blob/main/intercambiadores/models.py"
click node_compressor_views "https://github.com/foxciro/sievep-metor/blob/main/compresores/views.py"
click node_compressor_data "https://github.com/foxciro/sievep-metor/blob/main/compresores/models.py"
click node_auxiliary_views "https://github.com/foxciro/sievep-metor/blob/main/auxiliares/views.py"
click node_auxiliary_data "https://github.com/foxciro/sievep-metor/blob/main/auxiliares/models.py"
click node_boiler_domain "https://github.com/foxciro/sievep-metor/tree/main/calderas"
click node_heat_eval "https://github.com/foxciro/sievep-metor/blob/main/calculos/evaluaciones.py"
click node_thermo "https://github.com/foxciro/sievep-metor/blob/main/calculos/termodinamicos.py"
click node_units "https://github.com/foxciro/sievep-metor/blob/main/calculos/unidades.py"
click node_aux_eval "https://github.com/foxciro/sievep-metor/blob/main/auxiliares/evaluacion.py"
click node_user_views "https://github.com/foxciro/sievep-metor/blob/main/usuarios/views.py"
click node_user_data "https://github.com/foxciro/sievep-metor/blob/main/usuarios/models.py"
click node_pdf_reports "https://github.com/foxciro/sievep-metor/blob/main/reportes/pdfs.py"
click node_spreadsheet_reports "https://github.com/foxciro/sievep-metor/blob/main/reportes/xlsx.py"

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_exchanger_views,node_exchanger_data,node_compressor_views,node_compressor_data,node_auxiliary_views,node_auxiliary_data,node_boiler_domain toneBlue
class node_heat_eval,node_thermo,node_units,node_aux_eval toneAmber
class node_user_views,node_user_data toneMint
class node_pdf_reports,node_spreadsheet_reports toneRose
class node_user toneIndigo
```

## Components

### Equipment Domains

- [Exchanger Workflow](https://github.com/foxciro/sievep-metor/blob/main/intercambiadores/views.py): `intercambiadores/views.py`
- [Exchanger Data](https://github.com/foxciro/sievep-metor/blob/main/intercambiadores/models.py): `intercambiadores/models.py`
- [Compressor Workflow](https://github.com/foxciro/sievep-metor/blob/main/compresores/views.py): `compresores/views.py`
- [Compressor Data](https://github.com/foxciro/sievep-metor/blob/main/compresores/models.py): `compresores/models.py`
- [Auxiliary Workflow](https://github.com/foxciro/sievep-metor/blob/main/auxiliares/views.py): `auxiliares/views.py`
- [Auxiliary Data](https://github.com/foxciro/sievep-metor/blob/main/auxiliares/models.py): `auxiliares/models.py`
- [Boiler Domain](https://github.com/foxciro/sievep-metor/tree/main/calderas): `calderas`

### Engineering Calculations

- [Heat Exchanger Evaluation](https://github.com/foxciro/sievep-metor/blob/main/calculos/evaluaciones.py): `calculos/evaluaciones.py`
- [Thermodynamic Properties](https://github.com/foxciro/sievep-metor/blob/main/calculos/termodinamicos.py): `calculos/termodinamicos.py`
- [Unit Conversion](https://github.com/foxciro/sievep-metor/blob/main/calculos/unidades.py): `calculos/unidades.py`
- [Auxiliary Evaluation](https://github.com/foxciro/sievep-metor/blob/main/auxiliares/evaluacion.py): `auxiliares/evaluacion.py`

### Users And Access

- [User Administration](https://github.com/foxciro/sievep-metor/blob/main/usuarios/views.py): `usuarios/views.py`
- [User And Survey Data](https://github.com/foxciro/sievep-metor/blob/main/usuarios/models.py): `usuarios/models.py`

### Reports

- [PDF Reports](https://github.com/foxciro/sievep-metor/blob/main/reportes/pdfs.py): `reportes/pdfs.py`
- [Spreadsheet Reports](https://github.com/foxciro/sievep-metor/blob/main/reportes/xlsx.py): `reportes/xlsx.py`

### Other components

- **Engineer**

## Connections

- Engineer → Exchanger Workflow: uses
- Exchanger Workflow → Exchanger Data: reads and writes (evidence: `intercambiadores/views.py`)
- Exchanger Workflow → Heat Exchanger Evaluation: uses calculations (evidence: `intercambiadores/views.py`)
- Exchanger Workflow → Thermodynamic Properties: uses properties (evidence: `intercambiadores/views.py`)
- Exchanger Workflow → PDF Reports: generates PDF (evidence: `intercambiadores/views.py`)
- Exchanger Workflow → Spreadsheet Reports: generates spreadsheet (evidence: `intercambiadores/views.py`)
- Exchanger Data → Heat Exchanger Evaluation: evaluates with (evidence: `intercambiadores/models.py`)
- Exchanger Data → Unit Conversion: converts units (evidence: `intercambiadores/models.py`)
- Compressor Workflow → Compressor Data: reads and writes (evidence: `compresores/views.py`)
- Compressor Workflow → Auxiliary Evaluation: runs evaluation (evidence: `compresores/views.py`)
- Compressor Workflow → PDF Reports: generates PDF (evidence: `compresores/views.py`)
- Compressor Workflow → Spreadsheet Reports: generates spreadsheet (evidence: `compresores/views.py`)
- Compressor Data → Exchanger Data: references shared plant data (evidence: `compresores/models.py`)
- Auxiliary Workflow → Auxiliary Data: reads and writes (evidence: `auxiliares/views.py`)
- Auxiliary Workflow → Auxiliary Evaluation: runs evaluation (evidence: `auxiliares/views.py`)
- Auxiliary Workflow → PDF Reports: generates PDF (evidence: `auxiliares/views.py`)
- Auxiliary Workflow → Spreadsheet Reports: generates spreadsheet (evidence: `auxiliares/views.py`)
- Auxiliary Evaluation → Unit Conversion: converts units (evidence: `auxiliares/evaluacion.py`)
- Auxiliary Evaluation → Thermodynamic Properties: uses properties (evidence: `auxiliares/evaluacion.py`)
- User Administration → User And Survey Data: manages accounts (evidence: `usuarios/views.py`)
- User And Survey Data → Exchanger Data: references plant data (evidence: `usuarios/models.py`)
- Engineer → User Administration: manages access
