Customizing the compressor speedline generator
The ADS compressor speedline flow is a powerful tool that is able to automate the process of generated compressor speedlines from choke all the way to within 1% of numerical stall.
If you are not familiar with the process of generating speedlines with our software, here are some useful links:
- How to generate a speedline with ADS software
- ADS university tutorial on automated speedline generation using the workbench
- Top tips for speedline generation
The speedline generator algorithm is split into sections and levels. A section describes the portion of the speedline that has been simulated so far and whether you are in choke, near stall, or some place in between. A level describes a group of cases that are run before the current section of the speedline is re-evaluated. Depending on the section of the speedline, the speedline generator algorithm will choose backpressures to use for the next level.
As of version 6.8, the speedline generator algorithm can be customized and with it, the speedline algorithm can be modified to suit a user's needs, whether it be to speed up the overall turnaround time, remove unnecessary points, or even increase the resolution of the map.
A sample of a custom map.xml is shown below:
<custom_map> <flag_0> <parameter name="pct" value="4.0,8.0,0.0,-4.0"/> </flag_0> <flag_1> <parameter name="pct" value="4.0,8.0,0.0,-4.0"/> </flag_1> <flag_n1> <parameter name="pct" value="4.0,8.0,0.0,-4.0"/> </flag_n1> <flag_2> <parameter name="pct" value="4.0,8.0,0.0,-4.0"/> </flag_2> <flag_3> <parameter name="pct" value="4.0,8.0,0.0,-4.0"/> </flag_3> <flag_4> <parameter name="pct" value="4.0,8.0,0.0,-4.0"/> </flag_4> <custom_map>
Every custom map.xml file begins with identifier custom_map
Within the custom_map section there are 6 flag parameters that describe what the speedline generator will do for the next level if you are in a particular section of the speedline. The section identifier flags are shown below:
flag_0: Backpressures to use for level 1
flag_1: Backpressures to use if in choke and a peak efficiency hasn't been reached
flag_n1: Backpressures to use if looking for choke
flag_2: Backpressures to use if you are past the peak and have hit a stall condition, pcts will be multiplied by 0.1
flag_3: Backpressures to use if looking for a target mass flow
flag_4: Backpressures to use if past the peak, but have not hit a numerical stall condition
For each flag, there is a sub parameter called "pct" with a value equal to the percentage of base backpressure you want to use for he simulations in the next level. Multiple percentages can be specified by separating each value with a comma. It should be noted that the maximum number of cases generated at any level will be 8.
Once you have customized your map.xml file, you can select it by setting the "Select Custom Map?" button to "Yes" as shown below.
After clicking Finish, you will be asked to navigate to the