To ensure your safety and the proper functioning of your equipment, it's important to follow the correct sequence of steps when dealing with power outages and grid connections. During a power outage at the power station, it's recommended to turn off the DC switch (module side) first, followed by the AC switch (inverter side). On the other hand, when connecting to the grid for power transmission, it's important to first close the AC switch and then the DC switch. Remember, the order of operations for power outages and transmission is reversed, so it's essential to follow the correct sequence to avoid any potential hazards.