Skip to content

Active bat control for all modes#2599

Merged
LKuemmel merged 4 commits intoopenWB:masterfrom
ndrsnhs:active-bat-control
Aug 13, 2025
Merged

Active bat control for all modes#2599
LKuemmel merged 4 commits intoopenWB:masterfrom
ndrsnhs:active-bat-control

Conversation

@ndrsnhs
Copy link
Contributor

@ndrsnhs ndrsnhs commented Jul 28, 2025

# dann Speichereistung begrenzen.
if (self.data.config.power_limit_mode != BatPowerLimitMode.NO_LIMIT.value and
len(chargepoint_by_chagemodes) > 0 and
len(chargepoint_by_chargemodes) > 0 and
Copy link
Contributor

@LKuemmel LKuemmel Jul 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Soll die Speicher-Entladung gesperrt werden, sobald ein LP in einem Lademodus ist, in dem geladen werden kann oder nur, wenn wirklich geladen wird, also data.data.cp_all_data.data.get.power > 100?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nur wenn wirklich geladen wird:
Prüfung wie bisher mit: power_of_chargepoints_by_chagemodes > 0

Die Prüfung auf data.data.cp_all_data.data.get.power ist vermutlich effizienter. Aufsummierung vorher gab es nur, da nur die LP mit additional current berücksichtigt wurden.

@LKuemmel LKuemmel added this to the 2.1.8 milestone Aug 12, 2025
@LKuemmel LKuemmel merged commit 23ca0a2 into openWB:master Aug 13, 2025
1 check passed
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.

2 participants