Skip to content

trying to run main.py ERROR #7

@piotre13

Description

@piotre13

Hi, i'm trying to use your repository, i installed it and followed in running the main.py in order to do some test and understand how it works, but the following error appears:

Traceback (most recent call last):
  File "main.py", line 7, in <module>
    a.run()
  File "/Users/pietrorandomazzarino/Downloads/dragg-master/dragg/aggregator.py", line 1208, in run
    self.run_rl_agg()
  File "/Users/pietrorandomazzarino/Downloads/dragg-master/dragg/aggregator.py", line 1041, in run_rl_agg
    self.setup_rl_agg_run()
  File "/Users/pietrorandomazzarino/Downloads/dragg-master/dragg/aggregator.py", line 1029, in setup_rl_agg_run
    self.forecast_setpoint = self._gen_setpoint(self.timestep)
  File "/Users/pietrorandomazzarino/Downloads/dragg-master/dragg/aggregator.py", line 804, in _gen_setpoint
    self.tracked_loads[:-1] = self.tracked_loads[1:]
AttributeError: 'Aggregator' object has no attribute 'tracked_loads'

I've seen that the creationg of tracked_loads happens in the function set_dummy_rl_parameters() which is never called in any part of the aggregator script, so I was wondering if this is a usable tool or if needs some changes.
Then if possible I wanted to better understand what's happening and what is tracked_loads, which is its purpose etc..
Thanks a lot for the attention
PRM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions