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

Battery improvements #206

Open
BenWinchester opened this issue Jun 7, 2023 Discussed in #194 · 0 comments
Open

Battery improvements #206

BenWinchester opened this issue Jun 7, 2023 Discussed in #194 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@BenWinchester
Copy link
Contributor

BenWinchester commented Jun 7, 2023

General

There are several improvements that should be made to the battery code within CLOVER. These issues and discussions are mentioned here.

Issues merged here

Bugs

Bugs that have been merged under the general issue of battery improvements are below

📉 Battery degradation rates

Issue: #132
Discussion: #194

Discussed in #194

Originally posted by BenWinchester October 20, 2022

Describe the bug

The battery degradation rates are not behaving as expected as both the maximum and minimum capacities are degrading whereas, in reality, the minimum shouldn't degrade at any rate. This is unexpected behaviour and the minimum capacity .

To Reproduce

Steps to reproduce the behavior:
This functionality is hard baked into the code:

maximum_battery_storage = (
    battery_storage_degradation
    * electric_storage_size
    * minigrid.battery.maximum_charge  # type: ignore
    * minigrid.battery.storage_unit  # type: ignore
)
minimum_battery_storage = (
    battery_storage_degradation
    * electric_storage_size
    * minigrid.battery.minimum_charge  # type: ignore
    * minigrid.battery.storage_unit  # type: ignore
)

Expected behaviour

Here, the minimum battery storage should not be degradading

maximum_battery_storage = (
    battery_storage_degradation
    * electric_storage_size
    * minigrid.battery.maximum_charge  # type: ignore
    * minigrid.battery.storage_unit  # type: ignore
)
-minimum_battery_storage = (
-    battery_storage_degradation
-    * electric_storage_size
-    * minigrid.battery.minimum_charge  # type: ignore
-    * minigrid.battery.storage_unit  # type: ignore
-)

Screenshots

Screenshots are not applicable, code snippet has been included.

Additional Information

Desktop

(please complete the following information)

  • OS: 🐧 but applicable to 🍎 and 🏁
  • Installation setup: git clone
  • Version: v5.0.5
  • Branch, if relevant: diesel-dev but found in master

Modifications

None applicable.

@BenWinchester BenWinchester added the bug Something isn't working label Jun 7, 2023
@BenWinchester BenWinchester added the enhancement New feature or request label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants