Oxygen Not Included

Oxygen Not Included

Adjustable Transformers
88 Comments
Sarunax 8 Feb @ 11:09am 
Doesn't work, setting the transformer to 2000 still causes overloads. It looks like the 2000 limit stops the input and transformer storage from going over 2000 but the transformer seems to have no problem dumping whatever it has stored into the output, overloading the wire.
Greggho 18 Oct, 2024 @ 3:35am 
Mundano 14 Oct, 2024 @ 7:40pm 
Having the same issue as Greggho. Any Ideas?
Greggho 27 Sep, 2024 @ 7:23pm 
Anyone have an idea why large transformers set to 2kW still overload its output conductive wire?
Absolutely no batteries on the output side... no mismatch wires either (damage hit the first wire bridge, "circuit breaker" style)... transformer shows 2kJ charge as intended, but it's still outputting more than 2kW

(I may be dumb, but also, please ignore the 9kW shenanigan potential consumers, I rewired/merged another circuit here just for the screengrab, and I'm upgrading other circuits to conductive, hence temporary bridges still have 1kW, those are on 1kW transformers as you can see)

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3339017957

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3339017708
The Tempted Man 16 May, 2024 @ 9:16am 
Works fine.
Estebandido1232 21 Oct, 2023 @ 3:50pm 
Not working. Maxed to 2KW. I've tried the customization settings mod and it doesn't update the transformer either.
Sweepy 9 Jul, 2023 @ 12:07am 
Its tecnhically working, BUT. For some reason, if you try to use it on big network of power where is a lot of things, it wont work and your wires will be burned (It will take a lot of time to gets burned fully, but it will.)
LithoBreak 25 Jun, 2023 @ 8:15pm 
Big fan of what this mod does, would it be possible to make it so the heat generation scales with the power setting of the transformer?
ScubaLumberjack 2 Jun, 2023 @ 5:43am 
When I get overcurrent it's on the supply side of a modified transformer, like it's still a 2k or 1k draw on the supply circuit no matter the setting. I used to use this mod to make trickle chargers for large infrequently used machines which would otherwise be inconvenient to supply power to, but lately the mod doesn't seem to be working that way for me, charging batteries at max rate and drawing all that power from the main circuit. Big transformers still hold 20kJ as well. I really miss the functionality, to send something like the small amount of excess power from a SPOM into the main grid instead of needing to isolate another circuit for it.
CynicalBusiness  [author] 21 May, 2023 @ 3:54pm 
I took a look and cannot replicate any behavior with over-current.

If all is working as expected, the transformer should appear to be charged with 2kJ (viewed from the power overlay) as opposed to its vanilla 4kJ when set to 2kW. If that checks out, make sure there are no batteries connected to the output side of the transformer, as even in vanilla this can cause overloads.
genesis3141 4 May, 2023 @ 8:13pm 
I'm having a similar issue as @Wright1331 and I'm sad because this mod is otherwise exactly what I want since it makes no sense whatsoever that the base game transformers put out 4kW and conductive wire is 2 kW
Wright1331 23 Apr, 2023 @ 3:06pm 
Having an issue with this mod. I set the large xfmr to a limit of 2000 W, but im still getting overcurrent. I tried a lower max setting of 1800, but same thing.

My lines are all conductive wire so they should be able to handle up to 2000, but im not sure what the issue might be... Any thoughts?
House of Rahl 24 Feb, 2023 @ 12:15am 
this might just be my opinion but this mod seems a lil odd. the large transformer has a really large range up to the smaller of the heavy wires (20k). but can also act as the 1 or 2k line for small wires. whats the point of the small transformer then?

one idea might be to just give the small transformer a range of 1-2k while giving the large a range of 20-50k. tbh id rather set and forget the value in the main menu rather than using the slider each time but again that might just be me being lazy. when i went looking for a mod for transformers i was thinking small 1k large 2k. but having seen this i could also see small 2k and large 50k. either way best wishes.
joe-***** 24 Nov, 2022 @ 10:02am 
Aww, I liked that the transformers could hold 20kJ, it was super useful that a 2kW conductive wire just needed to have less than 2kW draw on average and the transformers at the end points could buffer spikes for several seconds. I designed the power grid of my current base around that...
Any chance of getting it back as a setting somehow?
CynicalBusiness  [author] 17 Oct, 2022 @ 12:57pm 
Alright, with help from @Sergadra the problem has been tracked down and fixed in v2.1.1.

TL,DR: When adding the mod to an existing save, all large transformers were previously changed to hold 20kJ instead of 4kJ and tried to very quickly recharge back to full. This has been changed, and it now is limited by your wattage setting, so no more rapid discharge when a base is loaded. This does mean, however, that increasing the transformer setting will now draw some power; this has been added to the description.
CynicalBusiness  [author] 16 Oct, 2022 @ 10:40am 
@Sergadra
I've creating a simple test setup of battery > transformer > wire (with nothing on it) and I still cannot replicate the issue; all power draw, even after reloading, appears as expected. There may be other factors involved or I'm missing something.

My GitLab is special and often doesn't register accounts properly, it's on my docket to fix...
If you (or anyone else) don't mind helping me track this down, I would appreciate if you could reach out to me on Oxygen Not Included Discord, or, if you can't, though Steam directly.
Sergadra 16 Oct, 2022 @ 9:20am 
Well i tried to register normal on your Gitlab too no confirmation E-Mail reaches me.
Sergadra 16 Oct, 2022 @ 9:10am 
Hello there Cynical again. I just rechecked it. Still an issue.
I tried to place an issue on your gitlab but i was not able to sign through github.

The Powerdraw of an Transformer that has Primary connected but no consumes or wire at the secondary is rated at the left Power Budget after all machines connected are running. This also Drains the Batterys to 0J. It sounds like an overflow.

I clicked a wire looked at the consumers and found a Large Power Transformer that eats 6.12kW(Right after load around 20kW) which is totally unnatural when it is loaded to 100%. Also the load capacity is upped to 20kJ for all. (Though i honestly like that.)

-> It seems this only happens when the game was loaded. That's probably why it's not apparent.
-> Reconnecting fixes the issue after load.
CynicalBusiness  [author] 16 Oct, 2022 @ 6:34am 
Try as I might, I have been completely unable to replicate any issue with the transformers pulling more power than they should.
I tested with and without a wire, both with and without load on the other end, and it always pulled the expected value. With a connected wire but no load, the transformer remains operational, but drains no more than the expected 2kJ/cycle, which is vanilla behavior and nothing this mod changes.

Regardless, I rebuilt the mod and changed how values are initialized for new transformers to hopefully cure the draining problem, but I can't replicated it myself to test.

If the issue persists after this update (please make sure the mod updated! use Mod Updater if you have to), I will need saves (or a simple save with the issue reproduced) and lists of mods to diagnose further.
Sergadra 15 Oct, 2022 @ 3:39pm 
I would not call the mod broken. I was able to reproduce the Batterie lose charge issue. It seems the Transformers eat all the power when no wire is connected(That issue sucks the Batteries dry) to them or no Powerusers(Uses the Wattage set) are found. That issue sucks the Batteries dry. Still not sure for what i should use the mod though. I had it because hey could have been QOL but then the Wires limit you.
Snebular 20 Jul, 2022 @ 11:13am 
5 transformers connected works fine connected a 6th one and it drained all my batteries would not charge and continues to drain all power from the system, disabled the mod no more problems so it's not an issue with my setup
Wisq 7 Jul, 2022 @ 3:24pm 
I tested these out in a sandbox game and they DO seem to retain their settings. (Tested both exiting to the main menu and reloading, and also exiting the game entirely and reloading.)

So, no problems here. Maybe Ficarazzi's resetting issue is related to some other mod?
Mr.Ficarazzi 23 May, 2022 @ 2:27am 
great mod, unfortunately every time you reload your game, all transformers reset to their original wattage. Not a big deal when you have a couple of them, a horrendous endeavor when you have multiple of them and you need to manually set them all back to 20k.
cant they be defaulted to 20k and then dialed up to 4k?
thanks.
FighterPhoenix 28 Feb, 2022 @ 10:23am 
zhis mod needs an update
Oddness 31 Jan, 2022 @ 1:48am 
Context:
I disabled the transformer because it was sitting in a vacuum, and I didn't want it to melt before I got air to it, then noticed that my batteries were completely drained by all of the transformers running full tilt.
Oddness 31 Jan, 2022 @ 1:47am 
I ran into a bug, and I think that it has to do with the way that this mod is coded (Though I could be wrong, since I don't know exactly what your mod is doing under the hood).

The problem that I ran into is that when I build a transformer for future use and disable it, the transformer continues to draw power from my grid. I don't mod oni, but it seems to me that your script is still running whether the transformer is enabled or not...?

P.S.
It's an easy fix on the user's end. I'll just build my transformer when I'm ready for it, but I thought I'd let you know.
Enlonwhite 26 Oct, 2021 @ 9:23pm 
Scatch my last message, I see your DLC statement now, I will assume with the currently build in Oct of 2021 that this works. Sorry to bug ya

Also a much needed mod, Thanks!
carpuncle-pc 21 Sep, 2021 @ 10:47am 
maybe you have problems because of the game update?
save your savegams and then uninstall the game and delete the Klei-folder from the documents.
That has helped me.
OceanOfGaming 21 Sep, 2021 @ 9:53am 
When i set it to 20000W and restart it resets to 4000W. why? can you fix it?
carpuncle-pc 21 Sep, 2021 @ 12:40am 
ey cool it works again.
I also had problems with another mod. The modder had found in the error analysis that I lacked certain folder rights.
I then uninstalled the game and deleted everything that went with it. then everything reinstalled and lo and behold everything works again as before the game update.

now the question comes to me, why do I lose folder rights due to a game update?
carpuncle-pc 20 Sep, 2021 @ 11:37pm 
I hope you can find out why it no longer works since the game update.
I've gotten so used to their Transformers I don't want to miss them anymore
CynicalBusiness  [author] 20 Sep, 2021 @ 6:48pm 
@carpuncle-pc
I'll take a look. It depends heavily on what and how Rainbow changed transformers. I suspect there's little I can do, as I tried my best to be as light-handed as possible with the changes, but we'll see.
carpuncle-pc 20 Sep, 2021 @ 9:38am 
Hello unfortunately there are problems with the following mod since the new update.
I came to them because the Transformers when activating the Mod (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1828749978&tscn=1632135402) and the Adjustable Transformers show incorrect values or are even weaker than they should actually be.
Before the last game update, both ran without problems for me.
I have already written to the other author who said he thinks it's up to your mod:steamhappy:
CynicalBusiness  [author] 5 Sep, 2021 @ 2:48am 
I've done a few tests and cannot recreate any issues with power draw or free space when only this mod is enabled.
If someone has a mod configuration for the free space thing (perhaps a conflict with another mod?) or a save where the power draw issues are appearing, please throw them my way and I can look into it.
MrPainting 16 Aug, 2021 @ 8:06pm 
I can confirm that the power draw issue is still a problem
xXWarXx 5 Aug, 2021 @ 2:51pm 
any news on the problems?
Dartmond 13 Jul, 2021 @ 9:11am 
I have the same problem. Not enough free disk space when I try to enable the mod:steamsad:
CollieManatee 4 Jul, 2021 @ 10:48am 
I'm getting the same error cabesinha =(
YeOl'Choppa 1 Jul, 2021 @ 4:27pm 
i keep getting "insufficient space" erros when trying to load up with this mod enabled, although i have a little less than a terabyte of free space. whats wrong?
kiko 9 May, 2021 @ 6:45am 
Was it by design that the transformers would leak power when they're turned off? I just noticed it today. My large transformer was leaking about 400J/cycle. But the smaller transformer was leaking a whopping 1850J/cycle. Take my numbers with a pinch of salt, my test wasn't properly controlled, but it's about there. When I uninstalled the mod, the transformers no longer leaked power.
TheEvilDED 10 Apr, 2021 @ 8:14pm 
Thanks, always though it was weird that the transformer voltage didn't match the wire voltage.
CynicalBusiness  [author] 28 Mar, 2021 @ 5:45pm 
Managed to find a good solution to the slider.
Should be much easier to use.
CynicalBusiness  [author] 19 Mar, 2021 @ 6:49am 
So, some updates regarding the slider:

It would seem the slider has only been fixed in the DLC and in the base-game with the DLC disabled, but not the game with no DLC installed at all.
Unfortunately, the kW approach is broken in the DLC versions of the game, so there's no catch-all solution here. I was excited this bug was fixed, but apparently the base-game never got it, so I will file the bug about it.

Regarding the transformer not outputting power: I know the UI will lie to you and say zero (it does this in the base game!), but is it actually not outputting power? You should see the small "battery" bar on the transformer charge to a level proportional to your setting. If not, would like to hear a bit more about the setup to help diagnose.
caseyas435943 18 Mar, 2021 @ 10:32pm 
I tried the slider. I tried typing it in. Nothing made the transformers put out any power at all.

Every transformer puts out zero power no matter what I do. I disabled the mod. To bad was nice have a 2K transformer for a 2K wire. Why the base game doesn't have it it stupid is the best way to say it.

1K wires have a 1K transformer. Why a 2K wire has a 4K transformer is just silly.
Moneybucks 18 Mar, 2021 @ 11:01am 
If you were using the mod before the KW-W change, you now need to go around all of your transformers and amend the configuration. And the box only permits three characters. Makes it much harder to use as the slider isn't very precise.
Szabkadi 17 Mar, 2021 @ 11:31am 
Unfortunately the input box allows only 3 digits, so hard to set up 4000 watts exactly.
IMHO the small transformer should be able to cover all tiny wire loads (up to 2kW) and the large one should be used for thick wires.
CynicalBusiness  [author] 17 Mar, 2021 @ 5:19am 
@AdmiralBullfrog Good catch, should be fixed.

Klei fixed the slider bug that created the need for the slider to be in kW, so it can be in more-precise W now, but apparently I forgot to update the string. :steamfacepalm:
GeneralBullfrog 17 Mar, 2021 @ 2:16am 
As of today the numbers are in watts instead of KW despite what the UI says; had to adjust all my transformers from "4" to "4000" to get a usable output.
CynicalBusiness  [author] 16 Mar, 2021 @ 1:54pm 
Updated for the DLC
The_HAWKER_X 12 Mar, 2021 @ 11:00am 
maybe this is just another forgotten mod