Sampling Study provides a design-of-experiments workflow for exploring a parametric design space without evolutionary search. EvoMass creates an optimized Latin hypercube sample within the bounds supplied by the connected model, generates every sampled design, and records all connected evaluation results as metrics. No optimization direction, selection, crossover, mutation, migration, or evolutionary generation is applied.
Sampling Study(采样研究)提供一种无需进化搜索即可探索参数化设计空间的试验设计流程。EvoMass会在已连接模型提供的变量边界内生成优化拉丁超立方样本,逐一生成所有采样设计,并将全部已连接评价结果记录为指标。该模式不使用优化方向、选择、交叉、变异、迁移或进化代数。
8.1 Prepare the study model 准备采样模型
The Sampling Study uses the same model connections as SSIEA. Connect an EvoMass generative component or supported custom model to the Generator(s) connector, and connect one or more scalar results to the Fitness connector. Although this connector retains its SSIEA label, Sampling Study treats every connected result as a recorded metric rather than an optimization objective.
Sampling Study与SSIEA使用相同的模型连接方式。将EvoMass生成组件或受支持的自定义模型连接至Generator(s)(生成器)连接端,并将一个或多个标量结果连接至Fitness(适应度)连接端。虽然该连接端保留了SSIEA中的名称,但在采样研究中,所有已连接结果均作为记录指标,而不是优化目标。
Before opening the study, right-click SSIEA and choose Generate Sample Model. Confirm that the generated geometry, simulations, and output metrics all update successfully. A sampling study cannot start without at least one connected input variable and one connected output metric.
打开采样设置前,可右键单击SSIEA并选择Generate Sample Model(生成示例模型)。请确认生成几何、模拟过程及输出指标均能成功更新。若未连接至少一个输入变量和一个输出指标,采样研究无法启动。
8.2 Configure sample generation 配置样本生成
8.2.1 Sampling effort 采样强度
The Sampling effort presets calculate a sample count from the number of connected input variables. This keeps a comparable sampling density when models expose different numbers of variables.
Sampling effort(采样强度)预设会根据已连接输入变量的数量计算样本数量,使具有不同变量规模的模型能够保持大致可比的采样密度。
| Preset 预设 | Sample count 样本数量 | Intended use 适用目的 |
|---|---|---|
| Quick 快速 | Maximum of 20 or 2 × variable count 20与变量数量×2中的较大值 | Connection checks and an initial overview of the design space. 检查连接并初步了解设计空间。 |
| Standard 标准 | Maximum of 50 or 5 × variable count 50与变量数量×5中的较大值 | General design-space exploration with a moderate study size. 以适中的研究规模进行常规设计空间探索。 |
| Thorough 深入 | Maximum of 100 or 10 × variable count 100与变量数量×10中的较大值 | Denser coverage when evaluation time and storage permit. 在评价时间和存储条件允许时获得更密集的覆盖。 |
| Custom 自定义 | Any positive whole number entered by the user. 用户输入的任意正整数。 | Studies with a specific evaluation budget. 具有明确评价预算的研究。 |
Selecting Quick, Standard, or Thorough updates Number of samples automatically. Editing the number directly changes the preset to Custom. Connected input variables is read-only and reports the current model connection.
选择Quick、Standard或Thorough后,Number of samples(样本数量)会自动更新;直接修改该数值会将预设切换为Custom(自定义)。Connected input variables(已连接输入变量)为只读信息,用于显示当前模型连接的变量数量。
8.2.2 Latin hypercube sample plan 拉丁超立方采样方案
EvoMass generates an optimized Latin hypercube plan using the minimum and maximum bounds supplied by every connected variable. Use connected input bounds is therefore enabled permanently for this workflow. Each sampled row defines one complete design, and every variable receives one generated value in that row.
EvoMass会根据每个已连接变量提供的最小值与最大值边界,生成优化拉丁超立方采样方案。因此,在该流程中Use connected input bounds(使用已连接输入边界)始终启用。采样方案中的每一行对应一个完整设计,每个变量在该行中获得一个生成值。
8.3 Review the sample set 检查样本集
The Sample set summary updates automatically:
Sample set(样本集)摘要会自动更新:
- Designs is the number of samples that will be evaluated. / Designs(设计数)表示将被评价的样本数量。
- Variables per design is the number of connected input variables. / Variables per design(每个设计的变量数)表示已连接输入变量的数量。
- Generated values equals designs multiplied by variables per design. / Generated values(生成值数量)等于设计数乘以每个设计的变量数。
Use this summary to estimate the scale of the study before starting. The number of output metrics does not change the generated-value count, but additional simulations and metrics can increase the evaluation time for every design.
开始前可利用该摘要估计研究规模。输出指标数量不会改变生成值数量,但增加模拟过程和指标可能会提高每个设计的评价耗时。
8.4 Configure view-image capture 配置视图图像捕获
View image capture provides the same three choices as the optimization workflow: No view images, Active view only, and All open views. Available image sizes range from 600 × 400 to 2400 × 1600. Captured images support design previews in the results table and interactive plots, but larger images and additional views increase storage use and evaluation time.
View image capture(视图图像捕获)与优化流程提供相同的三种选择:No view images(不保存视图图像)、Active view only(仅当前视图)和All open views(所有已打开视图)。可选图像尺寸从600 × 400至2400 × 1600。捕获的图像可用于结果数据表和交互式图表中的设计预览,但更大的图像和更多视图会增加存储占用及评价时间。
When view images are enabled, first generate a valid design and click Frame Generated Design. This fits the generated geometry within all open Rhino model views and helps maintain a consistent composition across the study.
启用视图图像后,应先生成一个有效设计,再单击Frame Generated Design(调整生成设计视图)。该操作会在所有已打开的Rhino模型视图中调整生成几何的显示范围,有助于在整个研究中保持一致的画面构图。
8.5 Run, monitor, and resume the study 运行、监控与继续研究
Click Start Sampling Study to generate the optimized Latin hypercube plan and evaluate its designs. The results window is titled Sampling Study Results; it lists all evaluated designs and places the recorded metric columns first. Because sampling has no optimization direction or evolutionary generations, Pareto/improvement highlighting, Improvement Trend, and Progress Trend are unavailable.
单击Start Sampling Study(开始采样研究)后,EvoMass会生成优化拉丁超立方采样方案并评价其中的设计。结果窗口标题为Sampling Study Results(采样研究结果),其中列出所有已评价设计,并优先显示记录指标列。由于采样研究没有优化方向或进化代数,因此不提供帕累托设计与改进设计高亮,也不显示Improvement Trend(改进趋势)和Progress Trend(进度趋势)。
The scatter and parallel plots become available after enough designs have been evaluated to support a meaningful display. These plots visualize recorded metrics and variables; they do not indicate an optimization trajectory. See 9. Results and Plots for the shared table and plot interactions.
当已评价设计达到足以形成有效显示的数量后,散点图和平行坐标图即可使用。这些图表用于展示记录指标和变量,并不表示优化轨迹。有关共用数据表和图表交互,请参阅9. Results and Plots(结果与图表)。
Use Stop Sampling to interrupt an active study. EvoMass stores the sample plan and the next unevaluated design in the sampling checkpoint. Use Load Study to open a saved sampling-study project; if the study is incomplete and compatible with the current Grasshopper definition, choose Resume Sampling to continue from the checkpoint. Sampling projects must be loaded from the Sampling Study tab, while optimization projects must be loaded from the SSIEA tab.
使用Stop Sampling(停止采样)可中断正在运行的研究。EvoMass会在采样检查点中保存采样方案及下一个尚未评价的设计。使用Load Study(载入研究)可打开已保存的采样研究项目;如果研究尚未完成,且与当前Grasshopper定义兼容,可选择Resume Sampling(继续采样)从检查点继续运行。采样项目必须从Sampling Study选项卡载入,优化项目则必须从SSIEA选项卡载入。
