SolarSys2025 commited on
Commit
022c38d
Β·
verified Β·
1 Parent(s): 604f97f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +54 -20
README.md CHANGED
@@ -43,23 +43,57 @@ To enable large-scale simulation with realistic temporal dynamics, SolarSys incl
43
  The project is organized into core modules and data folders.
44
 
45
  ```tree
46
- SolarSys/
47
- β”œβ”€β”€ data/
48
- β”‚ β”œβ”€β”€ per_house/ # Raw CSVs for diffusion model training
49
- β”‚ β”œβ”€β”€ training/ # Cleaned RL training datasets
50
- β”‚ └── testing/ # Cleaned RL evaluation datasets
51
- β”œβ”€β”€ models/
52
- β”‚ β”œβ”€β”€ diffusion_models/ # Trained Hierarchical Diffusion Model checkpoints
53
- β”‚ β”œβ”€β”€ mappo_models/ # Trained MAPPO baselines and low-level agents
54
- β”‚ └── inter_agent_models/ # Trained MeanField high-level coordinator
55
- β”œβ”€β”€ Environment/
56
- β”‚ β”œβ”€β”€ __init__.py
57
- β”‚ └── solar_sys_environment.py # Custom Gym environment for flat RL
58
- β”œβ”€β”€ cluster/
59
- β”‚ β”œβ”€β”€ __init__.py
60
- β”‚ └── inter_cluster_coordinator.py # Logic for high-level trade matching
61
- └── trainers/
62
- β”œβ”€β”€ __init__.py
63
- β”œβ”€β”€ hierarchical_train.py # Main SolarSys HRL training script
64
- └── evaluation_scripts/ # Scripts for baselines (PG, MADDPG, MAPPO, MFAC)
65
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  The project is organized into core modules and data folders.
44
 
45
  ```tree
46
+ SolarSys_Hugging_face/
47
+ β”œβ”€β”€ assets/
48
+ β”œβ”€β”€ requirements.txt # Project Dependencies
49
+ β”œβ”€β”€ Dataset/ # Energy Data (Raw, Processed, and Synthetic)
50
+ β”‚ β”œβ”€β”€ Data/
51
+ β”‚ β”‚ β”œβ”€β”€ Ausgrid_processed_data.zip # Processed data (Australia)
52
+ β”‚ β”‚ β”œβ”€β”€ Ausgrid_raw_data/
53
+ β”‚ β”‚ └── Pecan_street_processed_data.zip # Processed data (US)
54
+ β”‚ └── Generated_Data.zip # Example synthetic data (2000 agents)
55
+ β”œβ”€β”€ Data_generation_tool_kit/ # Hierarchical Diffusion Model Code
56
+ β”‚ β”œβ”€β”€ Hier_diffusion_energy/
57
+ β”‚ β”‚ β”œβ”€β”€ hierarchial_diffusion_model.py # H-Diffusion U-Net Architecture
58
+ β”‚ β”‚ └── global_scaler.gz # Global normalization scaler, please delete and rerun if had problem
59
+ β”‚ β”œβ”€β”€ dataloader.py #
60
+ β”‚ β”œβ”€β”€ train.py # Diffusion model training script
61
+ β”‚ └── generate.py # Script to generate long-term sequences
62
+ β”œβ”€β”€ Models/ # Trained RL Policies for trial, please retrain your model for best results
63
+ β”‚ β”œβ”€β”€ 100agents_10size/
64
+ β”‚ β”‚ └── models/
65
+ β”‚ β”‚ β”œβ”€β”€ inter_ep10000.pth # High-Level (Inter-Cluster) policy
66
+ β”‚ β”‚ └── low_clusterX_ep10000.pth # Low-Level (Intra-Cluster) policies
67
+ β”‚ └── (Additional scaling folders) # e.g., 5agents_5size/, 1000agents_20size/, etc.
68
+ β”œβ”€β”€ SolarSys/ # SolarSys Implementation (MAPPO + MeanField)
69
+ β”‚ β”œβ”€β”€ Environment/
70
+ β”‚ β”‚ β”œβ”€β”€ cluster_env_wrapper.py # Vectorized environment wrapper
71
+ β”‚ β”‚ └── solar_sys_environment.py # Core Gym environment definition
72
+ β”‚ β”œβ”€β”€ mappo/ # MAPPO policy definition (Intra-Cluster)
73
+ β”‚ β”‚ └── trainer/
74
+ β”‚ β”‚ └── mappo.py # MAPPO algorithm
75
+ β”‚ β”œβ”€β”€ meanfield/ # MeanField policy definition (Inter-Cluster)
76
+ β”‚ β”‚ └── trainer/
77
+ β”‚ β”‚ └── meanfield.py # MeanField algorithm core
78
+ β”‚ β”œβ”€β”€ cluster.py # Inter-Cluster Coordinator logic
79
+ β”‚ β”œβ”€β”€ training_freezing.py # Main SolarSys HRL training script
80
+ β”‚ └── cluster_evaluation.py # Evaluation script for SolarSys
81
+ └── Other_algorithms/ # Baselines
82
+ β”œβ”€β”€ HC_MAPPO/ # Hierarchical Cluster MAPPO
83
+ β”‚ β”œβ”€β”€ Environment/
84
+ β”‚ β”œβ”€β”€ HC_MAPPO_train.py # Training script for HC-MAPPO
85
+ β”‚ └── HC_MAPPO_evaluation.py # Evaluation script for HC-MAPPO
86
+ └── Flat_System/ # Flat Baselines
87
+ β”œβ”€β”€ maddpg/ # Multi-Agent DDPG
88
+ β”‚ β”œβ”€β”€ maddpg_train.py
89
+ β”‚ └── maddpg_evaluation.py
90
+ β”œβ”€β”€ mappo/ # Flat MAPPO
91
+ β”‚ β”œβ”€β”€ mappo_train.py
92
+ β”‚ └── mappo_evaluation.py
93
+ β”œβ”€β”€ meanfield/ # Flat MeanField Actor-Critic (MFAC)
94
+ β”‚ β”œβ”€β”€ meanfield_train.py
95
+ β”‚ └── meanfield_evaluation.py
96
+ β”œβ”€β”€ PG/ # Policy Gradient (PG)
97
+ β”‚ β”œβ”€β”€ pg_train.py
98
+ β”‚ └── pg_evaluation.py
99
+ └── solar_sys_environment.py # Copy of the flat environment for baselines