That green spiral thing is a big fat power resistor. That type is normally used to dump excess energy in systems that have older types of power regulation. The black box has cooling fins, so it would appear to be designed to handle high current. The "brake chopper" type over-voltage protection devices that are used on some types of motor control systems use those. The black box MAY be some sort of overgrown zener diode that is there to protect your house bank from being overcharged by either wind or solar chargers. If the red & black wires go to the house bank, then I am voting that it is an overvoltage protection device.