mt-mods / technic

Technic mod for Minetest
18 stars 25 forks source link

Quarries on HV network did not start when expected. #177

Open dennisjenkins75 opened 3 years ago

dennisjenkins75 commented 3 years ago

Observed on pandorabox.io

Network description:

Also on the "digi" network were 1 LUAC, 1 LCD, 1 touchscreen. The LUAC is there to turn the quarries on and off in groups. it has a function linked to a button on the touchscreen to turn all 60 on at once (They are in 12 groups of 5 each).

What happened:

What I expected to happen:

Remediations attempted:

Random musings:

S-S-X commented 3 years ago

This might possibly have connection to battery performance updates, some bugs found after that.

108 and commits from #113 and #126

S-S-X commented 3 years ago

This is due to battery short circuit protection which steps in at 400kEU for HV batteries. That means if you have 110kEU supply and 1 HV battery you can draw at most 510kEU from network or battery will shut down and wont provide any output.

Tested and system works as expected starting immediately when below limit and stops when demand goes over limits.

S-S-X commented 3 years ago

Actually keep this open as I believe this feature is not documented in any way.

Maybe add new file called battery.md or something like that that. Also #53

FeXoR-o-Illuria commented 1 year ago

Limits of Battery boxes EU/s are pretty clear in the code but not in the documentation (or the Pandorabox tutorial), yes.

OgelGames commented 1 year ago

Perhaps a some text displaying the "max discharge" could be fit somewhere in the formspec or infotext? Maybe even display all the values in the formspec, something like:

Current charge: 123.4kEU
Max charge:     1000kEU
Max discharge:  400kEU/s

Looking at the formspec there's a lot of room... also quite a messy formspec... :eyes:

S-S-X commented 1 year ago

Dump that to infotext instead and then do the same for switching station but with total max discharge rating for network.