Changes

Running HDMR Simulations in EM.Cube

657 bytes added, 22:53, 27 July 2015
/* Running an HDMR Sweep */
</table>
[[Image:Variable34.png|thumb|550px|EM.Cube's Model dialog showing a the HDMR model "Resistance.HDM" generated by EM.TemposTempo' s FDTD simulation engine.]]
== Running an HDMR Sweep ==
After you define all of your HDMR [[variables]] and model(s), close the HDMR Settings dialog to return to the simulation Run dialog. When you click the {{key|Run}} button of the Simulation Run dialog to start the HDMR sweep process, an Output Window pops up that reports the various stages of the sweep loop and displays the progress or percentage of completion. After the sweep process is finished, an HDMR file with a '''.HDM''' file extension is added to your project's folder, which contains all the monomial coefficients of your HDMR model. You can see your new HDMR model [[EM.Cube]]'s Models Dialog, which you can open by clicking the '''Models''' button [[File:Models_icon.png]] of the Simulate Toolbar or selecting '''Menu > Simulate > Models...''' or using the keyboard shortcut {{key|Ctrl+L}}.
 
Note that once you generate an HDMR model, you can use it everywhere in [[EM.Cube]] just like any standard or library function or like a functional, tabular or Python model. In the above example, the syntax of your new custom function is Resistance(L) or Resistance(x). As you can see from the figure on the right, the current value of "Resistance" is about 115.2&Omega; because the argument of your HDMR function, i.e. "L", has a current value of 150mm, which can be verified in the [[Variables]] dialog.
 
<p>&nbsp;</p>
[[Image:Back_icon.png|40px]] '''[[Parametric_Modeling,_Sweep_%26_Optimization | Back to Parametric Modeling, Sweep & Optimization]]'''
28,333
edits