Space Engineers

Space Engineers

Battery Management
22 条留言
NPC 2024 年 4 月 4 日 下午 1:54 
does this still work
Dak Smith  [作者] 2017 年 2 月 24 日 下午 2:03 
Should be @Airomis
Airomis 2017 年 1 月 23 日 下午 1:19 
is this still working?
Torres 2016 年 1 月 19 日 下午 12:50 
@Root lol @your mileage may vary... ok thanks I'm noobing around, bought the game like a week ago ao I'm always out of power and resources lol. thanks!
Dak Smith  [作者] 2016 年 1 月 19 日 上午 11:53 
@Torres It should be - it's pretty basic... however, you sort of don't need this script anymore, batteries will charge when there is excess power on the grid, and discharge only if there's a deficit or load. I can think of some edge cases where this script might still be helpful, I guess - your mileage may vary - good luck!
Torres 2016 年 1 月 18 日 下午 9:44 
Is this mod compatible? suppose I have custom batteries, would they be within the range of this script?

Also by running via timer bock you mean using a timer and a program block and call the program then the timer right?

Please and thanks!
Dak Smith  [作者] 2015 年 1 月 11 日 下午 1:05 
Thanks for letting me know! I didn't realize this would happen (but I should have...) Thanks again!
blubsdiwutz 2015 年 1 月 11 日 上午 10:25 
This seems to not work (check and compiles fine, has problems with an input format when run), when your client is not configured to use english.
I think that might have to do with the automatical thruster naming, if the game is configured to display german. Then you get umlauts (for example: "Kleines Triebwerk (vorwärts)")
I haven't debugged further (don't know how, yet) but after the configuration change of the gameclient, the script runs.
Dak Smith  [作者] 2015 年 1 月 10 日 下午 7:49 
Thanks! Smack the thumb if it does the job! For me, it's been working great. With a solar panel to add spare energy back to the system, I haven't run my reactors in days on end.
aaronlukemarshall 2015 年 1 月 10 日 下午 3:08 
I like this script simple and to the point
Dak Smith  [作者] 2015 年 1 月 4 日 下午 12:01 
Program now correctly identifies a small ship battery vs. large ship battery, and sets the recharge trigger amount accordingly.
Dak Smith  [作者] 2015 年 1 月 4 日 上午 11:42 
This program has been updated - it will now check connector status, and if connected, all batteries will be switched to 'recharge'. If battery isn't connected, then previous fuctionality occurs.
Dak Smith  [作者] 2015 年 1 月 4 日 上午 10:12 
There are no problems... there are only engineering challenges and adventure.
scarvig 2015 年 1 月 4 日 上午 9:44 
the problem is that currently i didnt find a way to get the total powerusage of a ship...
one could go and calculate it by taking the difference between the outputs and max of all generators and solars, but thats quite bothersome.
in addition you would need to track how many batterys you could actually charge with the excess power
Dak Smith  [作者] 2015 年 1 月 3 日 下午 1:48 
Great suggestion! That might be possible..
hors of discordia 2015 年 1 月 3 日 下午 1:40 
you culd make an scrip than char batteris wen the conector are conected, and put it to wock when unplugged?
Dak Smith  [作者] 2015 年 1 月 3 日 下午 12:44 
I am actually working on that right now - will update this when (if?) I can figure it out...
scarvig 2015 年 1 月 3 日 上午 5:35 
waiting for a proper battery script that sets all batterys to charge as long as theres excess energy and to discharge when energy is needed....
well at least its the first step to it
Dak Smith  [作者] 2015 年 1 月 2 日 下午 11:04 
You definitely need a timer. I have one set to 10 seconds, and it calls this program, then calls itself (I made a 'group' named the same thing as the timer, and called that in case there was a conflict... YMMV)
Baron Samedi 2015 年 1 月 2 日 下午 10:42 
Ohhhhhhhh, ok. ♥♥♥♥ man, I do that too, I never use my reactors anymore. Very clever application, I'll definitely be using it :D
Dak Smith  [作者] 2015 年 1 月 2 日 下午 10:37 
Well, that's the main difference.

I use it with 4 batteries, and the quick charge cycle results in 3 batteries ganging up on the low one to rapidly charge it, while running refineries and so on. I use a solar array to make up the difference, and to tell you the truth, I haven't turned on my reactors in a very long time. I've been running 2 refineries and 3 arc furnaces, and even 2 assemblers pretty much all day, grinding through ores and building stuff.

Here's a link to my current exploration ship using this: http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=368217425
Baron Samedi 2015 年 1 月 2 日 下午 10:22 
besides switching at <800KWh rather than 0, how is this different from semi-auto mode?