Files
cariflex/docs/deployment.md
Eric F ffc08d0629 Initial Cariflex project
- 40 FlexMeasures assets (10 PV, 10 Bat, 10 Chg, 10 EV)
- Geolocated on Martinique
- Documentation: architecture, deployment, concepts
- Standards: Flex Ready, S2, OpenADR, EPEX SPOT
- R&D tools: HAMLET, OPLEM, lemlab
- Map patch: Mapbox -> OpenStreetMap
2026-06-07 22:19:29 -04:00

144 lines
3.0 KiB
Markdown

# Cariflex - Script de Déploiement Complet
## 1. FlexMeasures (déjà déployé)
```bash
# Assets déjà créés: 40 (10 PV, 10 Bat, 10 Chg, 10 EV)
# Sensors: 40
# Carte: OSM patchée (Mapbox → OSM)
# Accès
URL: https://flexmeasures.digitribe.fr
Login: admin@digitribe.fr / Digitribe972
```
## 2. HAMLET (simulation LEM)
```bash
# Environnement conda dédié
conda create -n hamlet-rd python=3.11 -y
conda activate hamlet-rd
# Dépendances
pip install numpy pandas scipy matplotlib jupyter linopy pandapower pvlib highspy hplib pyoptinterface sktime xlsxwriter tqdm windpowerlib
# Cloner et installer HAMLET
git clone https://github.com/tum-ens/HAMLET.git /home/eric/cariflex/HAMLET
cd /home/eric/cariflex/HAMLET
pip install -e hamlet/creator
pip install -e hamlet/executor
pip install -e hamlet/analyzer
# Vérifier
python -c "import hamlet; print('HAMLET OK')"
```
## 3. OPLEM (optimisation LEM)
```bash
pip install git+https://github.com/EsaLaboratory/OPLEM.git
```
## 4. S2 CEM (FlexMeasures Client)
```bash
pip install flexmeasures-client[s2]
```
## 5. OpenLEADR (passerelle OpenADR)
```bash
pip install openleadr
```
## 6. Configuration FlexMeasures Cariflex
### 6.1 Flex Context (modèle de flexibilité)
Chaque type d'actif a un `flex_context` et `flex_model` :
**PV (production) :**
```json
{
"consumption-capacity": "0kW",
"production-capacity": "5kW",
"soc-min": "0kWh",
"soc-max": "0kWh"
}
```
**Batterie (stockage) :**
```json
{
"consumption-capacity": "50kW",
"production-capacity": "50kW",
"soc-min": "0kWh",
"soc-max": "100kWh",
"soc-usage": "10kWh",
"charging-efficiency": "95%",
"discharging-efficiency": "95%"
}
```
**EV Borne (consommation flexible) :**
```json
{
"consumption-capacity": "22kW",
"production-capacity": "0kW",
"soc-min": "0kWh",
"soc-max": "0kWh"
}
```
**EV (V2G) :**
```json
{
"consumption-capacity": "11kW",
"production-capacity": "11kW",
"soc-min": "15kWh",
"soc-max": "75kWh",
"charging-efficiency": "95%",
"discharging-efficiency": "95%"
}
```
### 6.2 Données de prévision
FlexMeasures nécessite des données de prévision pour :
- Production PV (données météo)
- Consommation (profil type)
- Prix de l'électricité (tarification EDF SEI)
## 7. Intégration DSO (ENEDIS/RTE)
### 7.1 Flex Ready® Aggregator API
Cariflex implémente l'interface Aggregator de Flex Ready® :
- Réception des demandes de flexibilité du DSO
- Agrégation des réponses des actifs
- Monitoring en temps réel
### 7.2 S2 Protocol
Le S2 CEM (Customer Energy Manager) fait le pont entre :
- FlexMeasures (côté RM)
- OpenADR/Flex Ready® (côté DSO)
## 8. Monitoring
### 8.1 Grafana
Dashboard Cariflex :
- Production PV temps réel
- État de charge des batteries
- Consommation des bornes VE
- Flexibilité disponible
- Signaux DSO
### 8.2 Métriques clés
- **Flexibilité disponible** : somme des capacités de modulation
- **Énergie échangée** : kWh produit/consommé
- **Revenus flexibilité** : €/kWh de flexibilité vendue
- **Taux d'utilisation** : % du temps en mode flexibilité