The OpenHPL Governor model uses reference power and measured generator frequency as inputs and outputs the turbine guide-vane position. Its structure contains a power-to-guide-vane lookup table, permanent droop, transient droop, pilot-servo dynamics, main-servo integration, rate limits and position limits.
A convenient form is
$$e_f=1-\frac{f}{f_{ref}}.$$When frequency falls, $e_f>0$ and the governor tends to increase guide-vane opening.
The steady droop relation can be written conceptually as
$$\Delta y_g=-\frac{1}{R}\Delta f$$or equivalently
$$\Delta P_{ref}=-\frac{1}{R}\Delta f,$$depending on where droop is represented. OpenHPL parameterizes a droop gain inside the governor feedback structure.
The OpenHPL governor contains a transfer function with transient-droop time constant $T_r$ and transient-droop gain $\delta$. A representative transfer form is
$$G_r(s)=\frac{\delta T_rs}{T_rs+1}.$$This provides temporary feedback during rapid gate movement and improves hydraulic-governor stability.
The pilot servo is a first-order element:
$$G_p(s)=\frac{1}{T_ps+1}.$$In time domain,
$$T_p\dot u+u=e.$$The main servo is effectively an integrator driven through a gain $1/T_g$:
$$\dot y_g=\frac{u}{T_g},$$subject to opening and closing rate limits
$$-\dot y_{max}^{close}\le\dot y_g\le\dot y_{max}^{open},$$and physical position bounds
$$0\le y_g\le1.$$OpenHPL maps normalized power reference to an initial guide-vane demand through a lookup table. Therefore the static operating point is not assumed perfectly linear:
$$y_{g,0}=\Phi\!\left(\frac{P_{ref}}{P_n}\right).$$A compact nonlinear controller representation is
$$\dot x_c=f_c(x_c,f,P_{ref}),$$ $$y_g=h_c(x_c,f,P_{ref}),$$with saturation and rate limiting inside $f_c$ and $h_c$.
Pure isochronous control attempts to restore frequency exactly using integral action, but multiple parallel generators cannot all impose independent zero-error frequency commands without coordination. Droop makes active-power sharing well posed:
$$\Delta P_i=-\frac{1}{R_i}\Delta f.$$The OpenHPL governor provides the primary-control path
$$\Delta f\to\text{droop + transient droop}\to\text{servo}\to\Delta y_g.$$That output then enters the Francis turbine and hydraulic waterway, producing the mechanical-power response used for FCR studies.