Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

activation_series() on the REDD dataset (imported with convert_redd() and DataSet() ) gives seemingly incorrect results #942

Open
ForkyTheEditor opened this issue Oct 19, 2021 · 0 comments

Comments

@ForkyTheEditor
Copy link

redd = DataSet(path)
all_activations = []

for number, building in redd.buildings.items():
    activations = {'Building' : number}
    for meter in building.elec.meters:
        activations[meter.label()] =  len(meter.activation_series(on_power_threshold=20))
       
    all_activations.append(activations)

I have even toyed around with the parameters of activation_series() but the metadata seems to work best. The results it gives me just don't seem right to me.

This is the output:

[{'Building': 1,
  'Site meter': 0,
  'Fridge': 724,
  'Dish washer': 18,
  'Sockets': 39,
  'Light': 73,
  'Microwave': 302,
  'Unknown': 0,
  'Electric space heater': 23,
  'Electric stove': 4,
  'Electric oven': 227,
  'Washer dryer': 32},
 {'Building': 2,
  'Site meter': 0,
  'Sockets': 27,
  'Light': 223,
  'Electric stove': 18,
  'Microwave': 65,
  'Washer dryer': 0,
  'Fridge': 374,
  'Dish washer': 5,
  'Waste disposal unit': 0},
 {'Building': 3,
  'Site meter': 5993,
  'Sockets': 106,
  'Light': 114,
  'CE appliance': 0,
  'Fridge': 723,
  'Waste disposal unit': 0,
  'Dish washer': 4,
  'Electric furnace': 36,
  'Microwave': 49,
  'Smoke alarm': 0,
  'Unknown': 40,
  'Washer dryer': 11},
 {'Building': 4,
  'Site meter': 1,
  'Light': 209,
  'Electric furnace': 8,
  'Sockets': 603,
  'Washer dryer': 15,
  'Electric stove': 91,
  'Unknown': 4,
  'Smoke alarm': 0,
  'Dish washer': 7,
  'Air conditioner': 53},
 {'Building': 5,
  'Site meter': 0,
  'Microwave': 3,
  'Light': 0,
  'Sockets': 0,
  'Electric furnace': 23,
  'Subpanel': 25,
  'Unknown': 2,
  'Fridge': 96,
  'Dish washer': 1,
  'Waste disposal unit': 0,
  'CE appliance': 10,
  'Washer dryer': 0,
  'Electric space heater': 3},
 {'Building': 6,
  'Site meter': 0,
  'Sockets': 4,
  'Washer dryer': 0,
  'Electric stove': 10,
  'CE appliance': 22,
  'Unknown': 4,
  'Fridge': 286,
  'Dish washer': 0,
  'Electric space heater': 6603,
  'Light': 0,
  'Air handling unit': 161,
  'Air conditioner': 40}]

The fridges are a good example about why this data seems off. Wildly different results for different houses even though a fridge is an appliance that mostly turns on and off automatically.

Anyone have any idea what's going on here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant