# travelmodellinggroup/ilute architecture

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

- Interactive diagram: https://gitdiagram.com/travelmodellinggroup/ilute
- Repository: https://github.com/travelmodellinggroup/ilute

## Overview

ILUTE is a set of XTMF plug-in components for integrated land-use and transportation model systems. The likely user workflow is to configure a multi-year model and run model components over simulated time, producing demographic and housing outcomes; the README establishes the plug-in role, but the sampled material does not show the complete runtime dispatch or result-export path. The graph preserves the major domain modules visible in the tree, including spatial, firm, and labour data. Dashed, unevidenced links mark likely orchestration or market dependencies not confirmed by sampled calls.

Main entry points: [`ILUTE/ILUTE/Model/Housing/HousingMarket.cs`](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Housing/HousingMarket.cs) (Housing market), [`ILUTE/ILUTE/Model/Demographic`](https://github.com/travelmodellinggroup/ilute/tree/master/ILUTE/ILUTE/Model/Demographic) (Demographic models), [`ILUTE/ILUTE/MultiYearTravelDemandModel.cs`](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/MultiYearTravelDemandModel.cs) (Multi-year model), [`ILUTE/ILUTE/Interfaces/IExecuteYearly.cs`](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Interfaces/IExecuteYearly.cs) (Yearly modules)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Model runtime"]
  node_multiyear["Multi-year model"]
  node_yearly["Yearly modules<br/>[IExecuteYearly.cs]"]
  node_monthly["Monthly execution<br/>[ExecuteMonthly.cs]"]
  node_currency["Currency conversion<br/>[CurrencyManager.cs]"]
  node_random["Random numbers<br/>[Rand.cs]"]
  node_execution_log["Execution log<br/>[ExecutionLog.cs]"]
end

subgraph group_population["Population"]
  node_demographic_models["Demographic models"]
  node_demographic_checks["Demographic validation"]
end

subgraph group_markets["Markets"]
  node_housing_market["Housing market<br/>[HousingMarket.cs]"]
  node_asking_price["Asking prices<br/>[AskingPrice.cs]"]
  node_bids["Housing bids<br/>[Bid.cs]"]
  node_market_core["Market framework<br/>[MarketModel.cs]"]
end

subgraph group_domain["Domain data"]
  node_population_data["People and families<br/>[Person.cs]"]
  node_household["Households<br/>[Household.cs]"]
  node_dwelling["Dwellings<br/>[Dwelling.cs]"]
  node_firm_data["Firms and contracts"]
  node_labour_data["Jobs and labour<br/>[Job.cs]"]
  node_spatial_data["Zones and land use<br/>[ZoneSystem.cs]"]
  node_repository[("Object repository<br/>[Repository.cs]")]
end

node_xtmf(("XTMF user"))

node_xtmf -->|"configures plugin"| node_multiyear
node_multiyear -.->|"dispatches yearly"| node_yearly
node_yearly -.->|"runs stages"| node_demographic_models
node_yearly -.->|"runs checks"| node_demographic_checks
node_monthly -.->|"runs market"| node_housing_market
node_population_data -->|"belongs to"| node_household
node_household -->|"occupies"| node_dwelling
node_dwelling -->|"clears occupancy"| node_household
node_housing_market -.->|"uses prices"| node_asking_price
node_housing_market -.->|"uses bids"| node_bids
node_housing_market -.->|"uses framework"| node_market_core
node_demographic_models -.->|"updates population"| node_population_data
node_demographic_models -.->|"uses storage"| node_repository
node_demographic_checks -.->|"reads records"| node_repository
node_multiyear -.->|"uses zones"| node_spatial_data
node_housing_market -.->|"uses storage"| node_repository
node_housing_market -.->|"converts values"| node_currency
node_demographic_models -.->|"uses randomness"| node_random
node_firm_data -.->|"employs workers"| node_labour_data

click node_multiyear "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/MultiYearTravelDemandModel.cs"
click node_yearly "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Interfaces/IExecuteYearly.cs"
click node_monthly "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/ExecuteMonthly.cs"
click node_demographic_models "https://github.com/travelmodellinggroup/ilute/tree/master/ILUTE/ILUTE/Model/Demographic"
click node_demographic_checks "https://github.com/travelmodellinggroup/ilute/tree/master/ILUTE/ILUTE/Model/Demographic/Validation"
click node_housing_market "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Housing/HousingMarket.cs"
click node_asking_price "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Housing/AskingPrice.cs"
click node_bids "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Housing/Bid.cs"
click node_market_core "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Utilities/MarketModel.cs"
click node_population_data "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Demographics/Person.cs"
click node_household "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Demographics/Household.cs"
click node_dwelling "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Housing/Dwelling.cs"
click node_firm_data "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Firmology/BusinessEstablishment.cs"
click node_labour_data "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/LabourForce/Job.cs"
click node_spatial_data "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Spatial/ZoneSystem.cs"
click node_repository "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Repository.cs"
click node_currency "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Utilities/CurrencyManager.cs"
click node_random "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Rand.cs"
click node_execution_log "https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Utilities/ExecutionLog.cs"

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_multiyear,node_yearly,node_monthly,node_currency,node_random,node_execution_log,node_xtmf toneBlue
class node_demographic_models,node_demographic_checks toneAmber
class node_housing_market,node_asking_price,node_bids,node_market_core toneMint
class node_population_data,node_household,node_dwelling,node_firm_data,node_labour_data,node_spatial_data,node_repository toneRose
```

## Components

### Model runtime

- [Multi-year model](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/MultiYearTravelDemandModel.cs): `ILUTE/ILUTE/MultiYearTravelDemandModel.cs`
- [Yearly modules](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Interfaces/IExecuteYearly.cs): `ILUTE/ILUTE/Interfaces/IExecuteYearly.cs`
- [Monthly execution](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/ExecuteMonthly.cs): `ILUTE/ILUTE/ExecuteMonthly.cs`
- [Currency conversion](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Utilities/CurrencyManager.cs): `ILUTE/ILUTE/Model/Utilities/CurrencyManager.cs`
- [Random numbers](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Rand.cs): `ILUTE/ILUTE/Model/Rand.cs`
- [Execution log](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Utilities/ExecutionLog.cs): `ILUTE/ILUTE/Model/Utilities/ExecutionLog.cs`

### Population

- [Demographic models](https://github.com/travelmodellinggroup/ilute/tree/master/ILUTE/ILUTE/Model/Demographic): `ILUTE/ILUTE/Model/Demographic`
- [Demographic validation](https://github.com/travelmodellinggroup/ilute/tree/master/ILUTE/ILUTE/Model/Demographic/Validation): `ILUTE/ILUTE/Model/Demographic/Validation`

### Markets

- [Housing market](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Housing/HousingMarket.cs): `ILUTE/ILUTE/Model/Housing/HousingMarket.cs`
- [Asking prices](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Housing/AskingPrice.cs): `ILUTE/ILUTE/Model/Housing/AskingPrice.cs`
- [Housing bids](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Housing/Bid.cs): `ILUTE/ILUTE/Model/Housing/Bid.cs`
- [Market framework](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Model/Utilities/MarketModel.cs): `ILUTE/ILUTE/Model/Utilities/MarketModel.cs`

### Domain data

- [People and families](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Demographics/Person.cs): `ILUTE/ILUTE/Data/Demographics/Person.cs`
- [Households](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Demographics/Household.cs): `ILUTE/ILUTE/Data/Demographics/Household.cs`
- [Dwellings](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Housing/Dwelling.cs): `ILUTE/ILUTE/Data/Housing/Dwelling.cs`
- [Firms and contracts](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Firmology/BusinessEstablishment.cs): `ILUTE/ILUTE/Data/Firmology/BusinessEstablishment.cs`
- [Jobs and labour](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/LabourForce/Job.cs): `ILUTE/ILUTE/Data/LabourForce/Job.cs`
- [Zones and land use](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Spatial/ZoneSystem.cs): `ILUTE/ILUTE/Data/Spatial/ZoneSystem.cs`
- [Object repository](https://github.com/travelmodellinggroup/ilute/blob/master/ILUTE/ILUTE/Data/Repository.cs): `ILUTE/ILUTE/Data/Repository.cs`

### Other components

- **XTMF user**

## Connections

- XTMF user → Multi-year model: configures plugin
- Multi-year model → Yearly modules: dispatches yearly (evidence: `ILUTE/ILUTE/MultiYearTravelDemandModel.cs`)
- Yearly modules → Demographic models: runs stages (evidence: `ILUTE/ILUTE/Model/Demographic/Validation/CountInRepository.cs`)
- Yearly modules → Demographic validation: runs checks (evidence: `ILUTE/ILUTE/Model/Demographic/Validation/CountInRepository.cs`)
- Monthly execution → Housing market: runs market
- People and families → Households: belongs to (evidence: `ILUTE/ILUTE/Data/Demographics/Person.cs`)
- Households → Dwellings: occupies (evidence: `ILUTE/ILUTE/Data/Demographics/Household.cs`)
- Dwellings → Households: clears occupancy (evidence: `ILUTE/ILUTE/Data/Housing/Dwelling.cs`)
- Housing market → Asking prices: uses prices (evidence: `ILUTE/ILUTE/Model/Housing/HousingMarket.cs`)
- Housing market → Housing bids: uses bids (evidence: `ILUTE/ILUTE/Model/Housing/HousingMarket.cs`)
- Housing market → Market framework: uses framework (evidence: `ILUTE/ILUTE/Model/Housing/HousingMarket.cs`)
- Demographic models → People and families: updates population (evidence: `ILUTE/ILUTE/Model/Demographic/Immigration.cs`)
- Demographic models → Object repository: uses storage (evidence: `ILUTE/ILUTE/Model/Demographic/Validation/CountInRepository.cs`)
- Demographic validation → Object repository: reads records (evidence: `ILUTE/ILUTE/Model/Demographic/Validation/CountInRepository.cs`)
- Multi-year model → Zones and land use: uses zones (evidence: `ILUTE/ILUTE/MultiYearTravelDemandModel.cs`)
- Housing market → Object repository: uses storage (evidence: `ILUTE/ILUTE/Model/Housing/HousingMarket.cs`)
- Housing market → Currency conversion: converts values (evidence: `ILUTE/ILUTE/Model/Housing/HousingMarket.cs`)
- Demographic models → Random numbers: uses randomness (evidence: `ILUTE/ILUTE/Model/Demographic/Immigration.cs`)
- Firms and contracts → Jobs and labour: employs workers
