Solved: Need help to get Information of Electric Network

Place to get help with not working mods / modding interface.
Rumo
Burner Inserter
Burner Inserter
Posts: 11
Joined: Fri Sep 09, 2022 9:27 pm
Contact:

Solved: Need help to get Information of Electric Network

Post by Rumo »

Hello all,
I need your help.

I am trying to get information from the game and pass it on to other programmes. The aim is to connect a SCADA system.

To do this, I would like to take the values from the following window.

Image

Reading what power I generate works without any problems and I get the correct value.

However, the consumption does not work. I use electric_network_statistics.get_flow_count. However, this always shows 0 although the GUI shows other values.

Could you maybe help me to get the right values? Thanks
Last edited by Rumo on Sat Sep 10, 2022 6:51 am, edited 1 time in total.
Rumo
Burner Inserter
Burner Inserter
Posts: 11
Joined: Fri Sep 09, 2022 9:27 pm
Contact:

Re: Need help to get Information of Electric Network

Post by Rumo »

Works now. Unfortunately I overlooked the input parameter. :roll:
Post Reply

Return to “Modding help”