# vtulus/aesa-ecoinvent-chemicals architecture

> Architecture diagram of the GitHub repository vtulus/aesa-ecoinvent-chemicals, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vtulus/aesa-ecoinvent-chemicals
- Repository: https://github.com/vtulus/aesa-ecoinvent-chemicals

## Overview

##### Project Type Analysis
This is a scientific data analysis project focused on environmental sustainability assessment. The minimal file structure suggests it's likely a Jupyter notebook or Python-based analysis project (given the environment.yml file for conda environment management).

##### Key Components

a. Data Sources Layer:
- Ecoinvent Database (External Data Source)
- Planetary Boundaries Data (7 boundaries mentioned in abstract)

b. Processing Layer:
- AESA Method Implementation
- Analysis Components for 492 Chemical Products
- Planetary Boundaries Assessment Module

c. Analysis Layer:
- Climate Change Impact Analysis
- Ocean Acidification Analysis
- Biosphere Integrity Analysis
- Carbon Footprint Correlation Analysis

d. Output Layer:
- Sustainability Assessment Results
- Transgression Level Metrics
- Visualization Components

##### Specific Elements

**[Data Sources Layer]**
**┌─────────────────┐    ┌─────────────────┐**
- Ecoinvent    │    │   Planetary     │
- Database     │    │   Boundaries    │
- ┬────────┘    └────────┬────────┘

- ┬──────────┘
- ▼
**[Processing Layer]**
**┌─────────────────────────────┐**
- AESA Method Pipeline    │
- ┌─────────────────────────┐ │
- Chemical Products      │ │
- Analysis (492 items)   │ │
- ┘ │
- ┬──────────────┘
- ▼
**[Analysis Layer]**
**┌─────────────────────────────┐**
- Environmental Impact      │
- Assessment Modules        │
- ┤
- Climate Change           │
- Ocean Acidification      │
- Biosphere Integrity      │
- Carbon Footprint         │
- ┬──────────────┘
- ▼
**[Output Layer]**
**┌─────────────────────────────┐**
- Results & Visualization   │
- Transgression Metrics    │
- Correlation Analysis     │
- Sustainability Reports   │
- ┘

##### Technical Details to Highlight

- Environment dependencies (from environment.yml)
- Data input/output formats
- Key computational methods
- Validation checkpoints

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Style definitions
    classDef datasource fill:#AED6F1,stroke:#2E86C1
    classDef processing fill:#A2D9CE,stroke:#27AE60
    classDef analysis fill:#F5CBA7,stroke:#E67E22
    classDef output fill:#D2B4DE,stroke:#8E44AD
    
    %% Data Sources Layer
    subgraph DataSources["Data Sources Layer"]
        EcoinventDB["Ecoinvent Database"]:::datasource
        PlanetaryBoundaries["Planetary Boundaries Data"]:::datasource
    end

    %% Processing Layer
    subgraph Processing["Processing Layer"]
        AESA["AESA Method Pipeline"]:::processing
        ChemicalAnalysis["Chemical Products Analysis<br/>(492 items)"]:::processing
    end

    %% Analysis Layer
    subgraph Analysis["Analysis Layer"]
        ClimateChange["Climate Change Impact"]:::analysis
        OceanAcid["Ocean Acidification"]:::analysis
        BiosphereInt["Biosphere Integrity"]:::analysis
        CarbonFootprint["Carbon Footprint<br/>Correlation"]:::analysis
    end

    %% Output Layer
    subgraph Output["Output Layer"]
        Results["Sustainability Assessment<br/>Results"]:::output
        Transgression["Transgression Level<br/>Metrics"]:::output
        Visualization["Visualization<br/>Components"]:::output
    end

    %% Relationships
    EcoinventDB --> AESA
    PlanetaryBoundaries --> AESA
    AESA --> ChemicalAnalysis
    
    ChemicalAnalysis --> ClimateChange
    ChemicalAnalysis --> OceanAcid
    ChemicalAnalysis --> BiosphereInt
    ChemicalAnalysis --> CarbonFootprint
    
    ClimateChange --> Results
    OceanAcid --> Results
    BiosphereInt --> Results
    CarbonFootprint --> Results
    
    Results --> Transgression
    Results --> Visualization

    %% Click events
    click AESA "https://github.com/vtulus/aesa-ecoinvent-chemicals/blob/master/environment.yml"

    %% Legend
    subgraph Legend["Legend"]
        DS["Data Source"]:::datasource
        PR["Processing"]:::processing
        AN["Analysis"]:::analysis
        OP["Output"]:::output
    end
```
