pulquero / BatteryAggregator

MIT License
32 stars 8 forks source link

How to change CVL? #23

Closed dersch81 closed 2 months ago

dersch81 commented 5 months ago

Hi, i want to balance my cells. But the battery aggregator limit CVL to 54v. For balancing i need 55.3v

My BMS and DVCC is settable but for the aggregator i cant. How can i do this?

pulquero commented 5 months ago

Currently, to avoid overvoltage, the aggregator picks the lowest voltage. I should be able to detect balancing and pick the highest to fix this.

dersch81 commented 5 months ago

It will also detect balancing if not the BMS is balancing but an additional NEEY Balancer?

I'm controlling the balancing schedule via dynamical setting the CVL of DVCC. If any other service is reducing the CVL it might disturb this process. And that is why i would like to fix the CVL at any other service than DVCC.

pulquero commented 5 months ago

See if v2.8 helps.

dersch81 commented 5 months ago

Seems to work

dersch81 commented 3 months ago

It's not working anymore. DVCC is set to 55.3v to balance but the BatteryAggregator has 54v

image

image

I want to have DVCC settings as a primary value. Is this possible?

pulquero commented 3 months ago

Switch to head and try v3.0.55. I've added dvcc support.

dersch81 commented 3 months ago

I have installed it and will watch it. Many thanks for your quick response

superkrischi commented 3 months ago

Hello,

i have the same issue. How can i install v3.0.55? SetupHelper shows only v3.0.52 as latest.

Thanks and greetings Kris

dersch81 commented 3 months ago

Just change branch to main

superkrischi @.***> schrieb am Do., 9. Mai 2024, 19:21:

Hello,

i have the same issue. How can i install v3.0.55? SetupHelper shows only v3.0.52 as latest.

Thanks and greetings Kris

— Reply to this email directly, view it on GitHub https://github.com/pulquero/BatteryAggregator/issues/23#issuecomment-2103085314, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADI6EC7SKBYCC677TGCVTE3ZBOWAHAVCNFSM6AAAAABEAB73O2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBTGA4DKMZRGQ . You are receiving this because you modified the open/close state.Message ID: @.***>

pulquero commented 3 months ago

Closing as no further issues reported.

dersch81 commented 2 months ago

Im still in MAIN and it worked very good until the last update to 3.0.66 with taking the CVL setting of DVCC into account.

But with 3.0.66 my batteries are just charged very slow with 45A max. When i change the battery monitor of DVCC to some battery pack it is starting to charge with full possible power to my CVL.

What has been changed?

cat /var/log/BatteryAggregator/current @400000006667ffd218dd3624 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.11V is 0.012492703845637079+- 0.0007563055308780551 @400000006667ffd314adffac INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.2V is 0.01248495739058057+-0. 001043973926202379 @400000006667ffd41bddcbf4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.15V is 0.012414153987783453+- 0.0009764877768317835 @400000006667ffd5193a753c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.19V is 0.012387671041182487+- 0.0009148719421061594 @400000006667ffda14808af4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.21V is 0.012522096745145313+- 0.0008707995523977491 @400000006667ffdf1a805704 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.19V is 0.012502098181461495+- 0.0008996160872703702 @400000006667ffea16c1206c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.21V is 0.01215743556763956+-0 .0009352292979477212 @400000006667fffa19857474 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.24V is 0.012336443050114953+- 0.0009296625721310244 @40000000666800051d11d754 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.11V is 0.011862701667652522+- 0.000913833902547575 @4000000066680007180b72ec INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.24V is 0.012321743459166614+- 0.0012059551745727014 @4000000066680008219d5ab4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.02V is 0.01414010984143554+-0 .0008834592825699573 @400000006668000a22639c9c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.19V is 0.01436092619127186+-0 .0007859308598726242 @400000006668000b2166a2e4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.13V is 0.014506856804531737+- 0.0013310415116122656 @400000006668000e1f4c0044 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.16V is 0.014550503805979066+- 0.0013442689211241772 @40000000666800101fd9500c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.06V is 0.01451789701497353+-0 .0011605833651986983 @400000006668001120d6caac INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.13V is 0.014564190529429496+- 0.0011855176286946938 @40000000666800141b923464 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.11V is 0.014618827770365073+- 0.0012780724293647017 @40000000666800501fd99274 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.23V is 0.011858788212681303+- 0.0011507711235277916 @400000006668005226e7c52c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.1V is 0.012063143875944623+-0 .0008246827620038866 @40000000666800542b899b64 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.16V is 0.012057415940513527+- 0.0007244928564420681 @400000006668005528d0c8ac INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.19V is 0.01160777258878223+-0 .0010915332500080306 @40000000666800572a465d64 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.06V is 0.012625115708448927+- 0.0009470759800784565 @4000000066680058215637c4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.16V is 0.012916394003095832+- 0.0009801942400464458 @400000006668005a23b286e4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.19V is 0.012981230137481765+- 0.0010481671643967386 @400000006668005b2c03b534 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.13V is 0.01307950281676308+-0 .0010081508919240517 @400000006668005c2687b36c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.17V is 0.013190001038196642+- 0.001022392227260154 @400000006668005d25a3e31c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.15V is 0.013144738709478136+- 0.0011387140875386214 @400000006668005f2742ba54 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.11V is 0.012434998283266302+- 0.0010903750647766107 @4000000066680087265d868c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.18V is 0.008116949497809368+- 0.0007605174655378752 @4000000066680092264ec14c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.2V is 0.01007198171671515+-0. 0009310628116484205 @400000006668009d29c14afc INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.1V is 0.009993886585114244+-0 .0008674841184681502 @40000000666800a023a01824 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.19V is 0.014600774586019069+- 0.0012947265102943462 @40000000666800a22346b93c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.07V is 0.01425982098324537+-0 .001129289226224412 @40000000666800a3241557c4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.13V is 0.013666728871963626+- 0.0009446411169737383 @400000006668010230ec586c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.15V is 0.010815099640393906+- 0.0010467885094273429 @4000000066680103361738ac INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.17V is 0.01099373931722092+-0 .0007791426485741368 @40000000666801042f6074c4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.16V is 0.011035629215702763+- 0.0010193866603449408 @400000006668010533b37b34 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.19V is 0.012273981118405834+- 0.0008774333568716491 @400000006668010632f426bc INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.2V is 0.012198200783606662+-0 .0005172488922076914 @40000000666801092f6f0b24 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.21V is 0.013053388410059817+- 0.0008432783402813702 @400000006668010f329c3704 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.24V is 0.013815885882864165+- 0.0008293465475481603 @400000006668011333e2092c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.23V is 0.01357037518738212+-0 .0007162355469171802 @400000006668011534bae8b4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.24V is 0.014978733867032171+- 0.000973131358502342 @4000000066680681327dc224 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.21V is 0.01730268180540222+-0 .0017187086796444406 @400000006668254f012d8d44 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.05V is 0.018228260581047116+- 0.0017739365187304365 @400000006668254f357eec64 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.01V is 0.01670452448439198+-0 .0013105621633113889 @400000006668254f3a6b21ac INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.02V is 0.018395730997259174+- 0.0009662429445055312 @400000006668255103ec0934 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 52.99V is 0.017537481321312123+- 0.0013132354912693594 @4000000066682551358b448c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.0V is 0.018544788508151635+-0 .0003742174254402874 @40000000666825530ae0e78c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 52.96V is 0.017638881470799034+- 0.0007623992096282066 @400000006668255335bfc5f4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 52.97V is 0.01636115637620466+-0 .0008776305324913735 @400000006668255335f5d5cc INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 52.97V is 0.01867857331018181+-0 .000377064597481002 @400000006668255600ee51c4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 52.94V is 0.016180886533039313+- 0.0006452869716726956 @400000006668255608de3da4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 52.94V is 0.01751956256003044+-0 .0005491490637101633 @4000000066682556357f1b44 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 52.94V is 0.01952313174289314+-0 .0005666182181312973 @40000000666825593508e974 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 52.91V is 0.01609704657449811+-0 .0006455264279257545 @400000006668255a0b363b4c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 52.91V is 0.018676239012738863+- 0.0004893269634879903 @400000006668255a39ba01ec INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 52.91V is 0.020789543407921895+- 0.0007387488171253558 @400000006668255c35b36dcc INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 52.87V is 0.017289909209670464+- 0.0008767218400917231 @400000006668255d36969a0c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 52.88V is 0.021808143717297918+- 0.0011792626045561813 @400000006668255e0a7b7ab4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 52.87V is 0.019248625455173772+- 0.0007240963664686435 @400000006668256204d6cadc INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 52.84V is 0.02057384832541446+-0 .0013112914721202411 @4000000066682562391f6bb4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 52.86V is 0.024202772431423523+- 0.0017215282937506483 @4000000066682563365cd8e4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 52.84V is 0.018917077913332556+- 0.0014431828564332937 @400000006668256a36f19ed4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.31V is 0.010145379934359166+- 0.0006767249592998062 @400000006668256b0c054f04 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.33V is 0.011835576391288056+- 0.0010972766103729253 @400000006668348538c1c70c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.68V is 0.008652991875404612+- 0.0006551555633714635 @4000000066683486388087ec INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.7V is 0.008703986055532699+-0 .0007408436389742758 @400000006668348938cbd544 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.74V is 0.008555149276627613+- 0.0006914796761038175 @40000000666835342a1e14e4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.29V is 0.016450862254866583+- 0.0015804257544857513 @4000000066683539295d87ec INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.26V is 0.01634975307510551+-0 .0014482599418593365 @400000006668353c0bc20c44 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.28V is 0.028938827374142818+- 0.0023628672040994316 @400000006668380d2823526c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.7V is 0.00525224835417688+-0. 0005000575801628393 @40000000666838112870f184 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.73V is 0.005292409572461458+- 0.00047260560021710667 @400000006668388132316f14 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.61V is 0.0058697486969439515+ -0.0005541707276805865 @4000000066683883339d91d4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.68V is 0.006518550769581893+- 0.00047979670076955474 @400000006668388432d3aa54 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.7V is 0.006524443858167191+-0 .00047337206054732936 @40000000666838851bca2c84 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.7V is 0.007787745977012923+-0 .0007185900610783675 @40000000666838883542644c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.74V is 0.008635628281085234+- 0.0007666804924960121 @40000000666838883932d474 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.73V is 0.006588028721641167+- 0.00047378282774910576 @40000000666838891b72dcf4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.73V is 0.007716585743648409+- 0.00036373268940373085 @4000000066683de83915f1ec INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.63V is 0.011554930611114981+- 0.000962483772608887 @4000000066683de93351e2d4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.68V is 0.011107924439281918+- 0.0010610719237626877 @4000000066683dee34c6f6a4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.75V is 0.010461616973791615+- 0.0009769263227108562 @4000000066683e6301eeb67c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.67V is 0.010637516121499133+- 0.0007802445639704424 @4000000066683eff10363714 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.2V is 0.061322579250455575+-0 .0043201631185536835 @4000000066683f01141d4cb4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.18V is 0.05735448452276379+-0 .0056123197797641015 @4000000066683f022f7ebac4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.18V is 0.0694339635097153+-0. 004215516343332869 @4000000066683f0611245034 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.18V is 0.06427470529052437+-0 .005140057655947678 @4000000066683f062fd1fb44 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.16V is 0.06814204509794985+-0 .003981634729033222 @4000000066683f0e118bdc04 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.16V is 0.06947747507519082+-0 .005525556709766927 @4000000066683f1131ed0b44 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.13V is 0.06939038287056856+-0 .004350023566120683 @40000000666842a2285f616c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.23V is 0.03306313812324012+-0 .0032957486144698867 @4000000066684ce613c01d3c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.5V is 0.02333215521279512+-0. 0021109079105964532 @4000000066684ce830ac616c INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.5V is 0.02262038596122533+-0. 0018787315630352372 @4000000066684cef14441e34 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.48V is 0.024771071938644126+- 0.002217194037431403 @4000000066684cf03087aafc INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.47V is 0.024386642427119395+- 0.0020939267079978664 @4000000066684cf2163599ac INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.48V is 0.031569176836630124+- 0.002281739781675673 @4000000066684cf815455dac INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.45V is 0.02638134623201901+-0 .002355422809556654 @4000000066684cff32b11e94 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM0 @ 53.44V is 0.028595751581452573+- 0.002468007488440132 @4000000066684d011939bda4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.45V is 0.03344162225614914+-0 .001974524698572425 @4000000066684d0316181ae4 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM2 @ 53.43V is 0.030961655468004976+- 0.0028037110420273607 @4000000066684d0f1c309f14 INFO:com.victronenergy.battery.aggregator:Internal res istance for com.victronenergy.battery.ttyACM1 @ 53.5V is 0.03428030750523856+-0. 003041916472299799

pulquero commented 2 months ago

The change in v3.0.66 should only affect use of the auxiliaryServices option. I think the issue maybe to do more with that BatteryAggregator restarted. I've just pushed a fix that I think will fix your issue, you should see CCL updates now in the log that'll ensure it is set to the correct value.

dersch81 commented 2 months ago

Thanks, i just installed 3.0.67 and will watch. But the CVL setting of DVCC is still not taken.

pulquero commented 2 months ago

What about CCL? Are there CCL updates in the log?

dersch81 commented 2 months ago

That is the output:

cat /var/log/BatteryAggregator/current
@4000000066693df52654187c INFO:com.victronenergy.battery.aggregator:Connected batteries: ['com.victronenergy.battery.ttyACM0', 'com.victronenergy.battery.ttyACM1', 'com.victronenergy.battery.ttyACM2']
@4000000066693df526543ba4 INFO:com.victronenergy.battery.aggregator:Current ratios: [(2.6610937228150093, 'ir'), (3.1768595449884347, 'ir'), (3.2316610448230927, 'ir')]
@4000000066693df526545314 INFO:com.victronenergy.battery.aggregator:CCL estimates: [226.1929664392758, 270.03306132401696, 274.69118880996285]
@4000000066693df526563774 INFO:com.victronenergy.battery.aggregator:Individual DCLs: {'com.victronenergy.battery.ttyACM0': 95.0, 'com.victronenergy.battery.ttyACM1': 95.0, 'com.victronenergy.battery.ttyACM2': 95.0}
@4000000066693df5265652cc INFO:com.victronenergy.battery.aggregator:Connected batteries: ['com.victronenergy.battery.ttyACM0', 'com.victronenergy.battery.ttyACM1', 'com.victronenergy.battery.ttyACM2']
@4000000066693df526566a3c INFO:com.victronenergy.battery.aggregator:Current ratios: [(2.6610937228150093, 'ir'), (3.1768595449884347, 'ir'), (3.2316610448230927, 'ir')]
@4000000066693df5268912fc INFO:com.victronenergy.battery.aggregator:DCL estimates: [252.80390366742589, 301.8016567739013, 307.0077992581938]

Unfortunatley it doesn't changed. It is charging with very low A

image

image

There is enough PV power available. It is just consumed 100 % because the battery charging ist limited by the aggregator and my dynamic powered water heater is taking the surplus.

pulquero commented 2 months ago

I've added a dedicated cvlMode to track the DVCC voltage. If you set {"cvlMode": "dvcc"} in config then the battery aggregator should track whatever you dynamically set the Max charge voltage to.

dersch81 commented 2 months ago

i have installed 3.0.68 but it seems my /data/setupOptions/BatteryAggregator/config.json file is ignored:

cat /data/setupOptions/BatteryAggregator/config.json
{"cvlMode": "dvcc"}
{"currentRatioMethod": "count"}
@40000000666995c6184635e4 INFO:com.victronenergy.battery.aggregator:Individual DCLs: {'com.victronenergy.battery.ttyACM0': 95.0, 'com.victronenergy.battery.ttyACM1': 95.0, 'com.victronenergy.battery.ttyACM2': 95.0}
@40000000666995c61855455c INFO:com.victronenergy.battery.aggregator:Connected batteries: ['com.victronenergy.battery.ttyACM0', 'com.victronenergy.battery.ttyACM1', 'com.victronenergy.battery.ttyACM2']
@40000000666995c61861052c INFO:com.victronenergy.battery.aggregator:Current ratios: [(3.0, 'capacity'), (2.980132450331126, 'capacity'), (3.0201342281879193, 'capacity')]
@40000000666995c6186a57e4 INFO:com.victronenergy.battery.aggregator:DCL estimates: [285.0, 283.112582781457, 286.9127516778523]
@40000000666995c618aa991c INFO:com.victronenergy.battery.aggregator:Individual CCLs: {'com.victronenergy.battery.ttyACM0': 85.0, 'com.victronenergy.battery.ttyACM1': 85.0, 'com.victronenergy.battery.ttyACM2': 85.0}
@40000000666995c618b3249c INFO:com.victronenergy.battery.aggregator:Connected batteries: ['com.victronenergy.battery.ttyACM0', 'com.victronenergy.battery.ttyACM1', 'com.victronenergy.battery.ttyACM2']
@40000000666995c618bc63cc INFO:com.victronenergy.battery.aggregator:Current ratios: [(3.0, 'capacity'), (2.980132450331126, 'capacity'), (3.0201342281879193, 'capacity')]
@40000000666995c618cf575c INFO:com.victronenergy.battery.aggregator:CCL estimates: [255.0, 253.31125827814571, 256.71140939597313]
@40000000666995c618e6793c INFO:com.victronenergy.battery.aggregator:Individual CCLs: {'com.victronenergy.battery.ttyACM0': 85.0, 'com.victronenergy.battery.ttyACM1': 85.0, 'com.victronenergy.battery.ttyACM2': 85.0}
@40000000666995c618eed5dc INFO:com.victronenergy.battery.aggregator:Connected batteries: ['com.victronenergy.battery.ttyACM0', 'com.victronenergy.battery.ttyACM1', 'com.victronenergy.battery.ttyACM2']
@40000000666995c619015054 INFO:com.victronenergy.battery.aggregator:Current ratios: [(3.0, 'capacity'), (2.980132450331126, 'capacity'), (3.0201342281879193, 'capacity')]
@40000000666995c6190bfacc INFO:com.victronenergy.battery.aggregator:CCL estimates: [255.0, 253.31125827814571, 256.71140939597313]
@40000000666995c6192a218c INFO:com.victronenergy.battery.aggregator:Individual DCLs: {'com.victronenergy.battery.ttyACM0': 95.0, 'com.victronenergy.battery.ttyACM1': 95.0, 'com.victronenergy.battery.ttyACM2': 95.0}
@40000000666995c6193b388c INFO:com.victronenergy.battery.aggregator:Connected batteries: ['com.victronenergy.battery.ttyACM0', 'com.victronenergy.battery.ttyACM1', 'com.victronenergy.battery.ttyACM2']
@40000000666995c61946738c INFO:com.victronenergy.battery.aggregator:Current ratios: [(3.0, 'capacity'), (2.980132450331126, 'capacity'), (3.0201342281879193, 'capacity')]
@40000000666995c61955b5cc INFO:com.victronenergy.battery.aggregator:DCL estimates: [285.0, 283.112582781457, 286.9127516778523]
@40000000666995c6195ff2e4 INFO:com.victronenergy.battery.aggregator:Individual DCLs: {'com.victronenergy.battery.ttyACM0': 95.0, 'com.victronenergy.battery.ttyACM1': 95.0, 'com.victronenergy.battery.ttyACM2': 95.0}
@40000000666995c619684f84 INFO:com.victronenergy.battery.aggregator:Connected batteries: ['com.victronenergy.battery.ttyACM0', 'com.victronenergy.battery.ttyACM1', 'com.victronenergy.battery.ttyACM2']
@40000000666995c6197280e4 INFO:com.victronenergy.battery.aggregator:Current ratios: [(3.0, 'capacity'), (2.980132450331126, 'capacity'), (3.0201342281879193, 'capacity')]
@40000000666995c6197a7024 INFO:com.victronenergy.battery.aggregator:DCL estimates: [285.0, 283.112582781457, 286.9127516778523]
@40000000666995c619d1ee94 INFO:main:Registered Battery Aggregator com.victronenergy.battery.aggregator
pulquero commented 2 months ago

{ "cvlMode": "dvcc", "currentRatioMethod": "count" }

Note the trailing comma.

dersch81 commented 2 months ago

Yes! :) thanks for that hint. I will see the result tomorrow when the sun comes back.

cat /data/setupOptions/BatteryAggregator/config.json
{
"cvlMode": "dvcc",
"currentRatioMethod": "count"
}

root@VenusOS:~# cat /var/log/BatteryAggregator/current
@400000006669ee9f22667ee4 INFO:com.victronenergy.battery.aggregator:Connected batteries: ['com.victronenergy.battery.ttyACM0', 'com.victronenergy.battery.ttyACM1', 'com.victronenergy.battery.ttyACM2']
@400000006669ee9f22669e24 INFO:com.victronenergy.battery.aggregator:Current ratios: [(3, 'count'), (3, 'count'), (3, 'count')]
@400000006669ee9f2266adc4 INFO:com.victronenergy.battery.aggregator:CCL estimates: [255.0, 255.0, 255.0]
@400000006669ee9f2266bd64 INFO:com.victronenergy.battery.aggregator:Individual CCLs: {'com.victronenergy.battery.ttyACM0': 85.0, 'com.victronenergy.battery.ttyACM1': 85.0, 'com.victronenergy.battery.ttyACM2': 85.0}
@400000006669ee9f2268578c INFO:com.victronenergy.battery.aggregator:Connected batteries: ['com.victronenergy.battery.ttyACM0', 'com.victronenergy.battery.ttyACM1', 'com.victronenergy.battery.ttyACM2']
@400000006669ee9f22853244 INFO:com.victronenergy.battery.aggregator:Current ratios: [(3, 'count'), (3, 'count'), (3, 'count')]
@400000006669ee9f228954dc INFO:com.victronenergy.battery.aggregator:CCL estimates: [255.0, 255.0, 255.0]
@400000006669ee9f22eae56c INFO:main:Registered Battery Aggregator com.victronenergy.battery.aggregator
dersch81 commented 2 months ago

Charging with CVL of DVCC and high A is back again. Many thanks