hermmanhender / eprllib

Repository that houses the program used to investigate the control of subsystems in homes based on a DRL model. The program uses the EnergyPlus Python API and Ray's Tune and RLlib libraries.
Other
1 stars 1 forks source link

reward function bug #14

Closed hermmanhender closed 3 months ago

hermmanhender commented 7 months ago
Traceback (most recent call last):

  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3553, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  File "<ipython-input-3-3c04007e6e42>", line 59, in <cell line: 59>
    from eprllib.tools import rewards, utils, action_transformers

  File "/usr/local/lib/python3.10/dist-packages/eprllib/tools/rewards.py", line 105
    def PPD_Energy_rewardconfig: Dict[str, Any], obs: dict, infos: dict) -> float:
                                                                       ^
SyntaxError: unmatched ')'