Space Engineers

Space Engineers

Not enough ratings
Solar panel aligner and base energy Manager
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.468 KB
30 Dec, 2016 @ 4:57pm
16 Aug, 2017 @ 3:04pm
4 Change Notes ( view )

Subscribe to download
Solar panel aligner and base energy Manager

Description
Panel alignment based on shadowing principle, it uses 4 panels with 2 block height light armor walls in between.
The panels are top-left, top-right, bottom-left and bottom-right. The shadows of the walls controls the direction of the movement. It creates a difference in maximum output between the top-bottom and left-right panels and therefore controls the pan and tilt axis motors.
It supports slave motors in both axis and position inversion for creating T shape solar arrays.
Can be set up home orientation to align when no sun power detected.

The Energy manager part controls the accessible batteries and reactors.
It has two states:
- if there is enough energy with batteries and solar panels to supply energy requirement it switches off the grid-local reactors
- if not it puts batteries into depletion state and switches on reactors.
With this operation the reactors never charges batteries, and solar power is used for energising base or charging batteries when available.
Needs a timer block to start itself with 2 sec delay and run the programming block.
The panel names, directions are configurable at the starting section of the script.
It writes it's working state into programming block info section, and add charge level suffixes into batteries.

Survivor and DS ready.
5 Comments
Szabkadi  [author] 15 Jan, 2017 @ 3:08am 
Updated the script with configuration and setup explanation.
Szabkadi  [author] 15 Jan, 2017 @ 1:36am 
Ohh, i forgot to mention, of course it needs a programming block and a timer block set to 2 or 1 second and the timer block has to restart itself.
chandos73 8 Jan, 2017 @ 5:25pm 
I'm trying to get this up and going and having no luck, the rotors turn and keep turning, but they won't stop. I'm on a Pingperfect dedicated multi-player server, building on a moon. I've copied the picture above as faithfully as I may, have two batteries, one reactor, an antenna etc. The rotors are both set to 50.0 kNm torque, max breaking torque and named MSA MotorX and Y respectively. The solar panels shown on the far right are labeled according to the information found when I hit the Edit function.

Does this need a timer block, if so, what should the settings be? Does this need to have a LCD screen or any other specific blocks, should those blocks be named differently?
Szabkadi  [author] 1 Jan, 2017 @ 6:16am 
Hi, no, it just listens to the detector solar panels output.
broken 31 Dec, 2016 @ 3:43pm 
so is it picking up shadows with raycast? do we need a camra? and do the rotors need a name in them?