2.8.2.2. Block 3 — INPMR4 — PRIMAR-4 Integer Input¶
NCVP
1
Number of compressible volumes, primary loops.
NCVS
2
Number of compressible volumes, secondary loops.
NSEGLP
4
Number of liquid segments, primary loops. All SAS4A channels (except the bypass channels) form one liquid segment.
NSEGLS
5
Number of liquid segments, secondary loops.
NSEGGP
7
Number of gas segments, primary loops.
NSEGGS
8
Number of gas segments, secondary loops.
NELEMT
10
Total number of liquid flow elements, max = 140. A bypass channel must not be split into more than one flow element.
Note maximum total numbers:
Compressible volumes
38
Liquid segments
40
Gas segments
28
Liquid elements
140
Pumps, sodium
12
HXs
4
Steam generators
Table look-up model
12
Detailed model
8
Check valves
6
4
Temperature groups
100
Bypass channels
8
Axial nodes in HX
61
Note subscripts used in this block:
ICV
Compressible volume
ISGL
Liquid segment
ISGG
Gas segment
IELL
Liquid flow element
M
1 Inlet2 OutletIPMP
Pump
IIHX
HX
ITGP
Temperature group
IBYP
Bypass channel
ISGN
Steam generator
IVLV
Valve
ICKV
Check valve
IDHX
Air dump heat exchanger
IRVC
RVACS
ITYPCV (ICV)
11-48
Compressible volume type.
ITYPEL (IELL)
49-188
Liquid flow element type.
JCVL (M,ISGL)
189-268
Compressible volumes at the ends of the liquid segment.
JCVG (M,ISGG)
269-324
Compressible volumes at the ends of the gas segment.
NELML (ISGL)
325-364
Number of elements in the liquid segment.
JFSELL(ISGL)
365-404
PUMPS
NPUMP
405
Number of sodium pumps: Max 12.
IELPMP (IPMP)
406-417
Element number of pump IPMP.
IEMPMP (IPMP)
418-429
Type of pump.
ILRPMP (IPMP)
430-469
IEMPMP
. Uses locked rotor model for IEMPMP
= 2 according to pump WB and SB, see APMPHD
. Uses static trip time in APMPHD
(7, IPMP) when IEMPMP
= -2.IEMPMP
= 1 or 2.IEMPMP
= 1 or 2).IEMPMP
.
IEMPMP
Description
-2
ID for function that returns the trip time for the ALMR EM Pump model. A single argument is passed containing the value of the time at the end of the current PRIMAR-4 time step. When a function is used,
APMPHD
(7,IPMP) is ignored. (See FUNCTION Block )-3
EMPUMP Block number containing pump description. Values in
PMPINR
(IPMP),HEADR
(IPMP),PMPSPR
(IPMP),PMPFLR
(IPMP),PMPEFR
(IPMP),TRKLSC
(IPMP),EPSCAV
(IPMP),APMPHD
(K,IPMP), andAMOTTK
(K,IPMP) will be ignored.
HX, DRACS, CHECK VALVES
NIHX
470
Number of IHXs and PHXs: Max. 4.
NDRACS
471
NCKV
472
Number of check valves: Max. 6.
IELIHX (IIHX)
473-476
Element number of HX # IIHX, primary loop.
IELDRP (IDRX)
477-480
ILIHXS (IIHX)
481-484
Index of the secondary element in the IIHX heat exchanger.
The sign of the index indicates what detailed heat exchanger model is used.
IELDRS (IDRX)
485-488
IHXCLC (IIHX)
489-492
NTNODE
must be greater than or equal to 2.NTNODE
must equal 2.DTMPTB
, ZCENTR
, TMPMTB
. ITAB specifies both the DTMPTB
and the ZCENTR
table number unless iHXZID
is provided.iHXZID
must be provided to define the height of thermal center.IDRCLC (IDRX)
493-496
IPRADJ
497
DEBUG PRINTS
ICPDBG
498
IBL3D2 (I)
498-506
IDBPR4
507
PRIMAR4 debug parameter, initial value.
INAKDR
509
Coolant properties for the DRACS loops. DRACS liquid segments and compressible volumes are
defined by ISGLNK
and ICVNAK
, respectively.
INAS3D
, ID2O
, IPBDEN
, KPROPI
, or ICLPRP
.PIPE RUPTURE
ISRCRP
510
Compressible volume number of pipe rupture source.
ISNKRP
511
Compressible volume number of pipe rupture sink.
TEMPERATURE GROUPS
Elements in a liquid segment are combined into temperature groups. Each temperature group contains one or more consecutive elements. All of the elements in a temperature group are treated with the same type of liquid temperature calculation: as a pipe, HX, bypass channel, or steam generator. See Liquid Temperature Calculations.
NTGPT
512
Number of temperature groups. NTGPT
≤ 100.
Core channel segments must not be assigned to a temperature group.
It is recommended to combine consecutive pipe-type elements within a segment as a single temperature group.
An element representing the primary side of a detailed heat exchanger must be assigned to its own temperature group. The secondary side will inherit the same group and must not be included in another temperature group.
Each element representing a bypass channel must be assigned to its own temperature group.
Elements with direct coolant and/or wall heat must be assigned to their own temperature groups.
NTNODE (ITGP)
513-612
Number of nodes in the temperature group.
NTNODE
>= 2.
Table look-up heat exchangers and steam generators must have exactly two nodes.
IFSTEL (ITGP)
613-712
First element in the temperature group.
ILSTEL (ITGP)
713-812
Last element in the temperature group.
BYPASS CHANNELS
NBYP
813
Number of bypass channels.
NTLWBY (IBYP)
814-821
Number of nodes in lower part of walls A and B of bypass channel - Region 1.
IDKTYP (IBYP)
822-829
Decay heat curves for bypass channels.
IELBYP (IBYP)
830-837
Element numbers for bypass channels. (Usually opposite active core).
ISSTP
838
Not currently used.
STEAM GENERATORS
NSGN
839
Number of steam generators.
IELSGN (ISGN)
840-851
Element number for steam generator.
ISGCLC (ISGN)
852-863
NTNODE
must equal 2.DTMPTB
, ZCENTR
, TMPMTB
. ITAB specifies both the DTMPTB
and the ZCENTR
table number unless iSGZID
is provided.iSGZID
must be provided to define the height of thermal center.IEVAP (ISGN)
864-875
For all steam generator models,
CHECK VALVES
IELLCK (ICKV)
876-881
Element number for check valve ICKV.
IUM883
882-889
Not currently used.
PRINTS AND BINARY OUTPUT
NBINOT
891
IBINOT
893-971
Identification of binary output for PRIMAR4.dat. First two digits give IBNTYP = type of variable. Last 4 digits give INUM, the variable subscript. If INUM > 5000, then INUM-5000 is the starting value for a range of subscripts, and the next INUM is the last value in the range. See Table 2.8.4 and Table 2.8.5 for description of input options.
INULLT
972
VALVES
NVALVE
973
Number of valves, ≤ 8,
IELVLV (IVLV)
974-981
Element number for valve IVLV.
ITABVV (IVLV)
982-989
PUMP DEFAULTS
IPMDFT
990
AIR DUMP HEAT EXCHANGERS
NDHX
991
Number of air dump heat exchangers. Max. = 4.
IELDHX (IDHX)
992-995
Element number for air dump heat exchanger IDHX.
IFCDHX (IDHX)
996-999
DETAILED STEAM GENERATOR
IFWC (ISGN)
1000-1003
Feedwater control options.
IGHC (ISGN)
1004-1007
Specification of multiple evaporator and superheater sections.
CONTROL ROD DRIVE EXPANSION REACTIVITY FEEDBACK
NEXPFB
1008
IEXPFB (K)
1009-1018
PLENUM MODEL
IPL2A
1019
Not currently used.
COMPONENT-COMPONENT HEAT TRANSFER
IBYBY (K,IBYP)
1020-1051
IELHT (K)
1052-1081
IELHT2 (K)
1082-1111
Element number.
ICV, or
Temperature of heat sink (if -IELTH2 > max number of CVs.).
NELHTN (K)
1112-1141
IDBHTH
1142
ISTHTH
1143
PRIMAR step when IDVHTH is turned on.
IB3DM2
1144-1152
Not currently used.
COMMON COVER GAS PRESSURES
NCCV
1153
Number of connected compressible volume cover gasses with common gas pressure.
ICCVFS
1154
First compressible volume with common gas pressure.
STEADY-STATE INITIALIZATION
ISSIHX (IIHX)
1155-1158
Steady state temperature drop.
ISSPMP (IPMP)
1159-1170
Steady state pump head.
NIHXBY
1171
Number of liquid segments that bypass the IHX.
IHXBYP (K)
1172-1181
Liquid segment numbers for the segments that bypass the IHX.
NPMPBY
1182
Number of liquid segments that bypass the pump.
IPMPBY (K)
1183-1192
Liquid segment numbers for the segments that bypass the pump.
BYPASS CHANNEL HEAT TRANSFER
IHTBYB (IBYP)
1193-1200
Coolant heat transfer parameter set for wall B in bypass channel IBYP.
IHTBYD (IBYP)
1201-1208
FORMER CONTROL ROD DRIVE FEEDBACK
ANNULAR ELEMENTS
NANEL
1243
Number of annular elements.
IELANE (IANL)
1244-1273
Element number for annular element.
RVACS INPUT
NSCRVC
1274
Number of sections in the RVACS < 7.
IRVOPT
1275
RVACS modeling option:
IELRVC (IRVC)
1276-1281
Element number or -ICV, starting at the bottom and going up. If IELRVC
(IRVC) > 1000, use second wall of element IELVRC(IRVC)-1000.
NANRVC (IRVC)
1282-1287
Number of nodes in this section, only applicable if CV.
NULL TRANSIENT
ISSCPC
1288
Number of time steps in the null transient to initialize component-component heat transfer and direct heating.
RVACS INPUT
IDBRV
1290
Debug parameter for RVACS.
IDBRVS
1291
PRIMAR-4 step when RVACS debugs start.
RADIAL REFLECTOR REACTIVITY FEEDBACK
NRREAC
1292
Number of radial reflectors involved in reactivity calculations. (for use with empirical feedback models).
ISLREA (K)
1293-1300
Segment numbers of radial reflectors for reactivity calculations.
LBYP
1301
Number of radial reflector bypass channels.
LELBYP
1302-1309
Element number of the radial reflector bypass channels.
PIPE TEMPERATURE OPTION
IPIPTM
1310
PRIMAR-4 pipe temperature convective term differencing approximation.
ISSCPC
>0).Notes:
IPIPTM
=2.MULTIPLE INLET/OUTLET PLENA
IFMIOP
1311
ELEMENT/WALL THERMAL ADJUSTMENT
ITHPEN
1312
Optional adjustments to element and wall thermal treatment, based on thermal penetration depth.
Recalculates WALLH
, WALLH2
, HWALL
, WALLMC
, CMWALL
, WALMC2
, and HAELHT
for specified elements and compressible volumes. No adjustments are made if WALTHK
(IELL) = 0, WALTH2
(IAEL) = 0, or THKWAL
(ICV) = 0.
STRATIFIED VOLUME MODEL
NSTRCV
1313
Number of stratified compressible volumes.
ICVSTR (ICVST)
1314-1316
Compressible volume number for stratified treatment.
ISTRVT (ICVST)
1317-1319
NUMWAL (ICVST)
1320-1322
Number of wall sections.
IFSTWL (ICVST)
1323-1325
Wall number (IW) of the first wall section.
IWLHRZ (IW)
1326-1334
NVNDWL (IW)
1335-1343
Number of vertical nodes in a vertical wall.
NVNDWL
= 1 for a horizontal wall.
NLNDWL (IW)
1344-1352
ICV2WL (IW)
1353-1361
IDBSTR
1362
Debug flag for the stratified temperature model.
ISTDBS
1363
PRIMAR time step when stratified debug starts.
IFT16
1365
THICK WALL PIPES
NTHKPW
1366
Number of pipes to be treated with a thick wall treatment. Note: Thick wall pipe option is not compatible with direct element heating.
IELTPW (ITWP)
1367-1376
Element number for thick wall treatment.
DRACS
ISGLNK
1377
ICVNAK
1378
STEADY STATE INITIALIZATION OPTION
NCVSSI
1379
Number of compressible volumes for which the steady-state coolant pressure and temperature are specified (Max. = 10).
ICVSSI (II)
1380-1389
Compressible volume number for which steady-state pressure and temperature are specified.
AIR DUMP HEAT EXCHANGER OPTION
IADHX (IDHX)
1390-1393
ISTGTB (IDHX)
1394-1397
Used only if IADHX
(IDHX) = 1.
Not currently used.
ISSADX (IDHX)
1402-1405
Steady-state initialization option.
When ISSADX(IDHX) > 0, the steady-state initialization assumes zero heat removal from the air-dump heat exchanger.
External CFD Coupling for Compressible Volumes
Input for coupling between PRIMAR-4 Compressible Volumes and an external code can be changed during a restart. However, it is up to the user to ensure that the models in force at the end of one simulation and the beginning of the subsequent simulation are consistent. This restart capability is primarily intended to allow a stand-alone, steady-state transient to converge efficiently prior to restarting the simulation with a more computationally intensive CFD model. In this scenario, the input below would not be present in the stand-alone model, but would be present in the restart input.
NCFDCV
1406
Number of Compressible Volumes that will be represented by an external CFD model.
0 ≤ NCFDCV
≤ 4
ICFDCV (I)
1407-1410
Compressible Volume for which an external CFD model will be provided.
0 < ICFDCV
(I) ≤ NCV
NULLCFD
1411
CFD coupling treatment during Null Transients.
When scaled-time coupling is used, long null transients in SAS4A/SASSYS‑1 will be projected to the external CFD models as shorter transients to help minimize CFD overhead during the null transient. Specifically, the CFD time steps will be smaller than or equal to the null transient time steps in SAS4A/SASSYS‑1 according to the relation
ICFDDBG
1412
Debug flag for CV to CFD coupling.
The complete history of data transferred from SAS4A/SASSYS‑1 to an external CFD model is always saved to a separate file. This flag adds additional debugging information to the normal output file.
End of External CFD Coupling for Compressible Volumes
ThickWallTableID
1414
Table ID for the thick-walled CV input. A description of the thick-walled input can be found in here
iPHXPRP
1415-1422
iPHXTID
1423-1430
Function ID for the inlet temperature boundary condition of the secondary element in the Kth HX. Only applicable to a primary heat exchanger.
iPHXWID
1431-1438
Function ID for the mass flow rate boundary condition of the secondary element in the Kth HX. Only applicable to a primary heat exchanger.
IDRVACSTin
1439
IDRVACSKin
1440
SegLossCoefTableID
1441
Table ID referencing segment inlet anisotropic Re-dependent loss coefficient data.
An example table can be found here.
EllLossCoefTableID
1442
Table ID referencing element outlet anisotropic Re-dependent loss coefficient data.
An example table can be found here.
iHXZID
1443-1446
NONE
1447-1462
Not currently used.
iSGZID
1451-1462
NONE
1463-1474
Not currently used.
IBL3DM
1477-1600
Not currently used.
Variable |
Location |
Description |
---|---|---|
NBINOT |
891 |
The number of IBINOT entries for the binary output file. If NBINOT=0, no PRIMAR4.dat output will be generated. |
IBINST |
892 |
Output every IBINST PRIMAR time steps, default=1 |
IBINOT(K), K= 1:NBINOT |
893-972 |
Identification of binary output. IBINOT is a 6-digit code where
There is a special case where INUM>5000, in which case INUM-5000 is the starting value for a range of subscripts and the next INUM is the last value in that range. Examples: 240006:
10015:
245001 08:
|
The notation for the subscripts in Table 2.8.5 is as follows:
ISGL = liquid segment
ISGG = gas segment
IELL = liquid element
ICH = channel
ICV = compressible volume
IDHX = air dump heat exchanger
INOD = node
ITGP = temperature group
IPMP = pump
K, J = context specific
L = 1 for inlet, 2 for outlet
IBNTYP |
INUM |
Description |
Variable |
---|---|---|---|
1 |
ISGL |
flow, liquid segment |
FLOSL2(ISGL) |
2 |
ISGG |
flow, gas segment |
FLOSG4(ISGLG) |
3 |
ICH |
estimated channel inlet |
CHFLO2(1,ICH) |
4 |
ICH |
estimated channel outlet flow |
CHFLO2(2,ICH) |
5 |
L |
estimated core flow |
CORFLE(L) |
6 |
L |
estimated core flow times temperature |
CORFTE(L) |
7 |
L |
actual integrated channel flow |
CORCHF(L) |
8 |
L |
channel flow times temperature |
CORFLT(L) |
9 |
ICH+100*(L-1) |
actual channel flow, beginning of step |
FLOCH1(L,ICH) |
10 |
ICH+100*(L-1) |
coefficients used to estimate the |
C0FLCH(L,ICH) |
11 |
ICH+100*(L-1) |
core flow for the next step |
C1FLCH(L,ICH) |
12 |
ICH+100*(L-1) |
C2FLCH(L,ICH) |
|
13 |
ICH+100*(L-1) |
C3FLCH(L,ICH) |
|
14 |
ICH+100*(L-1) |
subassembly inlet or outlet temperature |
TEXPEL(L,ICH) |
15 |
ICH+100*(L-1) |
energy of vapor condensing in inlet or outlet plenum |
ENVAPR(L,ICH) |
16 |
ICV |
liquid pressure for compressible volume ICV |
PRESL2(ICV) |
17 |
ICV |
gas pressure |
PRESG2(ICV) |
18 |
IPMP |
pump head for pump IPMP |
HEADP2(IPMP) |
19 |
ICV |
cover gas interface height |
ZINTR2(ICV) |
20 |
ICV |
gas volume |
VOLGC2(ICV) |
21 |
ICV |
total volume, liquid+gas |
VOLLGC(ICV) |
22 |
ICV |
liquid mass |
XLQMS2(ICV) |
23 |
ICV |
gas mass |
GASMS2(ICV) |
24 |
ICV |
liquid temperature |
TLQCV2(ICV) |
25 |
ICV |
liquid density |
DNSCV2(ICV) |
26 |
ICV |
wall temperature |
TWLCV2(ICV) |
27 |
ICV |
gas temperature |
TGASC2(ICV) |
28 |
ISGL+100*(L-1) |
liquid segment inlet or outlet temperature |
TSLIN2(L,ISGL) |
29 |
IELL |
gravity head for element IELL |
GRAVHD(IELL) |
30 |
IELL+400*(L-1) |
liquid element temperature |
TELEM(L,IELL) |
31 |
ITGP |
fraction of a node traversed by Lagrangian slugs In temperature group ITGP |
FRNDF2(ITGP) |
32 |
INOD |
liquid temperature, node INOD |
TLNOD2(INOD) |
33 |
INOD |
wall temperature |
TWNOD2(INOD) |
34 |
– |
outlet plenum density |
DLHOT |
35 |
– |
inlet plenum density |
DLCOLD |
36 |
ICH |
inlet temperature |
TINVAL(ICH) |
37 |
– |
outlet plenum pressure at beginning of time step |
PXT0 |
38 |
– |
time derivative of outlet plenum pressure |
DPXDT |
39 |
IPMP |
pump speed |
PSPED2(IPMP) |
40 |
– |
time derivative of inlet plenum pressure |
DPINDT |
41 |
– |
inlet plenum pressure at beginning of time step |
PIN |
42 |
Not used |
||
43 |
Not used |
||
44 |
Estimated boiling time |
BOILTM |
|
45 |
– |
next PRIMAR step size |
DTPNXT |
46 |
ICH |
coolant re-entry temperature |
TUPLVL(ICH) |
47 |
Not used |
||
48 |
L |
accumulated error in plenum mass |
DMSSUM |
49 |
L |
accumulated error in plenum mass times temperature |
DMTSUM |
50 |
INOD |
temperature of sink for component-to-component heat transfer |
TSNKND(INOD) |
51 |
INOD |
heat transfer coefficient for component-to-component heat transfer |
HSNKND(INOD) |
52 |
ICV |
temperature of sink for component-to-component heat transfer |
TSNKCV(ICV) |
53 |
ICV |
heat transfer coefficient for component-to-component heat transfer |
HSNKCV(ICV) |
54 |
ICV |
component-to-component heat transfer rate from compressible volume ICV |
QSNKCV(ICV) |
55 |
– |
RVACS heat removal rate |
QRVACS |
56 |
K |
component-to-component heat transfer rate for path K |
QCPCP(K) |
57 |
– |
RVACS air flow rate |
WAIRV2 |
58 |
K |
RVACS temperature for node K |
TRVACS(K) |
59 |
K |
guard vessel temperature |
TW2RV2(K) |
60 |
K |
shell inner temperature |
TW3RV2(K) |
61 |
K |
shell outer temperature |
TW4RV2(K) |
62 |
K |
outer wall temperature |
TW5RV2(K) |
63 |
K |
temperature of air between guard vessel and shell |
TA1RV2(K) |
64 |
K |
temperature of air between shell and outer wall |
TA2RV2(K) |
65 |
IPMP |
pump torque for pump IPMP |
TQMB3(IPMP) |
66 |
– |
Net reactivity |
REANET |
67 |
– |
reactivity from external function (PREA) |
REAPRO |
68 |
– |
reactivity from CRDL expansion and scram reactivity |
REASCR |
69 |
– |
Doppler reactivity feedback |
READOP |
70 |
– |
Fuel axial expansion reactivity feedback |
READEN |
71 |
– |
Radial expansion reactivity feedback |
REAREX |
72 |
– |
Coolant voiding reactivity feedback |
REACOL |
73 |
– |
Fuel relocation reactivity feedback |
REAFUL |
74 |
– |
Clad relocation reactivity feedback |
REACLD |
75 |
J |
Advanced user option for channel dependent reactivity feedback
|
REAICH(J) |
76 |
J |
Normalized decay power for region J |
POWDKH(J) |
77 |
IDHX |
Heat removal rate for ADHX IDHX |
QQ(IDHX) |
78 |
IDHX |
Air flow rate for ADHX IDHX |
WAIR(IDHX) |
79 |
IDHX |
Air outlet temperature for ADHX IDHX |
TAIROT(IDHX) |
80 |
IELL |
Pressure drop in element IELL, excludes gravity head |
DPRSEL(IELL) |
81 |
IPMP |
Voltage in EM pump IPMP |
EMVOLT(IPMP) |
82 |
IPMP |
Frequency in EM pump IPMP |
EMFREQ(IPMP) |
83 |
IPMP |
Slip in EM pump IPMP |
EMSLIP(IPMP) |
84 |
IPMP |
Current in EM pump IPMP |
EMCURR(IPMP) |
85 |
IPMP |
Phase in EM pump IPMP |
EMPHAS(IPMP) |
86 |
IPMP |
Coolant Heat Generation Rate in EM pump IPMP |
EMPCHR(IPMP) |
87 |
IPMP |
Wall Heat Generation Rate in EM pump IPMP |
EMPWHR(IPMP) |
88 |
iEll |
Direct coolant heat in element iEll. |
CLHEAT(iEll) |
89 |
iEll |
Direct wall heat in element iEll. If iEll is greater than 1000, the second wall of element iEll-1000 is identified. |
WLHEAT(iEll) |