[Feature request] Battery charge rate set in smaller increments than 10% #9420
Replies: 12 comments 22 replies
-
Weird, there's a |
Beta Was this translation helpful? Give feedback.
-
The game has a round function that dictates the increments: It would be nice if the device had a toggle in the settings and in the ingame interface that would allow to disable the round function:
isIncrementToggled would be the variable used for the checkbox ontop of that is a Step variable that probably does also dictate the increment interface-wise. but since this code creates an object there needs to be a way to interface the Step variable from outside. |
Beta Was this translation helpful? Give feedback.
-
They added a smoothing effect to try to mitigate the effects of grid jumping up and down, however the electrical system is still very prone to overvoltage - ironically - when the power demand of the submarine is at its lowest!
|
Beta Was this translation helpful? Give feedback.
-
Why not add a "STEP_SIZE" number variable (0.01 - 100 %, currently set to 10 %) that determines how big the increments is (I doubt anyone would need a smaller step size than 0.01, but maybe it can go even lower? Higher is unnecessary because it basically means either On or Off). Or there can be 2 variables: "STEP_SIZE_INTERFACE" & "STEP_SIZE_AUTOMATION", accessible in the editor. With this, anyone using the editor can set the batteries (and capacitors) to accept whatever step-sizes they want, even if there are different needs for the interface & the automation. |
Beta Was this translation helpful? Give feedback.
-
I'm still liking the idea with the toggle recording.mp4 |
Beta Was this translation helpful? Give feedback.
-
I think the 10% steps should be deprecated. Have a horizontal slider where you can set it in 1% increments by dragging however you want, move the slider with A and D (just like the nav terminal BTW), and optionally round to 10% when you use the mouse wheel. It could take any floating point value from the set charge rate input without quantization. |
Beta Was this translation helpful? Give feedback.
-
Update: Still working on it, there are a few bugs going on, mainly in network communication which also does rounding in the form of integer cutoff, and the problem that 1% increments lead to the problem of charge starvation at the last few % where 1% equals 0 charge rate in the case of capacitors with exponential charge rate. |
Beta Was this translation helpful? Give feedback.
-
Is this request still active? I would also like one such feature. I think having a step size variable in the parameter tab in sub editor would be good. The ability to adjust battery slider more precise is especially more important if I purchased the improved charging speed upgrade. Not being able to do so will cause weird feedback loop and also load spike in battery buffer. |
Beta Was this translation helpful? Give feedback.
-
Bump, It would maybe make sense if the player could only increase it by 10% increments by hand but a component connected to SET_CHARGE_RATE would be able to more finely control it by 1% increments. |
Beta Was this translation helpful? Give feedback.
-
I have symilar problem with my electrical grid retrofit using eq mod. But you can use Subtract Component and memo to fluid switch battery. For example. If you have 10 battery make memo at 101,102 etc and substract actural charge of battery. You can also make another way using subtract between power and load and symilar mechanism. |
Beta Was this translation helpful? Give feedback.
-
You hvae 40 batteries? Then you can effectively achieve 10%/40=0.25% increments. Have a global shared float-valued MEM to store the desired recharge rate R. The i-th battery should then subscribe to R + i * (10% / 40) thresholds. ExampleSuppose: the desired recharge rate R go smoothly from 50% to 52%.
Effectively, the summed load required by the batteries also changes smoothly. @kobango mentioned this strategy earlier. |
Beta Was this translation helpful? Give feedback.
-
Is there at least a mod doing this? I didn't find anything on the workshop but I got to say that making a charge controller is a real pain because of the 10% increments, especially at low grid wattage. System detects an overvoltage, starts battery charging at 10% when it only needed 3%, which boost the grid load, overvoltage disappears, batteries stop charging the excess, grid load goes back down, system detects overvoltage again.. rinse & repeat. |
Beta Was this translation helpful? Give feedback.
-
It would be extremely useful if the batteries wire pin: "SET_CHARGE_RATE" would actually set the charge rate to ANY numerical values, not just fixed increments of 10%.
Why?
I'm making a sub where all power from the reactor (20k kW) goes directly into a battery bank (40 batteries, full reactor utilization possible), where each battery is individually charge controlled by automation. The automation sends whole numbers (integers), but the battery charge only changes every 10% increment, which in my case makes the power JUMP up/down by 2100 kW each time it changes, which obviously burns out my electrical circuits.
The whole idea about making this system was to ELIMINATE power spikes, not CREATE super huge power spikes! But the current system makes this impossible & is really disappointing.
Ideally I would like 0.1% increment sensitivity.
There could be some checkbox or number field (in the editor? or accessible from in-game somehow?) that lets you decide how sensitive the charge_rate increment will be.
Beta Was this translation helpful? Give feedback.
All reactions