Spray Discharge System - GSC (Metric Units)

Spray Discharge System - GSC (English Units)

Summary

The objective of this example is to demonstrate how the Group Max/Min and Group Sum goal types can be used in the GSC module to achieve a goal for a group of objects.

For this example, we will use the GSC module to solve for the supply pressure required to:

Supply a minimum of 30 m3/hr to each spray discharge junction using a Group Max/Min goal.

Supply a total flow rate of 230 m3/hr through the system using a Group Sum goal.

Note: This example can only be run if you have a license for the GSC module.

Topics Covered

  • Creating Groups

  • Using Group Max/Min and Group Sum Goals

Required Knowledge

This example assumes the user has already worked through the Walk-Through Examples section, and has a level of knowledge consistent with the topics covered there. If this is not the case, please review the Walk-Through Examples, beginning with the Beginner - Three Reservoir example. You can also watch the AFT Fathom Quick Start Video Tutorial Series on the AFT website, as it covers the majority of the topics discussed in the Three-Reservoir Model example.

In addition the user should have worked through the Beginner - Heat Transfer in a Pipe - GSC example.

Model Files

This example uses the following files, which are installed in the Examples folder as part of the AFT Fathom installation:

Step 1. Start AFT Fathom

From the Start Menu choose the AFT Fathom 13 folder and select AFT Fathom 13.

To ensure that your results are the same as those presented in this documentation, this example should be run using all default AFT Fathom settings, unless you are specifically instructed to do otherwise.

Step 2. Open the Model

Open the Metric - Spray Discharge System.fth example file and save it as a new file. We will not need the existing child scenarios for this example: right click on the Base Scenario in the Scenario Manager and select Delete All Children. The workspace should look like Figure 1 below:

The Workspace for the GSC Spray Discharge System example.

Figure 1: Workspace for GSC Spray Discharge system example

Step 3. Create a Group

In order to use the Group Max/Min and Group Sum goal types, the junctions included in the goal must be added to a group. To create a group, go to the Edit menu and select the Groups -> Create option. Give the new group the name Spray Discharges, and click OK. The Group Manager will be displayed. Select all of the Spray Discharge junctions from the junction list, as shown in Figure 2. After choosing the Spray Discharge junctions, click OK on the Group Manager form.

Note: If the Spray Discharge junctions were selected in the Workspace before Create Group was selected from the Edit menu, then they would be automatically selected for us in the Group Manager window.

The Group Manager window showing a group being created.

Figure 2: Groups are Created Using the Group Manager

Step 4. Define the Modules Group

Open Analysis Setup, and navigate to the Modules panel. Check the box next to Activate GSC. The Use option should automatically be selected, making GSC enabled for use.

Step 5. Define the Goal Seek and Control Group

Specify the variables and goals for the model.

Variables Panel

Open the Variables panel in the Goal Seek and Control group. For this example select New Variable, then choose following variable data:

  1. Apply = Selected

  2. Object Type = Junction

  3. Junction Type = Assigned Pressure

  4. Junction Number and Name = J9 (Assigned Pressure)

  5. Variable Parameter = Pressure

  6. Link To = (None)

After entering the data, the Variable panel should appear as shown in Figure 3:

The Varaibles tab of the Goal Seek and Control Manager window with one variable defined.

Figure 3: The Variables panel is used to specify the variables

Goals Panel

Open the Goals panel next. For this example, we are going to define two goals. We will apply one goal at a time for the sake of comparing the impact that each goal has on the results.

The first goal type is a Group Max/Min goal. This type of goal allows a single goal to be applied to a group of objects. Fathom applies a Group Max/Min goal by ensuring the final goal value is either greater than or equal to (Min) or less then or equal to (Max) the specified value. For this example, a Group Max/Min goal will be applied to ensure the minimum flow rate out of all of the spray discharge junctions is at least 30 m3/hr.

The second goal type is a Group Sum goal. This type of goal is used to set the sum of the goal parameter for all the members in the group to a specified value. For this example, the Group Sum goal will be applied to ensure the sum of the flow rates through the spray discharges equals 230 m3/hr.

Create two new goals defined as follows:

Group Max/Min:

  1. Apply = Checked

  2. Goal Type = Group

  3. Object Type = Group Max/Min

  4. Goal Parameter = Volumetric Flow Rate Out

  5. Criteria = >=

  6. Goal Value = 30

  7. Goal Units = m3/hr

  8. Object ID = Spray Discharges

  9. Object Location = NA

Group Sum:

  1. Apply = Not Checked

  2. Goal Type = Group

  3. Object Type = Group Sum

  4. Goal Parameter = Volumetric Flow Rate

  5. Criteria = =

  6. Goal Value = 230

  7. Goal Units = m3/hr

  8. Object ID = Spray Discharges

  9. Object Location = NA

After entering the data, the Goals panel should appear as shown in Figure 4 in Step 7.

Step 6. Create Scenarios

Using the Scenario Manager on the Quick Access Panel, create two child scenarios, one named Group Max Min and another named Group Sum.

Step 7. Select Group Max/Min Goal

Load the Group Max Min scenario.

Open the Goals panel in the Goal Seek and Control group in Analysis Setup. Make sure the Group Max/Min goal is applied, indicated by the check mark in the Apply column for that goal. Make certain Group Sum goal is NOT applied by unchecking the check box in the Apply column. The GSC goals should appear as shown in Figure 4:

The Goals tab of the Goal Seek and Control Manager window with two goals defined.

Figure 4: Group Max Min Goal Applied in the Goals panel

Step 8. Run the Model

Click Run Model on the toolbar or from the Analysis menu. This will open the Solution Progress window. This window allows you to watch as the AFT Fathom solver converges on the answer. Now view the results by clicking the Output button at the bottom of the Solution Progress window.

Step 9. Examine the Output

The GSC Variables tab shows the final value for the variable parameter, as shown in Figure 5. The supply pressure required to supply a minimum of 30 m3/hr at each of the Spray Discharge junctions is 18.85 barG (1,885 kPa(g)). The GSC Goals tab shows the value achieved for the goal, as shown in Figure 6. The flow rates determined for the Spray discharge junctions are shown in Figure 7. The spray discharge flow rates shown in Figure 7 illustrate how the Group Max/Min resulted in a the flow rate through each of the spray discharges meeting or exceeding the specified minimum flow rate of 30 m3/hr. The total system flow is 262.05 m3/hr.

The GSC Variables tab of the Output window.

Figure 5: GSC Variable Results are displayed in the General section of the Output Window

The GSC Goals tab of the Output window.

Figure 6: GSC Goal Results are displayed in the General section of the Output Window

The Spray Discharge tab of the Output window showing the flow rates calculated for the spray discharge junctions.

Figure 7: Flow Rates Calculated for the Spray Discharge junctions for Group Max/Min goal

Step 10. Select Group Sum Goal

Load the Group Sum scenario.

Open the Goals panel in the Goal Seek and Control group from Analysis Setup. Apply the Group Sum goal by clicking the check box next to the Group Sum goal in the Apply column. Make certain Group Max/Min goal is NOT applied by unchecking the check box in the Apply column. The GSC goals should appear as shown in Figure 8:

The Goals tab of the Goal Seek and Control Manager window with the Group Sum goal applied.

Figure 8: Group Sum Goals are applied in the GSC Manager

Step 11. Run the Model

Click Run Model on the toolbar or from the Analysis menu. This will open the Solution Progress window. This window allows you to watch as the AFT Fathom solver converges on the answer. Now view the results by clicking the Output button at the bottom of the Solution Progress window.

Step 12. Examine Output

The GSC Variables tab shows the final value for the variable parameter, as shown in Figure 9. The supply pressure required to supply a total system flow of 230 m3/hr is 14.60 barG (1,460 kPa(g)). The GSC Goals tab shows the final value achieved for the goal, as shown in Figure 10. The goal of 230 m3/hr for the system flow in this example was achieved. The flow rates determined for the Spray Discharge junctions are shown in Figure 11. Note that overall, the flows through the spray discharges in the Group Sum scenario are less than the flows determined for the Group Max/Min scenario. This is because in the Group Max/Min scenario, the restriction was placed on the flow rate at each of the spray discharges, resulting in a system flow of 262.05 m3/hr, while the restriction in the Group Sum scenario was on the total system flow equaling 230 m3/hr.

The GSC Variables tab of the Output window.

Figure 9: GSC Variable Results are displayed in the General section of the Output Window

The GSC Goals tab of the Output window.

Figure 10: GSC Goal Results are displayed in the General section of the Output Window

The Spray Discharge tab of the Output window showing the flow rates calculated for the spray discharge junctions for the group sum goal.

Figure 11: Flow Rates Calculated for the Spray Discharge junctions for Group Sum Goal