[Rseding91] [0.13.0] Power switch causes power log to be lost (?)

This subforum contains all the issues which we already resolved.
Lee_newsum
Filter Inserter
Filter Inserter
Posts: 436
Joined: Wed Jan 15, 2014 9:41 am
Contact:

[Rseding91] [0.13.0] Power switch causes power log to be lost (?)

Post by Lee_newsum »

https://www.youtube.com/watch?v=yooci1KbxUk

The Power switch is link to a accumulator as backup power

DO NOT LOOK IF YOU DO NOT LIKE FLASHING IMAGES

Edit fix it.
Last edited by Lee_newsum on Tue Jun 28, 2016 11:48 pm, edited 1 time in total.

Loewchen
Global Moderator
Global Moderator
Posts: 8969
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.13.0] Power switch working bad

Post by Loewchen »

The video is private.

Rseding91
Factorio Staff
Factorio Staff
Posts: 14142
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.13.0] Power switch working bad

Post by Rseding91 »

Fix what? You're disconnecting and reconnecting things several times per second with a power switch - that's the result if you watch the graph.

A few times a second the pole you're looking at has nothing consuming power because the switch turned on/off.
If you want to get ahold of me I'm almost always on Discord.

Lee_newsum
Filter Inserter
Filter Inserter
Posts: 436
Joined: Wed Jan 15, 2014 9:41 am
Contact:

Re: [0.13.0] Power switch working bad

Post by Lee_newsum »

the power log is lost

Rseding91
Factorio Staff
Factorio Staff
Posts: 14142
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.13.0] Power switch working bad

Post by Rseding91 »

Lee_newsum wrote:the power log is lost
I'll look into it.
If you want to get ahold of me I'm almost always on Discord.

Rseding91
Factorio Staff
Factorio Staff
Posts: 14142
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.13.0] Power switch causes power log to be lost (?)

Post by Rseding91 »

This may have been fixed in the latest 0.13.3 if you wouldn't mind checking.

Note 0.13.3 has multiple MP issues though :)
If you want to get ahold of me I'm almost always on Discord.

Lee_newsum
Filter Inserter
Filter Inserter
Posts: 436
Joined: Wed Jan 15, 2014 9:41 am
Contact:

Re: [Rseding91] [0.13.0] Power switch causes power log to be lost (?)

Post by Lee_newsum »

did not fix it
13_new_game.zip
(6.06 MiB) Downloaded 131 times
ok my map in 0.13.3 set the power switch to 50 and let a night

Wezz
Burner Inserter
Burner Inserter
Posts: 11
Joined: Fri Mar 25, 2016 6:57 am
Contact:

Re: [Rseding91] [0.13.0] Power switch causes power log to be lost (?)

Post by Wezz »

I can confirm this problem exist in 0.13.3

Playing on singleplayer

Maybe the powerswitch need to have a high and low threshold. If it connects and disconnects at 50% then power spikes will probably make it disconnect and reconnect multiple times.

So a high and low threshold would probably help reducing electrical network updates a lot, probably leading to the log being updated more properly and smooth

for example:
connect at 50%
disconnect at 40%

kovarex
Factorio Staff
Factorio Staff
Posts: 8194
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [Rseding91] [0.13.0] Power switch causes power log to be lost (?)

Post by kovarex »

I made 3 changes regarding this:
  • When showing the count of entities in the network, it is now showing all entities connected in the network including sub-networks connected to power switches.
  • When splitting electric networks because switch was turned off, the network with more entities is considered the "master one" which keeps the statistics.
  • Fixed the electric network statistics merging when networks are connected by turning power switch on.
Obviously, the last one is the most related to this.

etherealflux
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Jul 05, 2016 6:51 am
Contact:

Re: [Rseding91] [0.13.0] Power switch causes power log to be lost (?)

Post by etherealflux »

I was just about to report this one! I set up a system to turn off my radar banks when the sun set, but noticed that it was losing all of my history data.

Is there any way to mitigate this until the fix comes through? It's not a huge problem, but I would like to see the pretty graphs :)

User avatar
OdinYggd
Fast Inserter
Fast Inserter
Posts: 200
Joined: Wed May 25, 2016 12:55 pm
Contact:

Re: [Rseding91] [0.13.0] Power switch causes power log to be lost (?)

Post by OdinYggd »

Wezz wrote:I can confirm this problem exist in 0.13.3

Playing on singleplayer

Maybe the powerswitch need to have a high and low threshold. If it connects and disconnects at 50% then power spikes will probably make it disconnect and reconnect multiple times.

So a high and low threshold would probably help reducing electrical network updates a lot, probably leading to the log being updated more properly and smooth

for example:
connect at 50%
disconnect at 40%
This is done using combinators to provide some logic behind the switch's state change. It took me 4 decider combinators to make the necessary logic- 2 combinators for the high setpoint and low setpoint, then 2 more as an S-R flip flop to latch the state until the other setpoint is reached.

These switches can be used in other ways, so adding that sort of logic to them directly could interfere with other things. Once the wiki catches up to the content with a tutorial about how to wire up the combinators for hysteresis, it won' t be as big a deal.

My system is turning its copper and iron furnaces on above 90% and off below 75%. Like so, 20MW of steam + 200 accumulators is letting me carry close to 25MW of working load.
In my mind, Steam is the eternal king of the railway.

Post Reply

Return to “Resolved Problems and Bugs”