AEDT Modules#

This section lists the core PyAEDT application modules:

  • Design

  • Variable

  • DesignXPloration

  • Configurations

Variable#

This module provides all functionalities for creating and editing design and project variables in the 3D tools.

from pyaedt import Hfss
app = Hfss(specified_version="2022.1",
             non_graphical=False, new_desktop_session=True,
             close_on_exit=True, student_version=False)

# this call return the VariableManager Class
variable_manager = self.aedtapp._variable_manager

# Set and Get a variable
app["w"] = "10mm"
a = app["w"]
...

CSVDataset

Reads in a CSV file and extracts data, which can be augmented with constant values.

VariableManager

Manages design properties and project variables.

Variable

Stores design properties and project variables and provides operations to perform on them.

DataSet

Manages datasets.

DesignXploration#

This module contains all properties and methods needed to create optimetrics setups.

from pyaedt import Hfss
app = Hfss(specified_version="2022.1",
             non_graphical=False, new_desktop_session=True,
             close_on_exit=True, student_version=False)

# returns the ParametericsSetups Class
app.parametrics

# returns the OptimizationSetups Class
app.optimizations

# adds an optimization and returns Setup class with all settings and methods
sweep3 = hfss.opti_optimization.add_optimization(calculation="dB(S(1,1))", calculation_value="2.5GHz")

...

ParametricSetups

Sets up Parametrics analyses.

OptimizationSetups

Sets up optimizations.

SetupParam

Sets up a parametric analysis in Optimetrics.

SetupOpti

Sets up an optimization in Opimetrics.

Boundary Class#

Boundary class is very important because it automates the creation of the AEDT Syntax for any boundary and excitation creation.