gsphelp  Loop Case Control

<< Click to Display Table of Contents >>

Navigation:  GSP components > Component Libraries > Case Control Component library >

gsphelp  Loop Case Control

Previous pageReturn to chapter overviewNext page

CC_LoopCaseC

 

The Loop Case Control can be used as the central storage component for specific case input data. Effectively, the case input  parameters in this component override the values set in the component data window. This component can create looped input series for a maximum of 3 input parameters.

 

In order to set the correct input for the model the modeler needs to set up the model so that the input that is required to be set by the Case Control Component is available in the component data window. If a parameter is not available it cannot be selected in the Case Control Component.

 

The figure below show a single loop case data entry interface. Similar to the Manual Case Control component the modeler sets up the component type and the input parameter when the Active check mark has been set. When selected, a reference value (Ref, non editable, bright blue font) will be displayed. Define Start, End and Inc(rement) values to automatically create the List. The numerical grid list can be edited using the following keys:

Insert key        -        Insertion of a new row

Delete key        -        Deletion of the active line

Arrow keys        -        Navigate through the grid (note that if the active row is the last row, the "down arrow key" will add a new row to the grid)

To revert an edited list press the refresh button located at the top right of the input parameters group box.

GSP11LCC_loop1

 

When a maximum of 3 loop input parameters have been defined press the Generate Series button to create the looped input data sequence. The loop order is:

Loop 1
Outer loop parameter

Loop 2
Second or inner loop parameter

Loop 3
Inner or innermost loop parameter

 

Note that the sequence can also be edited like described above.

 

Several Options are available to control the behavior of the input parameters:

General Model Options

Auto reset off-design input to DP at DP case calculations
Reset the off-design input to design values for design point calculations

Set controlled values back to original after simulation run
When enabled, after the simulation, the input values that were in the numeric input fields before the simulation will be restored. The model will be in exactly the same state as before the simulation.

 

Series Options

Auto-break
When enabled, upon generating the sequence from the loop parameters, breaks will automatically inserted on every start of the innermost loop.

Auto-config model St.St. series step options
Automatically adjust model Transient/Series Options options. More specific, this option will cause the simulation to use integer values for Point numbering. The calculation series option  will start at point 1 and have an increment of 1 to output data to the output tables. Note that this option will also renumber the series input data grid as it is required to have integer Point values. Intermediate points can and sometimes must be calculated for the sake of simulation stability. Extra intermediate points can be specified by the number of extra calculations in Nr. of iteration intervals per point. This will set the calculation step size (Simulation step in Transient/Series Options); increasing the number of intermediate calculations increase iteration stability to the next integer point. Unchecking this option will give the modeler an even higher flexibility to create the series by specifying custom input schedules. Note that the modeler then has to define the Transient/Series Options options manually!