cshjin / Microgrid_sim

Other
12 stars 4 forks source link

Clustering scenarios #15

Open cshjin opened 9 years ago

cshjin commented 9 years ago
  1. reduce scenarios to 8
  2. kmeans algorithm gets different results from MATLAB and Python.
  3. reduce scenarios to 3
cshjin commented 9 years ago

Reduce 50 weather conditions to 8 with kmeans calculation of ideal solar radiation The results looks satified:

1:['Mostly Cloudy', 'Drizzle', 'Haze'] 3:['Freezing Rain', 'Light Rain', 'Rain', 'Rain Showers', 'Heavy Rain'] 2:['Clear', 'Scattered Clouds', 'Smoke', 'Partly Cloudy'] 5:['Ice Crystals', 'Thunderstorms and Snow', 'Patches of Fog', 'Volcanic Ash', 'Light Thunderstorms and Snow'] 4:['Overcast', 'Unknown', 'Fog', 'Light Rain Showers', 'Heavy Thunderstorms and Rain'] 7:['Snow', 'Snow Showers', 'Light Snow Showers', 'Light Snow', 'Light Drizzle', 'Light Blowing Snow', 'Light Freezing Drizzle', 'Mist', 'Blowing Snow'] 6:['Thunderstorms and Rain', 'Light Thunderstorms and Rain', 'Thunderstorm', 'Light Freezing Fog'] 8:['Light Freezing Rain', 'Heavy Snow', 'Light Mist', 'Ice Pellets', 'Light Ice Pellets', 'Small Hail', 'Sand']

cshjin commented 9 years ago

The calculation shows it could reduce the number of scenarios to 3, which is the initial paper we start with.

cshjin commented 9 years ago

Clustering into 3:

1: ['Overcast', 'Unknown', 'Snow', 'Snow Showers', 'Light Snow Showers', 'Freezing Rain', 'Fog', 'Light Snow', 'Light Drizzle', 'Light Rain', 'Light Blowing Snow', 'Rain', 'Light Rain Showers', 'Thunderstorms and Rain', 'Light Thunderstorms and Rain', 'Rain Showers', 'Thunderstorm', 'Light Freezing Rain', 'Light Freezing Drizzle', 'Heavy Snow', 'Mist', 'Light Mist', 'Blowing Snow', 'Heavy Thunderstorms and Rain', 'Heavy Rain', 'Ice Pellets', 'Light Ice Pellets', 'Light Freezing Fog', 'Small Hail', 'Sand'] 2: ['Clear', 'Scattered Clouds', 'Mostly Cloudy', 'Drizzle', 'Smoke', 'Partly Cloudy', 'Haze'] 3: ['Ice Crystals', 'Thunderstorms and Snow', 'Patches of Fog', 'Volcanic Ash', 'Light Thunderstorms and Snow']