Space Engineers

Space Engineers

Ei tarpeeksi arvosteluja
Solar panel aligner and base energy Manager
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
2.468 KB
30.12.2016 klo 16.57
16.8.2017 klo 15.04
4 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Solar panel aligner and base energy Manager

Kuvaus
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 kommenttia
Szabkadi  [tekijä] 15.1.2017 klo 3.08 
Updated the script with configuration and setup explanation.
Szabkadi  [tekijä] 15.1.2017 klo 1.36 
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.1.2017 klo 17.25 
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  [tekijä] 1.1.2017 klo 6.16 
Hi, no, it just listens to the detector solar panels output.
broken 31.12.2016 klo 15.43 
so is it picking up shadows with raycast? do we need a camra? and do the rotors need a name in them?