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

Implemented CCL/DCL depending on cell-voltage #293

Merged
merged 4 commits into from Nov 19, 2022

Conversation

WaldemarFech
Copy link
Contributor

Also renamed some variables, to differentiate between charge- and discharge current.

Now it's possible to choose the Current-Limitation-Mode: classic vs my variant. (Everbody can now implement his own idea, without harming other codes) #Choose the mode for voltage / current limitations in the utils.py: #LIMITATION_MODE = "Classic" # Classic Mode, limitations depending on State of Charge (SoC) LIMITATION_MODE = "WaldemarFech" # WaldemarFech-Mode, limitations depending on min / max cell-voltage

# Set Steps to reduce charging current. The current will be changed linear between those steps
    CELL_VOLTAGES_WHILE_CHARGING    = [3.55, 3.50, 3.45, 3.30]  # first value must be the highest
    MAX_CHARGE_CURRENT              = [   0,    2,  100,  200]

    CELL_VOLTAGES_WHILE_DISCHARGING = [2.70, 2.80, 2.90, 3.10]  # first value must be the lowest
    MAX_DISCHARGE_CURRENT           = [   0,    5,  100,  200]

Also renamed some variables, to differentiate between charge- and discharge current.



Now it's possible to choose the Current-Limitation-Mode: classic vs my variant. (Everbody can now implement his own idea, without harming other codes)
#Choose the mode for voltage / current limitations in the utils.py:
#LIMITATION_MODE = "Classic" # Classic Mode, limitations depending on State of Charge (SoC)
LIMITATION_MODE = "WaldemarFech" # WaldemarFech-Mode, limitations depending on min / max cell-voltage

#Setup the Voltage- and Current-Values in the utils.py:
#Set Steps to reduce charging current. The current will be changed linear between those steps
CELL_VOLTAGES_WHILE_CHARGING = [3.55, 3.50, 3.45, 3.30] # first value must be the highest
MAX_CHARGE_CURRENT = [ 0, 2, 100, 200]

CELL_VOLTAGES_WHILE_DISCHARGING = [2.70, 2.80, 2.90, 3.10]  # first value must be the lowest
MAX_DISCHARGE_CURRENT           = [   0,    5,  100,  200]
@Louisvdw
Copy link
Owner

I'll review your change in detail this weekend.

@chaerle
Copy link
Contributor

chaerle commented Nov 24, 2022

See #297

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

Successfully merging this pull request may close these issues.

None yet

3 participants