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

Algorithms not working for Jikong BMS #234

Open
alexeyklots opened this issue Jun 18, 2024 · 0 comments
Open

Algorithms not working for Jikong BMS #234

alexeyklots opened this issue Jun 18, 2024 · 0 comments

Comments

@alexeyklots
Copy link

I tried to use Algorithms feature with JIKONG BMS But got an error

  • Include exact BMS model name - JK_B1A8S10P
Paste log output between BEGIN and END:
15:00:24 INFO [algorithm] Max Soc reached, stop charging
15:00:24 ERROR [sampling] jk2 error (#1): BatterySwitches.__init__() got an unexpected keyword argument 'balance'
Traceback (most recent call last):
  File "/app/bmslib/sampling.py", line 155, in __call__
    s = await self._sample_inner()
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bmslib/sampling.py", line 283, in _sample_inner
    BatterySwitches(**sample.switches), res)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BatterySwitches.__init__() got an unexpected keyword argument 'balance'

Potentially related to the added Balance switch feature to Jikong bms

Thanks for such a great solution!

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