SAFPWR home page

Steam-generator modeling

(fig 34.1)

We retain the same basic modeling ideas as for the primary:
- decomposition of the fluid transformations.
- global pressure approximation:
vmj =vm(hj,p3n) where hj is the local enthalpy and p3n the single, global, pressure attached the whole SG N.
- the contributions of kinetic and gravity energy are converted into thermal energy.

The "core" cn of sg n (n refers to the sg coupled to loop_l; with n=l), contains uniform, fixed volume nodes
nj=1,j9n(n).
Each node j of the secondary side of the sg receives heat power q3nj from an ascending primary node i3 and q4nj from the descending node i4.

Fig 2 sketches the temperature distributions in cn
By construction, the number of primary nodes in the heat-exchanging part of the primary loops must be even: nodes i3 , i4 are normally of the same size, so that the tnj distribution should therefore be symmetrical.
Actually, there is a temperature gradient towards the tubes inlet (cf dotted part of the tnj curve, but this effect is neglected as the nodes have, by definition, uniform temperature.
The nodes j above the tubes are in the "riser" of cn; they do not exchange heat (qnj=0). The riser enhances natural circulation.
If the bottom, sub cooled part of cn is small,
tnj=tln(p3n) (saturation temperature at pressure p3n) in most of the j nodes, and an option has been made available in SAFPWR for simply representing the sg as an uniform secondary temperature t1cn field imposed via the a time interpolator
Lstl1/Itp_sec/t1cn

The simplified flow sheet describes the successive calculations conducted, for the different parts of the sg, in the course of processing do, steam_gen_n.

Processing the "core" Cn of sg N
For the successive nodes (1) j=1, j9n, the treatment starts with calculating qli and qnj (2) by means of the slab thermal conduction model.
The calculation scheme is explicit for both t1li and t1nj, which are the currently known bos values.
In normal operating conditions, most of the secondary water in cn is saturated so that t1nj changes slowly with time.
On the primary side, t1li is the nodal temperature calculated from the bos h1li.
In steady state, the trend (fig 2) of temperature decrease in the tubes is exponential, so that we should normally take t1li as the log mean temperature in the node instead of its nodal value, which represents also the value at node outlet.
However, as this is not true in transient conditions and for the bottom nodes, the log correction has not been retained.
As tli, as opposed to tnj, may change rapidly with time, the tli-explicit scheme becomes unstable as the node volume increases.
This is especially true in the course the ini calculation where the guess tli for node i is the value of the lastly calculated, upstream node.
Thus, the qli calculation scheme had to be stabilized by means of internal linearization: (fig 3)
(2) provides a first guess of qli and qnj.
It supplies, at the same time, a guess u2li for eos metal temp in the tube, as well as derivatives (3) and (4) of qli and qnj in relation to tli variations.
(5) is a first guess of h2li and its qli-derivative (6)
h2li, which results from eulerian enthalpy balance in node li using qli and inlet flows as entries.
(7) Next the corresponding t2li and derivative thpli from generic temperature model.
thpli (8) is actually the inverse of specific heat at constant pressure.
(8a) Combining the derivatives provides an estimation ttli of the change of t2li for a unit variation of t1li.
Thus solving (9) for t2li allows to determine which variation dti should be applied to t1li to get t1li + dti = t2li .
Next, u2li (11), qli (12), and qnj (13) are correspondingly corrected by making use of their gradients.
h2li (13) is finally updated using the complete balance model in order to eliminate residual linearization error.

Thanks to this internal linearization correction, the heat-exchange process becomes implicit for tli and the qli calculation is stabilized.
Numerical experience indicates that, as long as the nodes are not too large, the linearization correction remedy is only required for the ini phase (see later), but the correction has been maintained, to make sure, for all steps.
The stabilization correction was here feasible because, in each node, the h2li calculation follows that of t1li.
This is, at present, not the case for the Lagrangian balance scheme, without some recoding. However, when Lagrange solution is enabled, the ini process remains eulerian and stable.
Note that the qli and qnj calculations are actually carried out in the course of the do, loop_l processing.

Once q3nj and q4nj thus obtained for the ascending and descending branches respectively, the total heat qnj (15) collected by nj is, in turn, calculated and an eulerian balance with drift (16) is carried out on the successive nodes j=1, j9n.
wenj and whenj are the inlet mass and enthalpy flows.
For j=1 they are the current values of w2an and wh2an at outlet of the annular region an.
For each of the following nodes they are the sum of liquid (wlnj) and vapor (wvnj) flows outgoing the previous node.
The drift process facilitates bubbles extraction but the resulting decrease of vapor fraction reduces natural recirculation, so that it is not clear to ascertain whether the correct representation of the drift process is critical.
The operations in cn terminate with saving (18) liquid and vapor flows at cn outlet.

dome dn processing

The sg dome region is modelled as an "ideal" representation including an ideal, zero-volume, separator returning saturated water to the annular region an, and releasing saturated vapor to the dome.
Furthermore, the water quantity retained in it is neglected, so that cn is, except in extreme cases, permanently filled with saturated vapor.

dn processing starts (19,20) with calculating the total flow wzdn through the pressure relieve valves, by means of the flow critical discharge formula, using the discharge coefficients (20) wypdn and wzpdn
wzpdn applies for the pressure relief devices, and wypdn simulates the discharge though the break in case of MLSB accident.
Normally, hydn=h2dn but a moisture correction could easily be implemented.
whyd (21) represents the total enthalpy flow escaping the dome to turbine collector, pressure relieve devices (whzdn) and the possible break.
According to our zero-kinetic-energy approximation, whyd is obtained from (21), where qgvn is the net thermal power provided by sgn to the turbine system.
This representation avoids modeling the vapor collector and turbine feed valve systems. It amounts to neglecting the effect of vapor collector on pressure variation at turbine entry.
If qgvn=0, it is simply obtained from (22).

The steam dryer is not explicitly represented.
Quality of escaping vapor may also be adjusted at input.

The feed water flow wyan is imposed as input if the sg is free (unregulated) or adjusted by the sg water level regulator described along the an processing.
In case wyan < 0, then hyan=h2an.

Assuming, in the first place, that no fluid or heat exchange takes place at dn/an interface, and that the volume v2dn of dn is free to expand, mass and enthalpy isobaric (at p3n) and adiabatic (no heat exchange with metallic parts) balances are carried out for the dome by means of (24,25) as net input flows.
The balance outcome (26:29) are quality x2dn, mixture mass m2nd.
Notations "nd" corresponds to dome condition before liquid separation, and "dn" to normal saturated vapor conditions after separation.
From h2nd (28) and the other characteristics of the nd region considered as a single, expendable node.
It may happen that h2na > hln, if the addition of saturated water to an and the possible effect of pressure decrease (p3n < p1n) bring an to boiling, then, the vapor present in an is returned to the dome.
Like as for the dome, notations "na" stand for an before possible separation and "an" for normal an conditions.
The liquid part m2lnd, if it exists, (32) is separated and transferred to an and the vapor part is retained to form the dn content (31, 33).
an processing
Annular region an is considered as a single, expandable node receiving m2lnd (32) from the dome and loosing dsec (wyan - w2an)) at its bottom (35:40).
Quantities resulting from of an balance is noted "na".
Normally, na content is sub cooled because the feed water is sub cooled and the dome contribution m2lnd is saturated.
However, as the result of a pressure decrease, (48) only is retained, and the vapor part is subsequently transferred to the dome, but only after the pressure correction, in order to avoid calculating fluid expansion properties from the saturated water line where they are discontinuous.
Now, (50) from its general formula.

At this stage, it will be generally observed that the expanded volume v2an of the an region differs from the value van which should be maintained by water level regulation.
Instead of modeling a real regulator, we have rescourse to an ideal regulator based on the same Newton method as used for heat-exchange stabilization: the whole process is repeated for a unit variation of wyan to obtain the derivative (51).

Next a correction Δwyan (52) is applied to wyan in order to attempt neutralizing the v2an deviation form its set value.
In order to avoid possible instability of such a correction, or to simulate some delay in the action of the regulator, a relaxation factor (input) xygv is provided.
The whole an processing is then repeated with the corrected wyan.
Note that this correction does not affect the w2an used to the cn processing.
Numerical experience shows the this ideal mathematical regulator provides a perfect level regulation.
Presently, the mass and heat balances of the different parts of the SG are correctly updated, accounting for the vapor release wydn and regulation effects, but it is now observed that the total volume v2an + v2dn differs from the geometrical value vadn which is input as a sg generic data S00gvg/vadgv.
Remind that cn was handled with Euler balances on fixed volumes, so that there is no error volume on it. In the same manner as for the primary, a pressure correction (66) is thus applied to the whole sg in order to neutralize the volume deviation.
This operation makes use of the expansion coefficients (58) vpcn, v2dnp and v2nap collected in the course of the (m,h) balances on cn, dn and an.
The transformation undergone by the fluid in the cn nodes, in the course of this pressure correction, is isentropic. For the dome, the fluid state point is forced to follow the vapor saturation line (fig 4) which means that the heat needed for the transformation must be borrowed from an: the transformation of an + dn remaining globally adiabatic.
(55) represents the contribution of this heat to the na pressure coefficient.
(59) then represents the total volume error before updating the pressure.
If the pressure correction is negative, it may happen that flashing occurs in an. Then the an transformation must be spit in two parts (60:64)
Flow w2an updating.
At present it remains (67), like as for the primary, to update the circulating flow w2an. This is obtained by solving the Euler kinetic balance on the loop cn+dn+an using the same techniques as for the primary.

In spite of its relative simplicity, our "ideal" sg model is believed to be adequate for assessing the effects of sg secondary side behavior on reactor transients.

It is however valid as long as the sg operation remains "normal" ie when cn contains saturated vapor and natural recirculation is active.
In extreme cases (like SLB) some sg may become thermally isolated from the primary, and recirculation will cease because secondary water becomes warmer than that of the primary side.
In such a case, we have rescourse to an elementary "hot water bottle" representation of the whole sg as a single homogeneous volume "n".

qcn (68) collects the qnj calculated with the current value t2n of secondary temp. The "bottle" properties are determined by the simple balances (69:93 ) and the pressure updated by (93).

It may also happen that the ruptured sg becomes "dry" in the upper part of cn (xnj >1) and the corresponding nodes can then no longer extract heat from primary because their temperature rise rapidly to that of sg tubes.
In order to handle such a situation, we have implemented a tentative model whereby the secondary heat transfer surface is simply nullified in the dry part of the tubes .
In absence of such a remedy, the sg model becomes instable and simulation of the late phase of accident is not possible.
Controlling instability by implicit handling of tnj, as was done for primary side tli could also be contemplated.

ini, steam_gen

Executing the ini procedure necessitates imposing following primary plant data: p3, hsb, q2c, (or f2c), primary pump flows and the contribution of pressu heater and pumps to total primary power.
For each sg: p3n, qgvn (whose sum must balance total primary power), hyan, the recirculation ratio taken as ratio of inputs w2an/wyan and the target value van of v2an. The recirculation ratio is viewed here as a known design characteristic.

As explained earlier, the sg heat-exchange surface must be adjusted, by the ini procedure, to insure that the power supplied by loop_l to the core cn of sg n, be correctly balanced with qgvn, the power lost by n to the tertiary.
In addition, the friction coefficients input data along the recirculation loop must be adjusted to reproduce the target recirculation data with the water level in an at its target value.
Summary of the ini calculation procedure.

(i1) We start with a first guess for t1nj.
This value is correct except for the first possibly under cooled nodes of cn.
(i2) is the heat transfer area adjusting multiplier set to 1 as default.
(i3) is actually the definition of qgvn.
(i4) applies for steady condition.
(i5) calculates w2an form wyan and desired recirculation ratio.
(i6) is the an power balance.
(i7) Next, for the successive primary nodes i of the sg, we use the stationary form of the tli-implicit node balance-heat exchange to generate qli and the eos node thermal properties as the only function of the current t1nj and node inlet flows.
The flow whegv at inlet results form the ini, bottom, ..., loop_l part of the ini procedure. qli obtained from (i8) is proportional to sqli.
(i9) It is scaled by the current xqli before entering the node balance
(i10) which determines whsli, used as wheli for the following node.
Then the summation (i11) gives current primary sg power.

Next, the ini process proceeds with updating the t1nj of the under cooled nodes.

(i12:i16) The boiling status of the nodes is checked by means of a standard eulerian enthalpy balance of j=1, j9n, starting with whsan.
The balance neglects the possible vapor drift but if the node boils without drift, the guess t1nj = tln will be confirmed for that node and the following ones.
If the node is still subcooled, its t1nj is taken from the generic temperature correlation (i16)
(i17) Next a relaxed (by factor omqgv) correction of sqn is evaluated by comparing the current qgvn to it target qgvn and the whole process (i8:i20) is iterated till convergence of qgvl (dxqgv --> 0).
Finally, sqli is corrected.

A value omqgv>1 must be chosen in order to accelerate the iterations.
This is linked to the fact that the power qli exchanged is under-estimated by calculating it from the node outlet temperature.
xqn corrects also for the finiteness of node volumes and is expected to decrease as the nodalization is finer.
If xqn deviates too much from 1 even with a large number of nodes, it means that the input heat transfer coefficients are unrealistic or that the desired pressure p3n is not feasible.

Once the intensive values t1nj, h2an, w2an, wyan, qnj, v2an obtained, it remains (i22) to determine the secondary nodes quality x2nj and their mass m2nj, m2dn and m2an.
In presence of drift the relation (i21) still holds but h2nj differs from whsnj/w2an.
Node final condition is now obtained by activating the stationary form of eulerian drift model which provides (i22) quality x2nj, h2nj, and the liquid and vapor outlet flow as a function of inlet and outlet net flows. This implies that the effect of drift on heat-transfer coefficient is neglected.
Next, in dn we have (i23) (saturated vapor), (i24) taken from the total volume vadgv. This implies that all the sg have the same volume. If this were not the case we would allow entering vdn and van for each sg n, which requires minor recoding.
Finally, the an and dn properties are trivial (i25,i26)
A correction factor xcfr is calculated like for the primary loops, by closure of kinetic balance around the recirculation loop with, of course, v2a set to the target van.

In some applications, it is acceptable to reduce the representation of the sg secondary side to an uniform distribution t2nj = t1cn.
This is achieved by setting input_t1cn(n) as true and entering t1cn(n) under Lstl.
In such a case, the inclusion of sg in the ini sequence is forbidden.
For an arbitrary t1cn, the execution of the ini sequence ini,bottom, ..., loop_l will result in an enthalpy hsl at l outlet deviating from the imposed hsb and t1cn must therefore be adjusted to eliminates the deviation.

This is obtained by applying to t1cn a relaxed correction (i27) where the derivative is collected with (i28).
The correction must be repeated until hsb = hsl.
Like as for the correction on sqli, a over-relaxed value must be used for omqgv.