Skip to content

AURORA AC power control SOP

Currently the way to control the AC instruments is by powering the individual output ports on the PDU in the ASS. Eventually we hope to have an option to power down the entire inverter, but not until October.

Current best practise

Power on AC ports

(1) Run the following commands at the ass-linux command line for the instrument/s that you want to turn on:

Turn on the ceilometer:

    systemctl --user start ceilo.service

Turn on the Radar:

    systemctl --user start radar.service

Turn on the Hatpro:

    systemctl --user start mwr.service

Things we haven't written system serivces for yet (someone should though):

Turn on KT15 heater:

    /home/aurora/scripts/pdu/ass-pdu.sh on 1

Turn on the HATPRO heater:

    /home/aurora/scripts/pdu/ass-pdu.sh on 3

Turn on the drone AC:

    /home/aurora/scripts/pdu/ass-pdu.sh on 4

(2) Check that it actually turned on by either:

(a) Checking the status of the service you just ran: 
        systemctl --user status ceilo.service

(b) Check the power output on the pdu itself: 
        /home/aurora/scripts/pdu/ass-pdu.sh status

(3) Confirm data is going in for the thing you turned on. For the radar and hatpro, you might need to go in and restart the software. For the ceilometer the data takes about ~15 mins to come through. For the drone, make sure it's in the operating mode you want (see seperate SOP for this).

Power off AC ports

(1) What do you need to do to soft shutdown the thing you're turning off?

    Radar: Terminate measurements, close software. 
    HATPRO: Terminate measuremetns, close software. 
    Drone dock: Send a command to switch to tier 4

(2) Run the following commands at the ass-linux command line for the instrument/s that you want to turn off:

Turn off the ceilometer:

    systemctl --user stop ceilo.service

Turn off the Radar:

    systemctl --user stop radar.service

Turn off the Hatpro:

    systemctl --user stop mwr.service

The stop ceilo.service didn't work for me. I don't know why. As a back up option, do : Turn off the ceilometer:

    /home/aurora/scripts/pdu/ass-pdu.sh off 5

Things we haven't written system serivces for yet (someone should though):

Turn off KT15 heater:

    /home/aurora/scripts/pdu/ass-pdu.sh off 1

Turn off the HATPRO heater:

    /home/aurora/scripts/pdu/ass-pdu.sh off 3

Turn off the drone AC:

    /home/aurora/scripts/pdu/ass-pdu.sh off 4

(3) Check that it actually turned off by either checking the power output on the pdu itself:

        /home/aurora/scripts/pdu/ass-pdu.sh status

Known issues

The commands above sometimes fail if the pdu is unhappy about multiple long in attempts. Its essential to check they've done what you think and confirm it worked. If it didn't you can try again.

Other relevant info

Note that AC ports 3 and 7 are empty in Iceland.

The system service scripts can be found at /home/aurora/.config/systemd/user/ If you make a change to one, you can reload it with the command: systemctl --user daemon-reload