1.3 Dynamic Simulation
1.3.1 Modifying the Steady State Flowsheet
It is necessary to add unit operations such as valves, heat exchangers, or pumps, to define pressure flow relations between unit operations that have no pressure flow relation. In this tutorial, valve operations will be added between Separator, Mixer, and Column operations.
Figure 1.130
This is only one method of preparing a steady state case for Dynamic mode.
A completed dynamic case has been pre-built and is called
dyntut1.usc in the
UniSim Design\Samples directory.
In this Tutorial, you will follow this basic
procedure in building the dynamic model.
A Heater operation will also be added between the Mixer and Column operation for dynamic simulation purposes. Installing a heater allows you to vary the temperature of the feed entering the column.
Valves will be added to the following material streams: • SepLiq
• LTSLiq • TowerFeed • LiquidProd
The first task is to set the session preferences. 1. Open the pre-built case file TUTOR1.usc.
The steady state Gas Processing simulation file TUTOR1.usc is located in your UniSim Design\Samples directory.
2. From the Tools menu, select Preferences. The Session Preferences view appears.
3. Click the Variables tab, then select the Units page. 4. In the Available Unit Sets group list, select Field.
5. Click the Simulation tab, then select the Dynamics page. 6. In the Assistant group, uncheck both the Set dynamic stream
specifications in the background and the Perform checks when switching to dynamics or starting the integrator
checkboxes.
Figure 1.131
In the Dynamic simulation part of this tutorial you will work with the default Field units.
will be calculated by the MIX-100 in dynamic mode.
8. Double-click the Feed 2 stream icon to open its property view. 9. On the Conditions page of the Worksheet tab, click in the
Pressure cell, then press DELETE to remove the stream pressure.
10. Close the stream property view.
Next you will change the pressure setting for the MIX-100 so that the whole PFD can be simulated.
11. Double-click the MIX-100 icon to open its property view. 12. On the Design tab, select the Parameters page.
13. In the Automatic Pressure Assignment group, click the Equalize All radio button.
14. Close the MIX-100 property view.
Next you will insert a valve operation between the SepLiq stream and the MIX-101 unit operation.
15. Click the Break Connection icon in the PFD toolbar.
16. Break the SepLiq stream connection by doing the following:
• Position the mouse pointer over the connection line between the SepLiq stream icon and the MIX-101 icon.
• When the mouse pointer has a checkmark beside it, left-click and the SepLiq stream will disconnect from the MIX-101. 17. Open the Object Palette by pressing F4.
18. On the Object Palette, right-click and hold on the Valve icon. 19. Drag the cursor over the PFD.
The mouse pointer becomes a bullseye.
20. Position the bullseye pointer beside the SepLiq stream and release the mouse button.
21. A Valve icon named VLV-100 appears.
22. Double-click the VLV-100 icon on the PFD to open its property view. 23. In the valve property view, specify the following connections:
24. Click the Close icon to close the valve property view.
25. Connect the SepExit stream to the inlet of the MIX-101 unit operation by doing the following:
• Click the PFD Attach Mode icon.
• Position the mouse pointer at the tip of the SepExit stream arrow. A white box appears.
Tab [Page] In this cell... Enter...
Design
[Connections] NameInlet Sep ValveSepLiq
Outlet SepExit
Design [Parameters] Delta P 25 psi Break Connection icon
Valve icon
• Click and drag the pointer to the left side of MIX-101. A white box appears, indicating a connection point.
• Release the mouse button to complete the connection.
• Click the Attach Mode icon again to exit from the attach mode. Next you will insert a valve operation between the LTSLiq stream and the MIX-101 unit operation.
26. Break the line between the LTSLiq stream and the MIX-101 unit operation.
• Click the Break Connection icon in the tool bar. • Click to the right of the arrow on the LTSLiq stream. 27. Install a second valve operation.
• On the Object Palette, right-click the Valve icon. • Drag the cursor to the right of the LTSLiq stream. • Release the mouse button.
28. Double-click the valve icon to open its property view. 29. Specify the following connections:
30. Close the valve property view.
31. Attach the LTSExit stream to the MIX-101 unit operation. • Click the Attach Mode icon
• Move the cursor over the LTSExit stream icon. A white box appears.
• Click and drag the cursor to the inlet side of the MIX-101 icon. A white box appears, indicating a connection point.
• Release the mouse button to complete the connection. • Click the Attach Mode icon again to exit the attach mode. Next you will add a valve operation between the MIX-101 unit operation and the TowerFeed stream.
32. Break the line between the TowerFeed stream and the MIX-101 unit operation. Be sure to break the line to the left of the TowerFeed stream arrow.
33. Install a third valve operation with the following connections:
Tab [Page] In this cell... Enter...
Design
[Connections] NameInlet LTS ValveLTSLiq
Outlet LTSExit
Design [Parameters] Delta P 5 psi
34. Close the valve property view.
35. Click the Attach Mode icon, then connect the TowerIn stream to the exit of the MIX-101 unit operation.
36. Exit the attach mode.
37. Install a Heater operation and position it near the Tower Valve and the DePropanizer.
• In the Object Palette, click once on the Heater icon. • In the PFD, click where you want to insert the heater. 38. Open the heater property view and specify the following
connections:
39. In the heater property view, click the Worksheet tab, then select the Conditions page.
40. In the Temperature cell of the TowerFeed stream, enter 24.73°F.
41. Close the Heater property view.
Next you will add a valve to the LiquidProd stream in the Column sub-flowsheet.
Tab [Page] In this cell... Enter...
Design
[Connections] NameInlet HeaterTowerInlet
Outlet TowerFeed
Energy Heater Q
Design [Parameters] Delta P 9 psi
Figure 1.132
You can use the scroll bars to navigate around the PFD.
You can also use the
PAGE UP and PAGE DOWN keys to zoom in
and out of the PFD, respectively.
When considering pieces of equipment associated with a column, it may be necessary to enter the Column sub-flowsheet environment.
42. Double-click the DePropanizer column to open its property view.
43. Click the Column Environment button to enter the Column Sub- flowsheet environment.
Next you will inset a valve operation between the LiquidProd stream and the Reboiler unit operation.
44. In the PFD of the column sub-flowsheet, break the connection between the LiquidProd stream and the Reboiler unit operation. 45. Press F4 to open the Object Palette.
46. Install a valve operation between the Reboiler and the LiquidProd stream icon. Move the LiquidProd stream to make room if required. 47. Open the valve property view and specify the following connections:
48. Close the valve property view.
49. Press CTRL to connect the LiquidExit stream to the liquid exit connection point of the Reboiler.
50. Click the Run Column Solver icon in the tool bar.
Figure 1.133
Tab [Page] In this cell... Enter...
Design
[Connections] NameInlet Reboil ValveLiquidExit
Outlet LiquidProd
Design [Parameters] Delta P 25 psi The Object Palette in the
Column Environment contains fewer available unit operations than the Object Palette in the Parent Environment.
the added valve unit operations.
Next you will delete unit operations that have no impact on the Dynamic solver.
51. Return to the Main Flowsheet environment by clicking the Enter
Parent Simulation Environment icon in the toolbar.
52. Close the DePropanizer column property view.
The ADJ-1 and DewPoint logical operations have calculated the ColdGas stream temperature required to achieve a 10°F dewpoint in the SalesGas stream.
53. In the PFD, double-click the ColdGas icon to open the stream property view.
Figure 1.134
Figure 1.135
Enter Parent Simulation Environment icon
54. Record the temperature of the ColdGas material stream so that it may be controlled in Dynamic mode:
55. Close the ColdGas property view.
56. On the PFD, click on the ADJ-1 logical operation icon, then press the
DELETE key.
57. UniSim Design prompts you to confirm that you want to delete the object. Click the Yes button.
58. Delete the DewPoint logical operation and the SalesDP material stream from the PFD.
59. Ensure that the Standard Windows file picker radio button is selected on the File tab in the Session Preferences view.
60. From the File menu, select Save As. Save the file as DynTUT1-
1.usc.