How can I calculate the maximum output power?
Here is a microchip AN that I think is almost exactly what you need (also you need zero crossing detection which I didn't see mentioned...that is in here too)

91094A