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

trying to run main.py ERROR #7

Open
piotre13 opened this issue Nov 12, 2020 · 0 comments
Open

trying to run main.py ERROR #7

piotre13 opened this issue Nov 12, 2020 · 0 comments

Comments

@piotre13
Copy link

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

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