5.11. Interaction With Other SAS4A/SASSYS‑1 Models¶
5.11.1. Information Received by PRIMAR from Other Models¶
PRIMAR-1 receives no information from other routines. It is driven entirely by the input regardless of what happens elsewhere in the code. Three kinds of input can be supplied: a pressure drop as a function of time, a normalized channel flow rate as a function of time, or the parameters for an exponentially decreasing pressure drop. These are described in Section 5.10 and mentioned in the input listing in Chapter 3.
PRIMAR-4 receives \(C_{0}'\), \(C_{1}\), \(C_{2}\), and \(C_{3}'\) and also the inlet and outlet temperatures for each core channel from the coolant dynamics routines. These are the variables described in Section 5.2.2. The coolant dynamics routines also supply PRIMAR with the net mass flow and the net mass flow times temperature from all of the core channels to each outlet plenum, as well as the net mass flow and the net mass flow times temperature into all of the core channels from each inlet plenum during the last PRIMAR time step. The PRIMAR model then adjusts the inlet and outlet plenum mass, pressure, and cover-gas interface to account for differences between the estimated channel flows (PRIMAR) and the computed channel flows (coolant dynamics routines) for the last PRIMAR time step. Symbolically,
where
\(\Delta m\) = the mass adjustment
\(w_{\text{c}}\) = the total calculated mass flow rate from all the core channels
\(w_{\text{e}}\) = the total estimated mass flow rate from all the core channels
The integration is over the time step. Then
\(m_{\text{l}} = m + \Delta m\)
\(V_{\text{l}} = m_{\text{l}}/\rho_{\text{l}}\)
\(z_{\text{inter}} = z_{\text{ref}} + V_{\text{l}}/A_{\text{inter}}\)
where
\(m_{\text{l}}\) = the adjusted liquid mass in the plenum
\(m\) = the liquid mass in the plenum before adjustment
\(V_{\text{l}}\) = the liquid volume in the plenum
\(\rho_{\text{l}}\) = the liquid density in the plenum
\(z_{\text{inter}}\) = the liquid interface height in the plenum
\(z_{\text{ref}}\) = the reference height input for the plenum
\(A_{\text{inter}}\) = the area of the liquid interface input for the plenum
The coefficients \(C_{0}'\), \(C_{1}\), \(C_{2}\), and \(C_{3}'\), supplied to the PRIMAR model by the coolant dynamics routines, are used to estimate the rate of change in the mass flow rate for each channel, as indicated in Eq. 5.2-21 and written more simply for a particular channel as
where the symbols have the same meaning as in Eq. 5.2-21. Before boiling begins in a core channel, \(\text{dw}/\text{dt}\) depends on \(p_{\text{in}} - p_{\text{x}}\), and \(C_{1}\) is set equal to \(- C_{2}\). After boiling starts, the inlet flow is independent of \(p_{\text{x}}\), and depends on \(p_{\text{in}} - p_{\text{b}}\), where \(p_{\text{b}}\) is the bubble pressure. Also after boiling starts, the outlet flow is independent of \(p_{\text{in}}\), and depends on \(p_{\text{b}} - p_{\text{x}}\). The bubble pressure \(p_{\text{b}}\) is included in \(C_{0}'\).
5.11.2. Information Supplied by PRIMAR to Other Models¶
PRIMAR supplies information to the pre-voiding coolant dynamics routines, the boiling model, LEVITATE and PLUTO-2. Both PRIMAR-1 and PRIMAR-4 supply the same information, but it is arrived at differently by the two options. The information supplied is
\(p_{\text{in}}\left( t_{\text{P}1} \right)\) = the inlet plenum pressure at the beginning of the PRIMAR time step
\(p_{\text{out}}\left( t_{\text{P}1} \right)\) = the outlet plenum pressure at the beginning of the PRIMAR time step
\(\frac{\text{dp}_{\text{in}}}{\text{dt}},\ \frac{\text{dp}_{\text{out}}}{\text{dt}}\) = the time derivatives of the inlet and outlet plenum pressures
\(T_{\text{in}} T_{\text{out}}\) = the inlet and outlet plenum temperatures
At any time t during the PRIMAR time step, the inlet and outlet plenum pressures are taken as
and
The plenum pressures \(p_{\text{in}}\) and \(p_{\text{out}}\) that PRIMAR supplies to the coolant routines are at the plenum reference heights \(z_{\text{PLENL}}\) and \(z_{\text{PLENU}}\), and the coolant routines compute the core channel inlet and outlet pressures from these by the formula:
and
It should be noticed that in the PRIMAR-4 input (ZCVL
) a reference height is entered
for each compressible volume,
including the compressible volumes that are the inlet and outlet
plenums. In addition, inlet and outlet plenum reference heights,
\(z_{\text{PLENL}}\) and \(z_{\text{PLENU}}\), are also entered as input
(ZPLENL
and ZPLENU
, or ZPLENC
). If
these two sets of reference are different, the PRIMAR-4 code calculates
the appropriate adjustments and passes the inlet and outlet plenum
pressures at \(z_{\text{PLENL}}\) and \(z_{\text{PLENU}}\) to the coolant
routines.
The inlet and outlet plenum temperatures are discussed in Section 3.3.6 of Chapter 3.