Newton second law gives the answer:
[tex]J \frac{d\omega}{dt}=\Delta \tau \\<br />
\text{Output power from salient synchronous generator:} \\<br />
P=\frac{V~E}{X}\sin{\theta} \\<br />
\text{And the relation:}\\<br />
\tau \omega=P[/tex]
Adding these relations together, you can solve for what happens if so and so.
You can also linearize the system around a operating point so you get the relation:
[tex]2H \frac{d\omega}{dt}=P_{in} - P_{out} ~[per~unit][/tex]
If i remember correctly. So basically the speed of the generator changes if input power and output power is not equal. Also most generators have speed governor where the input power/torque is a linear function of speed. Hence the steps are:
- Output power drops
- Speed increases (excess energy is transferred into rotating energy)
- Speed governor reacts
- decreases input power
- acceleration stops
- steady state is achieved at a higher rotating speed
( and frequency is proportional to speed)
or vice versa.
Regarding the torque and counter torque refer to eq. 1. The torque acting on the shaft have to be equal and opposite to achieve steady state operation. Mechanical torque is input torque on the turbine. "counter torque" is the electromagnetic torque produced by the generator, this is a function of many factors (current, voltage etc.), in essence the loading of the generator as Averagesupernova pointed out.