# agirsailing/vpp_agir architecture

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

- Interactive diagram: https://gitdiagram.com/agirsailing/vpp_agir
- Repository: https://github.com/agirsailing/vpp_agir

## Overview

This is a small MATLAB repository described as a velocity prediction program for analysing Moth performance. The tree shows boat and environment parameter modules plus a rudder module, but no main entry point or source excerpts, so their wiring and any broader performance-calculation workflow cannot be established. The graph therefore limits itself to the documented product purpose and the modules evidenced by filenames.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_parameters["Model parameters"]
  node_boat_params["Boat parameters<br/>[get_boat_params.m]"]
  node_env_params["Environment parameters<br/>[get_env_params.m]"]
end

subgraph group_controls["Boat control"]
  node_rudder["Rudder<br/>[rudder.m]"]
end

node_analyst(("Performance analyst"))
node_vpp["Moth VPP"]

node_analyst -->|"analyses performance"| node_vpp

click node_boat_params "https://github.com/agirsailing/vpp_agir/blob/dev/get_boat_params.m"
click node_env_params "https://github.com/agirsailing/vpp_agir/blob/dev/get_env_params.m"
click node_rudder "https://github.com/agirsailing/vpp_agir/blob/dev/rudder.m"

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_boat_params,node_env_params toneBlue
class node_rudder toneAmber
class node_analyst,node_vpp toneIndigo
```

## Components

### Model parameters

- [Boat parameters](https://github.com/agirsailing/vpp_agir/blob/dev/get_boat_params.m): `get_boat_params.m`
- [Environment parameters](https://github.com/agirsailing/vpp_agir/blob/dev/get_env_params.m): `get_env_params.m`

### Boat control

- [Rudder](https://github.com/agirsailing/vpp_agir/blob/dev/rudder.m): `rudder.m`

### Other components

- **Performance analyst**
- **Moth VPP**

## Connections

- Performance analyst → Moth VPP: analyses performance
