You are on page 1of 66

Relap5

Intro

Department of Engineering Physics, Faculty of Engineering, Gadjah Mada University


(Study Programs of Engineering Physics & Nuclear Engineering)
Jl. Grafika 2, Yogyakarta 55281, (+62 274) 580882, http://www.tf.ugm.ac.id/
UGM Basic Building Blocks for Fluid Network

Volumes
Describe the physical
characteristics of flow
volume (A,V)
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Junctions
Connectors, also describe
characteristics of
connections
Department of Engineering Physics, Faculty of Engineering
Study Programs of Engineering Physics & Nuclear Engineering

UGM

direction
Face 6
X Volume Coordinate

Face 3
z

Face 1
x

y
Face 2
Volume Face Numbers

Face 4

Face 5
UGM Volume Orientation

Azimuthal Angle 0 or 360o Azimuthal Angle -180o


Inclination angle 0o Inclination angle 0o
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Azimuthal Angle 0 or 360o Azimuthal Angle -180o


Inclination angle 30o Inclination angle 30o

Azimuthal Angle 0 or 360o Azimuthal Angle -180o


Inclination angle -30o Inclination angle -30o
UGM Specific arrangements of volumes, junctions, and
models can be defined using components
• Single volume - basic building block for hydro system
• Single junction - basic connection for hydro system
• Pipe
o String of volumes with interior connecting junctions
Study Programs of Engineering Physics & Nuclear Engineering

• Annulus
Department of Engineering Physics, Faculty of Engineering

o Pipe with special flow regime considerations

• Branch
o One volume and none up to nine junctions

• Valve
o Single junction plus models for several valve types

• Pump
o One volume, two junctions plus pump models
Specific arrangements of volumes and junctions
UGM
can be defined using components
• Pipe or Annulus
o String of volumes with interior connecting junctions with

different options for flow models


o Used for 1D pipes or channels in 2D/3D flow volumes
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Volumes within a pipe or


annulus can be different
sizes and orientations
Specific arrangements of volumes and junctions
UGM
can be defined using components

• Branch
o One volume and none up to nine junctions

o Used to model a plenum or mixing volumes


Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering
Department of Engineering Physics, Faculty of Engineering
Study Programs of Engineering Physics & Nuclear Engineering

UGM

system.
are needed

hydrodynamic
enter or leave a
wherever flow can
Boundary conditions
Air

Water
UGM
Boundary conditions are defined using
time dependent components
• Time dependent volume used wherever flow can enter or
leave a hydrodynamic system.
o A time dependent volume must be connected to

each face where flow can enter or leave the


Study Programs of Engineering Physics & Nuclear Engineering

hydrodynamic system.
Department of Engineering Physics, Faculty of Engineering

• Time dependent volume defines pressure and temperature of fluid


that could enter system (and include fraction of liquid, vapor, or gas if
necessary)
• Time dependent junctions can be used if flow rate or flow
velocities are known
o Time dependent junctions always associated with time dependent
volume.
UGM
Components can
be used to build
complex flow
systems
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Component Color
Time dependent volume
Single volume
Branch
Pipe
x Single junction
Valve x
UGM RELAP5 INPUT STRUCTURE

• Input types are identified by unique numbers


starting in column 1
o Order of input lines can be arbitrary
• Last occurrence of line replacing previous duplicates
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

• Lines are limited to 96 characters, first 80 used


o Multiple fields separated by blank or comma
• Additional blanks are ignored
• Integer, real (floating point), or alphanumeric allowed
– Allowable real format - 12.45, +12.45, 0.1245+2, 1.245+1, 1.245E 1,
1.245D+1

• Alphanumeric names must be in lower case (even


though manual may show in upper case)!
UGM Simple pipe problem
• 25 foot long vertical pipe
• 1 sq. ft. flow area
• Water
• Sink pressure - 50. Psia
Study Programs of Engineering Physics & Nuclear Engineering


Department of Engineering Physics, Faculty of Engineering

Source pressure - 150 Psia


• Temperature - 120 o F
UGM Developing the input model for simple pipe
• Sketch hydrodynamic nodalization diagram
o Select type of component to model system
• Assign unique 3 digit number to identify each component
– Code automatically assigns internal volume and junction numbers for
each component
Study Programs of Engineering Physics & Nuclear Engineering

• Define boundary conditions using time dependent


Department of Engineering Physics, Faculty of Engineering

volumes

Nodalization diagram
UGM Components that could be used

110
Component RELAP Name TMDPVOL
120
Single Volume snglvol SNGLJUN
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Single Junction sngljun


Pipe
Pipe pipe 125

Time Dependent Volume tmdpvol

Time Dependent Junction tmdpjun SNGLJUN


127
TMDPVOL
130
UGM Components and nodalization selected

Pipe divided into 5 internal 110


volumes – code assigned internal tmdpvol
volume numbers 120
sngljun
•12501
Study Programs of Engineering Physics & Nuclear Engineering

•12502
Department of Engineering Physics, Faculty of Engineering

•12503
•12504 pipe
125
•12505

Inlet of pipe assumed to be on top


(12501 on top)
sngljun
Junction arrow directions define 127
tmdpvol
assumed flow direction 130
•Negative flows will be up
UGM
Data needed for each volume
Data Needed Value
110
Area (2 of 3) 1.0 ft2 tmdpvol
120
Length (2 of 3) 5.0 ft -> (25/5) sngljun

Volume (2 of 3) Default
Study Programs of Engineering Physics & Nuclear Engineering

125 pipe
Department of Engineering Physics, Faculty of Engineering

Inclination angle -90 degrees

Elevation change -5.0 ft

Wall roughness Default sngljun


127
Hydraulic diameter Default
130 tmdpvol
Model flags Default

Initial conditions (pressure, temperature) 100 psi, 90 oF


UGM

Single junctions
• Information needed for junction card 110
tmdpvol
o From volume 120
sngljun
o To volume

o Flow area

o Forward and reverse loss coefficients pipe


Study Programs of Engineering Physics & Nuclear Engineering

125
o Models to be used
Department of Engineering Physics, Faculty of Engineering

o Initial liquid and vapor velocities or mass flows

• Models that can be selected include


o counter current flow sngljun
127
o horizontal stratification
130
o choking

o area changes - (smooth or abrupt) tmdpvol


o momentum equation needed

o crossflow
UGM
Data needed for each junction
Data Needed Junction 120/127 Pipe Junctions

From volume 11001/12505 Default


110
To volume 12501/13001 Default tmdpvol
120
sngljun
Flow area Default Default
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Forward/Reverse Default Default


pipe
loss coefficients 125

Model flags Default Default

Initial conditions 0.0/0.0 lb/s 0.0/0.0 lb/s sngljun


(liquid flowrate, vapor 127
flowrate) 130

tmdpvol
UGM RELAP Input – (Source volume - 110)
*Card No. Name Type (of component)
1100000 "source" tmdpvol
* fa l vol azi vert dz rough hyd d flags
1100101 1.0 1.0 0.0 0.0 -90.0 -1.0 0.0 0.0 0000000
Study Programs of Engineering Physics & Nuclear Engineering

*Time dependent data to be pressure and temperature


Department of Engineering Physics, Faculty of Engineering

1100200 003 110


tmdpvol
120
* time press temp sngljun
1100201 0.0 150.0 120.0
125 pipe

sngljun
127
Input description
130 tmdpvol
UGM RELAP Input – (Sink volume - 130)

*Card No. Name Type (of component)


1300000 "source" tmdpvol
* fa l vol azi vert dz rough hyd d flags
1300101 1.0 1.0 0.0 0.0 -90.0 -1.0 0.0 0.0 0000000
Study Programs of Engineering Physics & Nuclear Engineering

*Time dependent data to be pressure and temperature


Department of Engineering Physics, Faculty of Engineering

1300200 003 110


tmdpvol
* time press temp 120
sngljun
1300201 0.0 50.0 90.0
125 pipe

sngljun
127
130 tmdpvol
UGM RELAP Input – (Pipe component - 125)

*Card No. Name Type (of component)


1250000 "stmpipe" pipe
* no. of vols
Volume number uses sequential
1250001 5
Study Programs of Engineering Physics & Nuclear Engineering

expansion, ie 5 implies that the flow


Department of Engineering Physics, Faculty of Engineering

* fa vol no. area of 1.0 applies to volume 1 - 5

1250101 1.0 5

*Alternative example with changing flow area


1250101 1.0 3 * volume 1 – 3 are 1.0
1250102 2.0 5 * volume 4 – 5 are 2.0
UGM RELAP Input – (Pipe component - 125)
110
tmdpvol
120
*Card No. length vol no. sngljun

1250301 5.0 5
125 pipe
* az. ang vol no
1250501 0.0 5
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

sngljun
* vt. Ang vol no 127

1250601 -90.0 5 130 tmdpvol


Note that -90.0 degrees means that the
inlet is at the top so internal volume
numbers will be 12501 to 12505
starting from the top

Note that elevation change is not


* rough hyd vol no. input since this is an option and is
1250801 0.0 0.0 5 then computed from the angles and
lengths for each internal vol.
UGM RELAP Input – (Pipe component - 125)

*Card No. f loss r loss jun. no


Note that there is one less junction
1250901 0.0 0.0 4 since they connect internal volumes.
* vol flag vol no Junction number uses sequential
expansion, ie 4 implies that data
1251001 0000000 5 applies to junctions 1 - 4
Study Programs of Engineering Physics & Nuclear Engineering

* jun flag jun. no


Department of Engineering Physics, Faculty of Engineering

110
1251101 0000000 4 tmdpvol
120
sngljun
* flag pres temp vol. no.
1251201 3 100.0 90.0 0.0 0.0 0.0 5
125 pipe
* flag
1251300 0
sngljun
* liq. vel vap. vel int. vel jun no. 127
tmdpvol
1251301 0.0 0.0 0.0 4 130
UGM RELAP Input – (Source/Sink junctions - 120/127)
110
tmdpvol
120
sngljun

*Card No. Name Type (of component) 125 pipe


1200000 "sngljuni" sngljun
* from vol to vol fa f. loss r. loss flag
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

1200101 110010002 125010001 0.0 0.0 0.0 0000100 sngljun


127
tmdpvol
* flag liq mass flow vap mass flow inter. veloc. 130
1200201 001 0.0 0.0 0.0
*Card No. Name Type (of component)
1270000 "sngljuno” sngljun
* from vol to vol fa f. loss r. loss flag
1270101 125050002 130010001 0.0 0.0 0.0 0000100
* flag liq mass flow vap mass flow inter. veloc.
1270201 001 0.0 0.0 0.0
Department of Engineering Physics, Faculty of Engineering
Study Programs of Engineering Physics & Nuclear Engineering

UGM

Other input required


UGM Typical input file includes
• Title
• Control options
• Time step options
• Hydrodynamic component data
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

.
.
.

• Minor edit request data


• Plot request data
• Terminator line
INPUT TYPE NUMBERS
UGM
(Starting in Column 1)
• Control options (100-199)
• Time step options (200-299)
• Minor edits (301-399)
• Plot requests (20300XXY)
Study Programs of Engineering Physics & Nuclear Engineering

• Hydrodynamic components (CCCXXNN)


Department of Engineering Physics, Faculty of Engineering

• Title (=)
• Comments (*) – Comments can be inserted at
columns after data
• End input (.)
UGM RELAP Input – (Other)

*Title
= Simple three component system
*Card no. Run options
Typical option flags Time step control
100 new transnt
3 Semi-implicit
Study Programs of Engineering Physics & Nuclear Engineering

* Input units Output units


Department of Engineering Physics, Faculty of Engineering

11 Nearly implicit
102 british british 39 Automatic
* CPU limits
105 10.0 40.0
* End time Min. time Max. time step Option Plot, edit, restart freq.
201 20.0 1.0e-6 0.05 3 1 50 2000
* var. name var. parameter axis
20300011 mflowj 120000000 1
20300012 mflowj 127000000 1
Department of Engineering Physics, Faculty of Engineering
Study Programs of Engineering Physics & Nuclear Engineering

UGM

*
*
*

. *End of input
*End of input must be flagged
*Hydrodynamic input (previously defined)
RELAP Input – (Other)
Department of Engineering Physics, Faculty of Engineering
Study Programs of Engineering Physics & Nuclear Engineering

UGM

• Finding and correcting input errors


• Converting output data into EXCEL format
More on running RELAP5
UGM Simple pipe problem – simpl1.i
• 25 foot long vertical pipe
• 1 sq. ft. flow area
• Water
• Sink pressure - 50. Psia
Study Programs of Engineering Physics & Nuclear Engineering


Department of Engineering Physics, Faculty of Engineering

Source pressure - 150 Psia


• Temperature - 120 o F
UGM

• 25 foot long vertical pipe


• 1 sq. ft. flow area
• Water
• Sink pressure - 50. Psia
• Source pressure - 150 Psia
• Temperature - 120 o F 110
TMDPVOL
120
SNGLJUN
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Heat Structure representing


Pipe
the wall of the pipe 125

SNGLJUN
127
TMDPVOL
130
Right Boundary
UGM

110
TMDPVOL
120
SNGLJUN
= Simple three component system
100 new transnt
102 british british Pipe
105 10.0 40.0 200.0 125
Study Programs of Engineering Physics & Nuclear Engineering

*110 air
Department of Engineering Physics, Faculty of Engineering

*115 1.0
*
201 20.0 1.0e-6 0.05 3 1 50 2000 SNGLJUN
* 127
20300011 mflowj 120000000 1 TMDPVOL
130
20300012 mflowj 127000000 1
*
1100000 "source" tmdpvol
* fa l vol azi vert dz rough hyd d flags
1100101 1.0 1.0 0.0 0.0 -90.0 -1.0 0.0 0.0 0000000
UGM

110
TMDPVOL
120
SNGLJUN

Pipe
125
*Time dependent data to be pressure
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

*and temperature
1100200 003
* time press temp
1100201 0.0 150.0 120.0 SNGLJUN
* 127
TMDPVOL
1200000 "sngljuni" sngljun 130
* from vol to vol fa f. loss r. loss flag
1200101 110010002 125010001 0.0 0.0 0.0 0000100
* flag liq mass flow vap mass flow inter. veloc.
1200201 1 0.0 0.0 0.0
*
UGM

1250000 "stmpipe" pipe 110


* no. of vols TMDPVOL
1250001 5 120
* fa vol no. SNGLJUN
1250101 1.0 5
* l vol no.
1250301 5.0 5 Pipe
* az. ang vol no 125
Study Programs of Engineering Physics & Nuclear Engineering

1250501 0.0 5
Department of Engineering Physics, Faculty of Engineering

* vt. ang vol no


1250601 -90.0 5
* rough hyd vol no. SNGLJUN
1250801 0.0 0.0 5 127
* f loss r loss jun. no. TMDPVOL
130
1250901 0.0 0.0 4
* vol flag vol no
1251001 0000000 5
110
UGM
TMDPVOL
120
SNGLJUN
* jun flag jun. no
1251101 0000000 4
* flag pres temp vol. no. Pipe
1251201 3 100.0 90.0 0.0 0.0 0.0 5 125
* flag
1251300 0
* liq. vel vap. vel int. vel jun no.
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

1251301 0.0 0.0 0.0 4 SNGLJUN


* 127
1270000 "sngljuno" sngljun TMDPVOL
130
* from vol to vol fa f. loss r. loss flag
1270101 125050002 130010001 0.0 0.0 0.0 0000100
* flag liq mass flow vap mass flow inter. veloc.
1270201 1 0.0 0.0 0.0
*
1300000 "sink" tmdpvol
* fa l vol azi vert dz rough hyd d flags
1300101 1.0 1.0 0.0 0.0 -90.0 -1.0 0.0 0.0 0000000
UGM

*Time dependent data to be pressure and temperature


1300200 3
110
* time press temp
TMDPVOL
1300201 0.0 50.0 90.0 120
. End of input. SNGLJUN

Pipe
Study Programs of Engineering Physics & Nuclear Engineering

125
Department of Engineering Physics, Faculty of Engineering

Thicknes Thicknes SNGLJUN


Flow area Radius s s Outer Radius Formulas 127
A r t ro TMDPVOL
ft2 ft in ft A = πr2 130
0.5641 0.0833 0.64752291
1 9 1 33 7 r = (A/π)1/2
[ft] = [in] / 12
ro = r + t
Department of Engineering Physics, Faculty of Engineering
Study Programs of Engineering Physics & Nuclear Engineering

UGM

Code will scan and


identify input errors
Finding and correcting input errors
UGM Finding and correcting input errors
Output file will show
input errors
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Search for inp-chk to move cursor to end of input


listing

Search for ******** for all error messages


UGM Converting output data to EXCEL

• Strip run to strip out selected data (Sample input file)


o Select data from minor edit name list and insert into strip
input file
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

o Alphanumeric names must be in lower case!


o Run will create text strip file called stripf
• Run CONVERTcsv to convert strip file to Excel
compatible file
UGM Piping Network – User Training Exercise - 1

• Run simple pipe problem – Simple_Pipe_1.i


• Revise simple pipe problem to learn about options
o Change boundary conditions of pressure and temperature

o Change geometry
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

• Orientation
• Volume and junction areas
• Loss coefficients
• Volume and junction modeling options
• Copy results into EXCEL to show variations due to changes
UGM Adding features to simple pipe problem
• Adding pipe wall for heat losses
o Building and using heat structures
• Adding valves to control flow
o Valve types
Study Programs of Engineering Physics & Nuclear Engineering

o Trips
Department of Engineering Physics, Faculty of Engineering

• Adding control systems to measure and control flow


Department of Engineering Physics, Faculty of Engineering
Study Programs of Engineering Physics & Nuclear Engineering

UGM

• Add 1.0 inch pipe wall


• Initial temperatures is 50.0 deg F
Adding wall and heat losses for simple pipe problem
UGM Adding wall and heat losses for simple pipe problem

110
TMDPVOL
120
SNGLJUN
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Heat Structure representing


Pipe
the wall of the pipe 125

SNGLJUN
127
TMDPVOL
130
Right Boundary
Department of Engineering Physics, Faculty of Engineering
Study Programs of Engineering Physics & Nuclear Engineering

UGM

Flow Channel
Pipe Component
Heat Structures

Solid Structure

are represented
Walls of the Pipe

by a heat structure
UGM Heat structure input requirements
• Dimensions
• Material type
• Thermal properties as functions of temp.
• Heater power and distribution (if any)
Study Programs of Engineering Physics & Nuclear Engineering


Department of Engineering Physics, Faculty of Engineering

Surface roughness (for hydro)


• Initial temperatures
UGM
Data needed for each volume
Data Needed Value

Structure number 125

Wall thickness 1.0 in

Number of mesh points in wall 5


Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Height of each structure 5.0 ft -> (25/5)

Wall roughness Default

Power generation 0.0

Model flags Default

Initial conditions (temperature) 50 oF


Department of Engineering Physics, Faculty of Engineering
Study Programs of Engineering Physics & Nuclear Engineering

UGM
Thermal Property Data

Data
UGM Heat Structure Input
• Card structure 1CCCGXNN
o CCC is the structure number
o G is the geometry number (no-zero if more than one
associated with a flow channel)
o X is the card type
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

o NN is the card number

More detailed tutorial


UGM RELAP Input – (Heat structure - 125)

*Card No. No of vol No. of Mesh Geom ss flag inner radius


11250000 5 5 2 0 0.5642
* Flag Mesh Format
11250100 0 1 * Number of intervals specified, right coordinate in ft
Study Programs of Engineering Physics & Nuclear Engineering

* No. of intervals outer radius


Department of Engineering Physics, Faculty of Engineering

11250101 4 0.647522917
* Comp. No. Interval No.
11250201 5 4
* Heat source Interval No.
11250301 0.0 4
* Init. Temp Mesh No.
11250401 50.0 5
Input description
UGM RELAP Input – (Heat structure - 125)

*Inner or left boundary condition – Convective heat transfer (BC type = 1)


*Card No. Fluid vol no Fluid vol inc. BC type SA type Height HS no
11250501 125010000 010000 1 1 5.0 5
*Right boundary condition – Perfectly insulated (BC type = 0)
Study Programs of Engineering Physics & Nuclear Engineering

*Card No. Fluid vol no Fluid vol inc. BC type SA type Height HS no
Department of Engineering Physics, Faculty of Engineering

11250601 0 0 0 1 5.0 5
*Heat source – No heat source in wall (Source type = 0)
* Source type Source factors HS no
11250701 0 0 0 0 5
*Additional input for convective heat transfer on inner/left boundary
* HD Convective heat transfer factors HS no
11250801 0.0 10.0 10.0 0.0 0.0 0.0 0.0 1.0 5
UGM RELAP Input – (Structure thermal properties)

* stainless steel
20100500 tbl/fctn 1 1 * stainless steel
*
* temperature thermal conductivity
Study Programs of Engineering Physics & Nuclear Engineering

20100501 32.0 2.0833e-3


Department of Engineering Physics, Faculty of Engineering

20100502 1700.0 4.0294e-3


*
* temperature heat capacity
20100551 32.0 57.114
20100552 300.0 59.118
. . .
20100558 1000.0 69.138
20100559 2000.0 80.160
UGM Piping Network – User Training Exercise - 2

• Run simple pipe problem – Simple_Pipe_2.i


• Revise simple pipe problem to learn about options
o Change initial temperatures of wall

o Change fluid temperatures


Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

o Change heat losses on outside of pipe wall to constant

temperature of 50 oF
• Prepare Power Point presentation explaining results
UGM Adding valves to control flow

110
Trip valve to replace tmdpvol
Junction 120 120
valve
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

•Valve opens and


pipe
closes instantly 125

with trip action

sngljun
•Valve open area is 127
tmdpvol
0.6 ft2 130
UGM Valve Facts
• A valve is a junction with a variable flow area
• Input requirements for a valve are the same as for a
hydrodynamic junction
• Valve type modeled must be specified in the input
• Recommendations and restrictions for each valve type
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

in manuals
UGM Trip Valves

• On/off switch control by a trip


o Trip true, valve instantaneously fully open
o Trip false, valve instantaneously fully closed
Trip is a general RELAP function – specific design by user
Study Programs of Engineering Physics & Nuclear Engineering

o
Department of Engineering Physics, Faculty of Engineering

o Lags hydrodynamics by one timestep

More on valves

More on trips
UGM RELAP Input – (Trip valve - 120)

*Card No. Name Type (of component)


1200000 'trpvlv' valve
* from vol to vol fa f. loss r. loss flag
1200101 110010002 125010001 0.6 0.0 0.0 0000100
Study Programs of Engineering Physics & Nuclear Engineering

* flag liq mass flow vap mass flow inter. veloc.


Department of Engineering Physics, Faculty of Engineering

1200201 001 0.0 0.0 0.0


* Valve type
1270300 trpvlv
* Trip no. controlling valve
1270301 501 *Valve open when trip is true, closed when false
*Variable trip 501: If time great than 1 then set trip to true. Latch true
*Card No. Var. Name Relationship Var. Name Additive Constant Latch
501 time,0 ge null,0 1.0 l
UGM Piping Network – User Training Exercise - 3

• Run simple pipe problem – Simple_Pipe_3.i


• Revise simple pipe problem to learn about options
o Change trip logic to change opening and closing of valve

o Try different valves


Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

• Prepare Power Point presentation explaining results


UGM Adding control systems to measure and
control flow

110
Control system to tmdpvol
integrate flow through 120
valve
Junction 127
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

pipe
125

sngljun
127
tmdpvol
130
UGM RELAP Input – (Integration control - 001)

*Card No. Name Type (of component) Scaling Init. Cnd. IC Flag
20500100 'intg.flo' integral 1.0 0.0 0
* Variable (to be integrated)
20500101 mflowj 127000000
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Creates new variable called cntrlvar 001


Department of Engineering Physics, Faculty of Engineering
Study Programs of Engineering Physics & Nuclear Engineering

UGM

• Run simple pipe problem – Simple_Pipe_4.i


Piping Network – User Training Exercise - 4
UGM Adding control systems to measure and
control flow

110
Modify valve 120 to tmdpvol
adjust flow to set point 120
valve
of 1500 kg/s
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

Output units set to


pipe
si 125

Steamctl used for


sngljun
control servo valve 127
tmdpvol
position to control 130
flow
UGM RELAP Input – (Controlling flow)

*Units of steam controller must be in SI


* Input units Output units
102 british si
*Change valve to servo valve
Study Programs of Engineering Physics & Nuclear Engineering

1200300 srvvlv
Department of Engineering Physics, Faculty of Engineering

1200301 501
*Valve opening from 0.0 to 1.0 will vary loss coefficients from 9000 to 0.0
*to reduce flow smoothly
* Valve opening Forward Loss Coef. Reverse Loss Coef.
1200401 0.0,9000.0,9000.0 1.0,0.0,0.0
UGM RELAP Input – (Controlling flow)

*Using constant controller to set set point for flow in kg/s


* Name Type Constant
20550000 flowset constant 1500.0
*Card No. Name Type Scaling Init. Cnd. IC Flag Limit flag and limits
Study Programs of Engineering Physics & Nuclear Engineering

20550100 flowctl steamctl 1.0 0.5 0 3 0.0 1.0


Department of Engineering Physics, Faculty of Engineering

* Set point Flow Scaling Control contants


20550101 cntrlvar,500 mflowj,120000000 1500.0 10.0 10.0
UGM Piping Network – User Training Exercise - 5

• Run simple pipe problem – Simple_Pipe_5.i


• Adjust set point for flow
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering
UGM Preparation for group exercise
• Prepare brief summary of results
• Prepare and save representative graphs for results in
Quickplot or EXCEL
Study Programs of Engineering Physics & Nuclear Engineering
Department of Engineering Physics, Faculty of Engineering

You might also like