# Cariflex - Documentation Complète ## Architecture Globale ``` ┌─────────────────────────────────────────────────────────────────────────┐ │ CARIFLEX PLATFORM │ │ Caribbean Flexibility — Martinique │ ├─────────────────────────────────────────────────────────────────────────┤ │ │ │ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │ │ │ DSO Layer │ │ Market Layer │ │ R&D Layer │ │ │ │ │ │ │ │ │ │ │ │ ENEDIS/RTE │ │ Flex Ready® │ │ OPLEM │ │ │ │ OpenADR 2.0b │ │ Aggregator │ │ HAMLET │ │ │ │ │ │ API │ │ lemlab │ │ │ └──────┬───────┘ └──────┬───────┘ └──────┬───────┘ │ │ │ │ │ │ │ ┌──────▼───────────────────▼───────────────────▼───────┐ │ │ │ FLEXMEASURES (Core RM) │ │ │ │ ┌─────────┐ ┌──────────┐ ┌──────────┐ ┌─────────┐ │ │ │ │ │Scheduling│ │Forecasting│ │ Reporting │ │ APIs │ │ │ │ │ └─────────┘ └──────────┘ └──────────┘ └─────────┘ │ │ │ └───────────────────────┬───────────────────────────────┘ │ │ │ │ │ ┌───────────────────────▼───────────────────────────────┐ │ │ │ IoT Layer │ │ │ │ MQTT (Mosquitto/EMQX/BunkerM) → Telegraf → InfluxDB │ │ │ └───────────────────────┬───────────────────────────────┘ │ │ │ │ │ ┌───────────────────────▼───────────────────────────────┐ │ │ │ Assets (40) │ │ │ │ 10 PV (5kWc) │ 10 Battery (100kWh) │ 10 EVSE (22kW) │ 10 EV (75kWh)│ │ └───────────────────────────────────────────────────────┘ │ │ │ │ ┌─────────────────────────────────────────────────────┐ │ │ │ Visualization Layer │ │ │ │ Grafana (supervision) │ Metabase (reporting) │ │ │ └─────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────────────────┘ ``` ## Standards Interopérabilité | Standard | Organisation | Usage | API | |----------|-------------|-------|-----| | **Flex Ready®** | GIMELEC/RTE/ENEDIS | Bâtiment ↔ Réseau | Aggregator + Supplier | | **IEC 62746-4** | IEC | Interfaces ressources côté demande | — | | **S2** | S2Standard.org | CEM/RM | WebSocket | | **OpenADR 2.0b** | OpenADR Alliance | Réponse à la demande | REST | | **OpenLEADR** | OpenLEADR | Passerelle OpenADR | Python lib | ## Actifs Cariflex | Type | Nb | Capacité | Localisation | |------|-----|----------|--------------| | Panneau PV | 10 | 5 kWc | Fort-de-France, Lamentin, Schoelcher | | Batterie | 10 | 100 kWh | Saint-Joseph, Marin, Vauclin, Sainte-Marie | | Borne VE | 10 | 22 kW | Diamant, Trois-Ilets, Salée, François, Robert | | Véhicule Électrique | 10 | 75 kWh (V2G) | Lorrain, Robert, Basse-Pointe, Grand-Rivière, etc. | ## Flux de Données ``` Capteurs IoT → MQTT → Telegraf → InfluxDB ↓ FlexMeasures (scheduling/forecast) ↓ ┌─────────┼─────────┐ ↓ ↓ ↓ Grafana Metabase S2 CEM (viz) (report) (DSO) ``` ## Fichiers de Configuration | Fichier | Description | |---------|-------------| | `config/flexmeasures-config.cfg` | Config FlexMeasures Cariflex | | `config/map-init-patch.js` | Patch carte OSM | | `scripts/init_flexmeasures_db.py` | Création des assets | | `scripts/telegraf-cariflex.conf` | Config Telegraf MQTT→InfluxDB | ## URLs | Service | URL | |---------|-----| | FlexMeasures | https://flexmeasures.digitribe.fr | | Grafana | https://grafana.digitribe.fr | | Metabase | https://metabase.digitribe.fr |