0% found this document useful (0 votes)
4 views50 pages

dynsim-training-tutorials-1-4

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1/ 50

DYNSIM Training Tutorials

DYNSIM
5.1

DYNSIM Tutorials Company Confidential 1


Table of Contents

TUTORIAL 1: Reverse Flow 4


TUTORIAL 2: Drum Level Control 22
TUTORIAL 3: Drum Scenarios 36
TUTORIAL 4: Flowsheet 46
Modification

2 Company Confidential DYNSIM Tutorials


TUTORIAL
1

DYNSIM Tutorials Company Confidential 3


TUTORIAL 1: Reverse Flow

Objective: Illustrate the configuration of a simple flowsheet to examine reverse flow across a
valve.

Step 1 Launch Dynsim


 Click on Start\Programs\SIMSCI\DSS50, and select Dynsim 5.0, which brings up the
Dynsim splash screen.
 Use SimSci for both the username and password and launch the application by clicking
on the Login button.

The Dynsim interface incorporates many of the elements found in the PRO/II GUI, and as in a
PRO/II simulation, the steps to setup a simulation are as follows:

 Define the Units of Measure (UOM)


 Select components and define component slates
 Define a Thermodynamic method and other default methods
 Lay down and define the models and control blocks
 Connect the blocks using appropriate streams
 Run the simulation and monitor the dynamic behavior of the process

This example demonstrates how to model reverse flow through a valve.

Step 2 Create New Simulation


 Click File and select New and Simulation. The New Simulation dialog box will appear
and prompt for a simulation name, use ReverseFlow as the simulation name and click
Create. The simulation will be created in a default user directory, as follows:

4 Company Confidential DYNSIM Tutorials


C:\SIMSCI\DSS50\User\ReverseFlow.s4m.

Tip: All Dynsim simulation files are saved in a zipped format using *.s4m extension. To unzip
the file rename the extension to .zip and then open file using a compression utility such as
WinZip

 Click View\Change Toolbars\Engineer.

Note: There are four User Profile roles under Change Toolbars. Administrator role allows full
access to all Dynsim capabilities whereas Operator, Instructor, and Engineer roles have
different permissions use of the toolbar, e.g. an Engineer role can edit and modify a
simulation and an Operator role cannot. The Operator role is used for the Operator Training
Simulators (OTS) program use a single integrated modeling environment.

Step 3 Define the Units of Measure (UOM)

The UOM icon is denoted using a ruler icon. A standard set of predefined UOM lists are
available for use with Dynsim. To use a custom UOM, create a New UOM Slate and then
reference an existing UOM and then modify the units as needed.

For this example, using SI as the reference UOM and change Pressure units from kPa to
kPag.
 Click on , and the New Slate button and type EngSI as new UOM slate name, select
SI as new UOM base, and then click OK.

 Highlight the Pressure parameter, and double click kPa. It will open Change Unit-of-
Measure window
 Click Custom radio button, select the pressure new pressure unit as kPag, and click
Change. Note that check marks appear on the UOMs changed.

DYNSIM Tutorials Company Confidential 5


6 Company Confidential DYNSIM Tutorials
Step 4 Select Components and Define Component Slates
Select all the components needed for the entire simulation and then a create a components slate(s)
containing all or a subset of those components to improve the computational speed.
 Click on the component icon to define components and thermodynamics
methods for the simulation. Using the Library tab select the pure components by either
dragging the component from the library to the Selected Components column or by
typing the full name, alias, or the chemical formula in the Add Library Component cell
and clicking Add or Enter button.
 Add the following components Ethylene, Ethane, Propane, and IsoButane to the
Selected Components list.

DYNSIM Tutorials Company Confidential 7


The next step is to define the component slates.

Tip: A component slate contains all or a subset of the Selected Components list, e.g., in the case
of a cooling water stream there may only be one component i.e. water. As a result, when
Dynsim calculates, for example, the enthalpy of a particular stream at a particular time step,
it only needs to consider those components defined in the component slate resulting in
faster calculation speeds. This is important for large simulation models containing large
numbers of components.

 Click on the Slate tab and create a New Component Slate called PROCESS and click
Add. Multi select all components from the Selected Components list, Drag and drop
Ethane, Ethylene, Propane and IsoButane to the PROCESS Components Slate list.

8 Company Confidential DYNSIM Tutorials


Step 5 Define a Thermodynamic Method
The next step is to specify a thermodynamic method.

 Click on the Method tab and create a New Method Slate called SRK and click Add.
 Expand the Thermodynamic Data tree. Right click on Equilibrium, Enthalpy, Entropy
and Density and select Soave-Redlich-Kwong Equation of State for the property
method. For this simulation, the components selected consist of light hydrocarbons and
therefore an equation of state method such as SRK or PR is app opriate.

DYNSIM Tutorials Company Confidential 9


 Click on the Default tab and under Default Objects select PROCESS for Component
Slate and SRK for Method Slate and click OK to save and close the Components and
Thermodynamics window.

10 Company Confidential DYNSIM Tutorials


All subsequent models placed on flowsheet will use this default component slate and
thermodynamic methods.

Step 6 Lay Down Models


Create the Flowsheet by either using the Icon Palette or the Types tab, as follows:
 Select the Icon Palette icon. This palette appears on the main toolbar or
by clicking on the View menu and selecting it from there which displays a floating Icon
Palette window containing streams, models and controls

Tip: Alternatively, select the Types tab on the bottom left hand corner of the screen and contains
the same list of the model libraries that the Icon Palette contains. The Types tree also
includes graphical libraries for widgets, primitives, and references that are not on the Icon
Palette.

 From the Icon Palette, click to select a Source, move the mouse to flowsheet canvas, and
then click to drop it on the flowsheet. Do the same with a Valve and a Sink.
 Double click on the source icon or right click and select Data Entry to
bring up a Data Entry Window (DEW) to configure the source.

DYNSIM Tutorials Company Confidential 11


Note: The data entry window boxes are color-coded. Red: required data; Yellow: strongly
suggested optional data. If you override a Red, Yellow, or Green, the entry box will also
have no color. Once all of the red and yellow data is completed, the red on the tab will
change to a blue .

Note: If you select the Edit option, the Object Editor Viewer (OEV) pops-up. This window
contains a super set of all the parameters associated with this Model for advanced users.

 Enter the following data: Pressure to 3550 kPag, and Temperature to 395 K.
 Enter the component composition data: Ethylene to 3 kg-mol, Ethane to 2 kg-mol,
Propane to 4 kg-mol, and IsoButane to 2 kg-mol. Note: the molar composition will be
normalized to 1.
 Click the Thermo Tab and note that the Thermo method is SRK and the component slate
is Process.
 Click OK.

12 Company Confidential DYNSIM Tutorials


 Enter the following information for the Valve model, CV = 100

DYNSIM Tutorials Company Confidential 13


 Enter the following information for the Sink model, Pressure = 200 kPag.

14 Company Confidential DYNSIM Tutorials


Step 7 Connect the Units Using Appropriate Streams
 Next, connect the models using the Process Stream type. Note: there are other stream
types available in Dynsim as follows:

Stream Type Description

Process Stream Used for connecting models from the base equipment library and
represents compositional streams.

Heat Stream Used for connecting utility exchangers to models that can have a duty
associated with them, e.g., distillation column and separator etc.

Mechanical Stream Used for linking a mechanical drive to a model, e.g., a shaft linked to a
pump or compressor.

Electrical Stream Used for linking electrical models to process equipment, e.g., an
electrical bus connected to a motor.

Connectors Used for linking a signal variable to the input of a controller and the
output of a controller to a final control element, e.g., valve.

Note: Valid port locations are highlighted green.

DYNSIM Tutorials Company Confidential 15


Note: If a big arrow remains on the flowsheet like the figure above, this means that the stream
was not properly connected. Retry connecting the stream to the equipment.

Step 8 Start and Monitor the Dynamic Behavior


The flowsheet is ready to run, click the start button , to load and start the simulation in the
frozen state. To run the simulation, click on the Resume button .

Once the simulation up and running, test the dynamic behavior of the system as follows:

 Select the Flow Rate Indicator from the References library on the Types tab to monitor
the flow rate through the valve
 Drop the Flow Rate Indicator below the valve and enter the stream nam that needs to
be tracked, in this case S2. A green arrow denotes a positive flow rate in the direction
specified by the stream. A red arrow denotes reverse flow.

 Double click on the valve flowsheet icon to open the Valve faceplate and adjust the
valve position using the slider. Set the position to 100% open and notice that the Flow
Rate Indicator shows a positive flow rate in the direction of flow specified by the user
(green arrow).

16 Company Confidential DYNSIM Tutorials


To modify the boundary condition of the sink (i.e. pressure) without having to edit the parameter
in the Data Entry Window, drop a Slider onto the flowsheet and link it to sink pressure as
follows:

 Select a Slider from the Widgets library on the Types tab and drop it onto the flowsheet.
 Right click and select Draw Attributes. For Point Name type SNK1.PB, which is the
name of the Sink followed by the parameter we wish to control.
 The Min/Max ranges for the slider are set to 500 and 5000 kPa respectively, and the
orientation is set to vertical. Set the width and height to 100 and 300.

Before varying this parameter (Sink Pressure Boundary) remotely, change its designation from
STATIC to DYNAMIC.

 Highlight the Sink, right click and select Edit. This brings up the Object Editor
Viewer (OEV) interface
 Change the Point Class for the
parameter PB under the Boundary
Conditions to
DYNAMIC and click Apply and OK.
DYNSIM Tutorials Company Confidential 17
 Click LF button to load the changes.
 Click to resume running the simulation.
 Vary the pressure of the Sink by moving the slider.
 To display the exact value of the pressure at the sink, select a Point from the References
library on the Types tab, place it next to the Sink block, and enter SNK1.PB for the
reference variable.

Note: STATIC points are model parameters, which are normally fixed parameters for the
simulation and represent physical dimensions such as valve Cv, drum diameter, and so on
and cannot change during a simulation. DYNAMIC points are temperatures, pressures, and
flows that change during the simulation.

Step 9 Induce Reverse Flow in the Model


 Increase the pressure at SNK1 slowly by adjusting the position of the pointer on the
vertical slider on the flowsheet. As the pressure increases at the sink end, the flow rate
across the valve reduces and eventually the pressure at the sink end causes reverse flow.

 To customize the flowsheet graphics such as highlighting the slider, select Types\
Primitives\Rectangle and draw a rectangle around the slider then right click and select
Draw Attributes and choose a fill color. Double click on the fill color to customize the
colors
 Click OK to confirm the selection.
 To move the primitive objects, select the object first, move the mouse to the edge of
selected object, hold down the left button, and move the object.

18 Company Confidential DYNSIM Tutorials


DYNSIM Tutorials Company Confidential 19
 Select Start\Stop to shut down the simulation.
 Select File\Save to save the simulation.
 Select File\Close to close the simulation or File\Exit to close Dynsim. It is important to
save this file before you exit Dynsim, because it will be required in the next tutorial.

20 Company Confidential DYNSIM Tutorials


TUTORIAL 2

DYNSIM Tutorials Company Confidential 21


TUTORIAL 2: Drum Level Control

Objective: Illustrates how to setup a simple flowsheet with a very basic control scheme. At the
end of this section, the flowsheet should look similar to the image below, with a source feeding
into a flash drum and a PI controller to maintain the level in the drum at a fixed value by
adjusting the valve position.

Step 1 Launch Dynsim


We will start to build on the work already completed in Tutorial 1:

 Launch Dynsim, and type username and password as SimSci and SimSci.
 Click File\Open and select the previous simulation file ReverseFlow.s4m. to open the
simulation
 Click File\Save As …, and give a new name LevelControl and save the ile.

Step 2 Define Simulation

 Click the UOM icon and make sure to select EngSI UOM created in the
Tutorial 1. Close the UOM window by clicking OK.
 Click to open the Components and Thermodynamics window. Add new
components
Methane, Propane, and n-Butane under the Library Tab.
 Select the Slate Tab and create new slate called NATURALGAS, which contains
Methane, Ethane, Propane and n-Butane.
 Click the Method Tab; and select SRK thermodynamic slate created previously.

22 Company Confidential DYNSIM Tutorials


 Click the Default Tab; change the Component Slate from PROCESS to NATURALGAS
and keep the Method Slate as SRK and click OK.

Step 3 Change Flowsheet Canvas


 Select the Lasso key and draw a box around the primitive rectangle object.
Right click and select the Delete from the menu. Repeat the procedure to delete
Slide also.

 Click on the stream S2 to highlight it, then place your mouse pointer on the black square
that covers the connection between S2 and SNK1, Disconnect will appear. Click on the
square and drag the stream away from SNK1, and then disconnect it from SNK1.
 Move SNK1 to the top right hand corner of the flowsheet canvas.

DYNSIM Tutorials Company Confidential 23


Step 4 Lay Down Base Equipment Models
 Drop down the following new models on the flowsheet canvas.

Unit Name Attributes

Configuration = Vertical, Diameter = 1.5 m, Length = 3 m,


Thickness = 12.7 mm
Drum V1 Inlet port height = 0.01 m
Port Diameter = 100 mm
Source Initialization
Object = SRC1
Valve PV1 Cv = 75, Time to Open & Close = 5 sec

Valve LV1 Cv = 50, Time to Open & Close = 5 sec

Sink SNK2 Pressure = 100 kPag

 Connect the models using process streams as shown in the figure below:

24 Company Confidential DYNSIM Tutorials


Step 5 Configure Base Equipment Models
 Right click on the source SRC1 and select the Data Entry . Click on the Thermo
tab, change the Component Slate from Process to NaturalGas, and select External
phase as two phases.
 Click on the Basic tab and enter the following data

SRC1 Property Specification

Pressure 8,000 kPag


Temperature 300 K
Composition kg-mol
Methane 1.0
Ethane 0.5
Propane 0.3
n-Butane 0.1

 Click OK to save the modifications.


 Right click on the sink SNK1 and select the Data Entry . Reset the pressure to
100 kPag, and click OK.
 Right click on the valve XV1 and select the Data Entry . On the Thermo tab,
change the Component Slate to NaturalGas. On the Actuator tab, enter 5 seconds for the
time to both open and close the valve. On the Basic tab, check the box to Calculate
Outlet Properties option.
 Right click on the drum V1 and select the Data Entry . and enter the following
details

DYNSIM Tutorials Company Confidential 25


 On the Thermo tab, select SRK as the method slate and NaturalGas as the component
slate.
 On the Feeds tab, specify that S2 is the inlet stream with a Port Height of 0.01 m
and a Port Diameter of 100 mm.
 On the Initialization Tab, list the source SRC1 as the initialization object.
 Right click on the valve PV1 and select the Data Entry and enter the
following details:

PV1 Valve Parameter Valve


Valve Coefficient 75 Cv
Calculate Critical Flow Check
Critical flow Coefficient XT 0.7
Time to Open Valve 5 sec
Time to Close Valve 5 sec

Thermo Method SRK


Component Slate NaturalGas

 Right click on the sink SNK2 and select the Data Entry and set the boundary
pressure to 100 kPag
 Right click on the valve LV1 and select the Data Entry enter the following details:

LV1 Valve Parameter Valve


Valve Coefficient 50 Cv
Time to Open Valve 5 sec
Time to Close Valve 5 sec
Thermo Method Slate SRK
Component Slate NaturalGas

Step 6 Lay Down Controller Model


Add a level controller for the drum.

 Click the Types tab and the Controls Library and select a PID controller model. Lay it
down on the flowsheet canvas; name it LC1. Click OK.

26 Company Confidential DYNSIM Tutorials


 The Configure PID LC1 window pops-up. Select Level radio button and click OK

Step 7 Configure Connectors


The measured variable is the liquid level in the drum. The manipulated variable is the valve
position
.
 To make the connection, go to the Types tab, select the Connectors library, and click
Default Connector. Click on the drum V1 and keeping the left mouse button pressed

DYNSIM Tutorials Company Confidential 27


drag the connector stream to the controller LC1. Dynsim automatically efaults to which
parameters are to link based on type of controller configuration selected.

Note: Always click and drag the connector in the direction of data flow, i.e. from the vessel to the
controller.

 If Dynsim cannot determine the parameters automatically because there may be more
than one, then define them manually using Parameter Assignment window that pops up.
Select the Process Variable from the Inputs node of controller LC1 and select Level of
liquid phase from the Calculated Values node of the drum L1.

 Link the controller LC1output to the valve LV1 using Default Connector and drag a
connector stream from the controller to the valve. In this case, controller parameter is
the Output, and the valve parameter is the Open Command under the External Inputs,
which are linked automatically.

28 Company Confidential DYNSIM Tutorials


Step 8 Configure Controller Model
 Right click on the controller LC1 and select Data Entry. Specify the Action of
controller to Direct (PV-SP). Provide High limit on input to 3.0 m and Low limit on
input to 0.0 m. On the Connections tab, note that V1.L has already been entered as the
process variable. In the Set Point section of the connections tab, leave the Set point
parameter reference equal to zero.
 Click OK.

DYNSIM Tutorials Company Confidential 29


30 Company Confidential DYNSIM Tutorials
Step 9 Load Simulation and Specify Set Point
 Click the Start button, to load the simulation model.
 Double click on the controller LC1 to open the faceplate to change mode, controller
output and set point values. Specify LC1 Setpoint (m) to 1 m. Click OK to close the
window.

Note: Note the controller faceplate will only appear during simulation mode. When the simulation
is shutdown, double clicking on the controller, brings up DEW for the model.

Step 10 Create Reference Points


 Click on the Types tab and select the References library. Place Flow Rate Indicators
under the streams S3 and S5. S1 should already have one.
 Click on the Instances tab and extend the object tree all the way to XV1\External Inputs,
and select OP – Open Command, then drag it to the flowsheet canvas to create the point
of valve open rate XV1.OP. This displays the position of the valve as a fraction where
1.0 represents a fully open valve and 0.0 represents a fully closed valve.
 Similarly create valve open rate points for valve PV1 and LV1 and also add these
additional points:

Point Name Parameter

SRC1.FLASH.VF Vapor fraction in Source SRC1


SIMSPD Speed of simulation as a % of real time
V1.Flash.P Pressure in the drum V1
V1.Flash.T Temperature in the drum V1
V1.Flash.MWV Molecular weight of Vapor in V1

DYNSIM Tutorials Company Confidential 31


Step 11 Create Trends
 Click on the icon Trends, and drop it on the flowsheet canvas. Any point
can be typed into the point cell or selected using the Instances tab drilling down to the
point of interest and clicking the Add button.
 Examine the behavior of the system when V1 is depressurized. Add the drum pressure,
liquid level, metal temperature, and flash and fluid temperature to the chart for
monitoring. Click Apply once to save the changes.
 Deselect the check marks under the Auto column and set Ymin and Ymax as shown in
the following picture.

 Click OK and enter the Trend Name as well as the Flowsheet name with which to
associate the trend as follows:

32 Company Confidential DYNSIM Tutorials


Step 12 Create Snapshots
Run the simulation and view the behavior of the system.
 Click on the Save key to save the modifications to LevelControl.s4m.
 Click on the Resume button to start the simulation.
 Double click on the valve XV1 and using the slider open valve 100% and double click
on the valve PV1 to 10% open position and let the system come a steady state condition.
Hint: To reach steady state quickly, increase the simulation speed in the Running Panel.

 When the system is stable, double click on the valve PV1 (if you closed the faceplate)
and open it full 100%.
 Observe the point references on the Depressurizing Trend

Note: Model changes are uploaded without reloading the simulation by clicking the and then
click the Resume button to start again.

 Wait for the simulation to reach steady state conditions, and then save an
initial
condition snapshot or IC by clicking on the Snapshot button on the tool bar
and name the IC Steady State.
 Click Shutdown button, save, and close the simulation. This workshop answer
will be required for next tutorial.

DYNSIM Tutorials Company Confidential 33


34 Company Confidential DYNSIM Tutorials
TUTORIAL 3

DYNSIM Tutorials Company Confidential 35


TUTORIAL 3: Drum Scenarios

Objective: Set up and record scenarios, scenarios capture the flowsheet changes with time.

Step 1Launch Dynsim


 Launch Dynsim and Open the LevelControl simulation created in Tutorial 2 and click
the button to start the simulation.

 After the simulation has loaded, the IC Summary icon becomes active. Click
on IC Summary icon to bring up the IC SteadyState previously saved in Tutorial 2.

36 Company Confidential DYNSIM Tutorials


 Click on the “Num” column to highlight the IC SteadyState and click Load to restore the
simulation model to the SteadyState condition.
 Click Yes when asked Are you sure?

DYNSIM Tutorials Company Confidential 37


Step 2 Record two Scenarios
The next step is to record two different scenarios.

First is a depressurizing scenario.

 Isolate the flash drum by closing all three valves (i.e. the inlet and two outlet valves).
Continue to run the simulation without changing anything for a minute of simulation
time.
 The Depressuring trend located in the Instances tab under the FS tab, double click to
open it.
 Display the Scenario Summary Window by clicking on the scenario icon. Click on
the button.
 Open the valve PV1 on the vapor outlet line from the drum slowly and watch how the
trends change as the vessel depressurizes down to atmospheric pressure.
 Create Scenarios manually using a custom scripting language or record a scenario as one
would record a macro in Microsoft Excel. Clicking the record scenario button changes
the icon to . Click on the Stop Recording button to stop scenario recording or
click the button to pause scenario recording.
 Pause the simulation once the flow rates are steady and then close the valves to isolate
the drum.

38 Company Confidential DYNSIM Tutorials


Hint: To close the valve on the liquid outlet stream from the drum, LV1, double click on the level
controller to bring up the controller’s “faceplate” within which the controller can be toggled
between manual and automatic control and specify a new set point for the controller.

 Click on “Manual” button to override the controller and manually close the
valve by dragging the slider to zero.

Step 3Check steady state


 Hit the resume key and watch as the valves change color, going from green to yellow
to red. Allow the simulation to run for a minute of simulation time with all the valves
closed. Bring up the Depressuring trend to examine the pressure, temperature and liquid
level in the drum.

DYNSIM Tutorials Company Confidential 39


Note a slight disturbance to the drum pressure and liquid level as the valves close, isolating the
drum from the rest of the model.

Step 4
With the drum isolated and the simulation running, open PV1, the valve on the vapor outlet from
the drum. Watch how the trends change as the valve moves from fully closed to fully open.

40 Company Confidential DYNSIM Tutorials


 When the pressure in the drum reaches atmospheric pressure, stop the scenario by
clicking on the button. Save the scenario as Depressuring Drum
V1.

Dynsim will automatically bring up the script of the scenario just recorded which can be modified
by editing the script itself.

DYNSIM Tutorials Company Confidential 41


At any time review or run the recorded scenario by clicking on the scenario summary icon.

Step 5 Record blowdown scenario


The second scenario simulates a blowdown of the drum V1. Restore the simulation back to the
steady state IC.
 Click on the icon, select “SteadyState” and hit restore. This restores and
freezes the simulation.
 Resume the simulation and isolate the drum by closing all three valves.
 Display the Scenario Summary Window by clicking on the scenario icon.
Click on
the button.
 To model a blowdown, slowly open valve LV1 after a minute of simulation time by
double clicking on the LC1 controller, switch to manual operation and slow open the
valve by manipulating the slider.

42 Company Confidential DYNSIM Tutorials


 Observe the resulting trend that tracks both the temperature inside the drum and
temperature of the drum wall as the blowdown occurs.
 Stop and save the scenario when the pressure inside the drum reaches
atmospheric
pressure.

Note to compare changes in metal and fluid temperature in the drum use the same Ymin and
Ymax values for V1.TM and V1.Flash.T.

Step 6
Having saved the two scenarios they can be run at any time during the simulation by clicking on
the scenario summary icon, highlight the scenario and hit the “Run” key on the Scenario
Summary window.

DYNSIM Tutorials Company Confidential 43


The scenario changes from yellow to green indicating it is active and running.

Dynsim freezes the simulation and notifies the user with a pop-up window at the end of the
scenario run.

 Shutdown the existing simulation and click on File\Save As “LevelControl2”.

44 Company Confidential DYNSIM Tutorials


TUTORIAL 4

DYNSIM Tutorials Company Confidential 45


TUTORIAL 4: Flowsheet Modification

Objective: This tutorial looks at how to add a pump and attach a utility exchanger to the drum in
the existing simulation. When you are finished, the model should look something like this, refer
to this schematic for point references and flow indicator locations.

We would like to build on the work already completed in Tutorial 2.

Step 1 Define UOM


The UOM, the component and method slates are unchanged and there are some changes to the
definition of the unit operations.

 Make the following changes to the flowsheet equipment models:

Unit Name Attributes

Source SRC1 Pb = 8000 kPag

Valve PV1 Cv = 300

Sink SNK1 Pressure = 100 kPag

46 Company Confidential DYNSIM Tutorials


Step 2
 Start the simulation in freeze mode using the button .
 Open XV1 to 100% and PV1 to 50%. Unfreeze the simulation and let it run using the
resume simulation.

Step 3
 Allow the simulation to reach steady state and then create a snapshot called “SS” by
clicking the “Camera” icon on the Snapshot pane.

 Display the snapshot summary window, by clicking on the Initi l Conditions Icon
(Snapshots are also called Initial Conditions) to see that the snapshot has
been saved.

DYNSIM Tutorials Company Confidential 47


Step 4
 Add a pressure controller on the drum to provide a constant suction to the pump:

Unit Name Attributes

Action= PV-SP, High Range of Input Hi_In = 10000 kPa,


Controller PC1
Low Range of Input Lo_In = 0 kPa

Step 5
 Connect the controller by dragging the Default Connector from V1 to PC1 and connect
PC1.PV to V1.P. You can find V1.P under the “Calculated Values” node.
 Drag the Default Connector from PC1 to PV1which will connect the PV1.Op to the
PC1.Out automatically.

Step 6
 Press LF to load your model changes.
 Resume the simulation and change make the Setpoint of PC1= 5000 kPa.
 Save a snapshot when the pressure lines out at 5000 kPa.

Step 7
 Add a Pump between the Drum V1 and Valve LV1 to the flowsheet

Unit Name Attributes

48 Company Confidential DYNSIM Tutorials


Flow Curve Scale Qscale = 0.1 m /sec, Head Curve Scale
Pump P1 DHScale = 500 m, Efficiency Curve Scale ETAScale = 0.7,
Reverse Flow Factor KJR = 0, Use Default Curve = True

Valve LV1 Valve Cv = 100 Cv, Reverse Flow Factor KJR = 0

Sink SNK2 Pressure Pb = 6000 kPag

Step 8
 Press LF to load your model changes. Resume simulation and make the Setpoint of PC1
= 5000 kPa.
 Save a snapshot when the pressure steadies out at 5000 kPa.

Step 9
 Add a separate flow path for the utility exchanger: Source SRC2, Valve XV2, Utility
Heat Exchanger E1 (Heat Stream type) and Sink SNK3.

Unit Name Attributes

Pressure PB = 800 kPag, Temperature Tb = 500 K,


Source SRC2 Composition: Methane = 0.1, Ethane = 0.2, Propane = 1, N-
Butane = 1
Valve XV2 Valve Cv = 500, Reverse Flow Factor KJR = 0,
Open 20%
Metal Mass MM = 5000 kg, Volume Vol2 = 2 m3, Heat
Transfer Area = 50 m2, Constant Overall Heat Transfer
Utility Ex E1 Coefficient ConstUFlag = True, Overall Heat Transfer
Coefficient U = 4 kW/m2-K

Sink SNK3 Pressure Pb = 500 kPag

Step 10
 Drag a heat stream from the E1 to V1. Note: Connect to the fluid heat stream port of V1.

DYNSIM Tutorials Company Confidential 49


Step 11
 Press LF to load your model changes and resume simulation.
 Double click on valve XV2 and open the valve.
Save a snapshot when the pressure lines out at 5000 kPa and the V1 level is at 1 m.

50 Company Confidential DYNSIM Tutorials

You might also like