Space Engineers

Space Engineers

Power Graphs
592 Comments
DarkAngel2096 15 hours ago 
Hi, I've been using this script in my own world, there is one thing I'd like to have added to this, mainly to the Battery screen.
Currently it at the very top shows the "Charge: xx.xMWh" and the Peak and Max values, would it be possible to add in a percentage of full after the charge value?
Basically so that the "Charge: xx.xMWh (yy.y% full)" would be how it'd show it?
This percentage value would be the total of all the current batteries charge added up divided by the total charge all of them could have, so if you have 2 batteries, one with 1MWh stored, one with 1.5MWh stored, both capable of 3 would then be "Charge: 2.5MWh (41.7% full)"
Alexis The Calico Yokai 20 Jan @ 1:11pm 
so just the name of the graph you want to show?
Remaarn  [author] 19 Jan @ 8:53pm 
I have updated the description to help clarify the setup instructions.
Alexis The Calico Yokai 19 Jan @ 9:49am 
how do I set up the display to show a specific graph?
Sockan 5 Jan @ 7:25am 
@Remaarn That's alright, I seemingly missed that setting when I were scrolling through the script! I think that it is enough for what I need it to do :steamthumbsup:
Remaarn  [author] 4 Jan @ 7:44pm 
@Sockan There is a Margin setting in the configuration of the programmable block that you could use, however it applies to all displays handled by that PB. There isn't currently a way to change it for individual displays and I don't have the time to work on the script currently, sorry.
Sockan 4 Jan @ 7:37am 
First off, lovely script, I love having more than just text and numbers on the various LCD screens. Second, would there be a way to add and padding to the LCD's? On some LCD screens (i.e Captain's Desk) some of the text and such gets cut out. I also do like having a bit of an 'bleed zone' between what's on the screen and the edge of the screen.
aether.tech 22 Nov, 2024 @ 7:13am 
Perfect, it worked. Thank you. Awesome.
Remaarn  [author] 21 Nov, 2024 @ 8:57pm 
@aether.tech Yes, see the extra instructions inside the script text. I haven't tried it with the button panel specifically but it should just work the same as other multi-screen blocks.
aether.tech 21 Nov, 2024 @ 7:06pm 
Can this work with separate LCD panels on the inset Button Panel block, with the three screens?
EpicSOB 16 Nov, 2024 @ 2:08pm 
i see, i seem to be having an issue that is causing programmable blocks and some modded blocks that use features of programmable blocks to act strangely. the config isn't getting written into new blocks on my ship.
Remaarn  [author] 15 Nov, 2024 @ 8:43pm 
@EpicSOB See first paragraph in the Configuration section above.
EpicSOB 15 Nov, 2024 @ 4:07pm 
is thare a way to setup this to show on cockpit displays or other blocks with multiple displays?
Remaarn  [author] 3 Nov, 2024 @ 7:08pm 
@[31LB] Alex It would be possible to make a graph type for jump drive charge, however I am not actively working on this script currently as I do not have the time. Sorry.
[31LB] Alex 3 Nov, 2024 @ 7:32am 
I love this script. Is it possible to create an additional variant to include jump drives?
Remaarn  [author] 11 Aug, 2024 @ 9:05pm 
@Raptor2213 The DLC blocks work perfectly fine, you likely have a configuration issue. Please see the Help section above.
Raptor2213 11 Aug, 2024 @ 2:36pm 
Does not seem to recognize the DLC solar panels when using the 'Solar' tag.
Remaarn  [author] 9 Jul, 2024 @ 10:41pm 
@SirFlutternutz The script does not currently support that and I won't have time to add it for a while, sorry.
SirFlutternutz 9 Jul, 2024 @ 5:14pm 
Me and my friends love your mod! We were wondering, is there a way to filter what blocks are read via groups? For instance, say I had a set of backup batteries. Is it possible to omit their charge from the "battery" graph? Or maybe set it up to only read the main base batteries?
Stalwart Pachyderm 17 Jun, 2024 @ 12:13am 
ok I perused the script but didnt see it my bad. didnt see a reference in the guide so assumed it wasnt there. apologies.
Remaarn  [author] 16 Jun, 2024 @ 12:32am 
@Stalwart Pachyderm The script (not a mod) already supports subgrids. See the configuration options in the Custom Data.
Stalwart Pachyderm 15 Jun, 2024 @ 9:28pm 
I really like the mod, but is it possible to add subgrid reading and measuring? the two cases in particular that Im interested in is having the programable block being a subgrid of the grid with the power on it and the power generators being on a sub grid. Thanks!
GrumpyGoblin 12 Jun, 2024 @ 6:28am 
How does one get this to work on blocks that have multiple screens?
Remaarn  [author] 3 Jun, 2024 @ 5:06am 
@ThatGuyFuryan I don't know what video you are referring to. Perhaps you are thinking of a different script. This one doesn't show any block icons.
ThatGuyFuryan 3 Jun, 2024 @ 4:24am 
How do you have it that the batteries show as icons, as was in the youtube video?
CaptainFlips 26 May, 2024 @ 9:31am 
Love the script, been using it for years. I was wondering how possible and easy it would be to add a config which mirrors the display so that you can use it on the 'back side' of a transparent or holo LCD. Would be an amazing feature to have :)
TechMan 16 Apr, 2024 @ 2:54am 
this script is way to useful!
Remaarn  [author] 6 Apr, 2024 @ 10:41pm 
@Raptor2213 This is not a mod it is an in-game script. It should not be added to the mod list. You access it from the programmable block editor.
UnExcited 20 Mar, 2024 @ 7:02am 
Yes, thanks. My mistake, I am new to the game and just realised that the CTC setup with a rotor detaches the solar paneles from the grid. I changed the configuration in the custom data block. :) Sorry and thanks for the quick answer.
Remaarn  [author] 20 Mar, 2024 @ 6:41am 
DLC solar panels and modded solar panels all work perfectly fine, just the same as those from the base game. If you are having issues please refer to the help sections in the description above.
[31LB] Alex 15 Mar, 2024 @ 5:25am 
Additionally, I do experience the same problem with a Large Grid Rover and the Progammable Block + LCDs connected to it on a Small Grid.
[31LB] Alex 15 Mar, 2024 @ 12:06am 
I have the same setup like Gemini Sierra and put Colorable Solar Panels on top of a rotor and hinge with a CTC. I am able to attach a programmable block directly to it and it works, but it doesn't work for the rest of the base. I enabled "Include_Data_From_Attached_Large_Grids".
tannenbaum12359 14 Mar, 2024 @ 7:37pm 
when i put "Measure_Stored_Gas=true" in my custom data it just fails to display anything "CHECK ERRORS IN PB", "Invalid configuration specified in display block:..."
Saladin 14 Mar, 2024 @ 6:35pm 
jay - you must enable it in the custom data on the program block in order to track that information
jayray0930 13 Mar, 2024 @ 1:48pm 
loving this mod so far, only issue im having is with the storedHydrogen and storedOxygen, it shows the screen but just says "data not measured"
Gemini Sierra 29 Dec, 2023 @ 8:45pm 
Ah thanks! I missed that it said custom data and changed it in the code. Will reload it and do what you said... Thanks!
Remaarn  [author] 29 Dec, 2023 @ 7:00pm 
@orsa1305 The script does not offer that functionality, sorry. It is unlikely that I will add it as I don't have the time.
Remaarn  [author] 29 Dec, 2023 @ 6:58pm 
@Gemini Sierra The script should pick up any new blocks automatically. Make sure your configuration changes (Include_Data_From_Attached_Large_Grids=true) are done in the Custom Data of the program block and not in the code. You also need to then recompile the script for the changes to take effect.
orsa1305 29 Dec, 2023 @ 3:29pm 
after reading 20 pages, is there a way to get battery info from only batteries in a group?
Gemini Sierra 29 Dec, 2023 @ 10:08am 
I'm using the new colorable solar panels, and I've set to true the variable of use connected grids large (or what ever it is, can't remember as I type) since I have it on a rotor and hinge and use a CTC to follow the sun. I've put "solar" in the custom data of the LCD and it says there are no solar panels. Does the script not account for the new panels?
Remaarn  [author] 7 Dec, 2023 @ 7:25pm 
@FHN The 'h2engine' mode still works for me. You may have copied some extra characters. Try writing out the command instead of pasting it.
FHN 7 Dec, 2023 @ 9:17am 
The script does not want to display the h2engine command copied from the script description.
Aschran 16 Oct, 2023 @ 5:31am 
A really good program and very useful! Thank you very much ! I can now accurately measure the power uses on my sattelites.
Remaarn  [author] 9 Oct, 2023 @ 7:45pm 
@MysticLinJam There are instructions on how to do that included at the top of the script itself.

@Into This script doesn't support that, you would have to modify it to add that functionality. I cannot help you with this, sorry.
Into 9 Oct, 2023 @ 10:22am 
How do I smooth out the curves, to get an average value? Using it to monitor Thruster output, but they turn on/off and thus create a not very representative graph.
MysticLinJam 5 Oct, 2023 @ 10:27am 
Is there a way to get the graphs to display on a non-LCD block like the new inset button panel? Specifically, the smaller screens.
klen ghost 22 Sep, 2023 @ 9:13am 
does anybody know if you can add a specific hydrogen or oxygen tank to show. in my server it shows 0/0L while there is plenty of oxy or hydro in the tanks (got muttiple tanks)
Kateye 4 Aug, 2023 @ 4:18pm 
I don't know if you're still doing active development on this script, but when I was looking at my usage plot and how there's a dip in battery recharge that matches an increase in usage, I realized that it would be nice if this was a "stacked band plot" or "stack plot" (an colored area type graph where the data is stacked on top of each other so they reach a total). The battery area would be stacked on top of the usage area, so when green usage area goes up, the blue usage area shrinks, but the top of the area (the "total usage") remains the same. The top of the area would go up and down as the available input goes up and down. Anyway, just an idea for better visualization. I like what you've done, thank you for the script.
HUBERT THE ROCK 6 Jul, 2023 @ 1:50pm 
cus it only displays the batteries
HUBERT THE ROCK 6 Jul, 2023 @ 1:48pm 
how do i set it for reactors