SubstrateDataBlock#
- class ansys.aedt.core.modules.substrate_circuit.SubstrateDataBlock(app, name: str | None, substrate_type: SubstrateType, dielectric: list, metal_material: str = 'copper', metal_thickness: str = '0.7mil', bottom_metal_material: str = '', bottom_metal_thickness: str = '', cover_metal_material: str = '', cover_metal_thickness: str = '', roughness: str = '', metal_specify_type: int = 0, metal_temp_material: str = '', dielectric_temp_materials: list | None = None)#
Represents a substrate data block and provides the API to create it.
Use the class-level factory methods (
microstrip,stripline, …) to instantiate a correctly-configured object and immediately push it to AEDT. Alternatively, pass all raw keyword arguments directly to the constructor for full control, then callcreate()explicitly.- Parameters:
- app
ansys.aedt.core.circuit.Circuit Circuit application instance.
- name
str Unique name for the substrate data block.
- substrate_type
int One of the integer constants defined in
SubstrateType.- dielectric
listofstr List of dielectric parameters whose content depends on substrate_type.
- metal_material
str,optional Name of the primary conductor material. The default is
"copper".- metal_thickness
str,optional Primary conductor thickness including units. The default is
"0.7mil".- bottom_metal_material
str,optional Name of the second (bottom) conductor material. The default is
""(not specified).- bottom_metal_thickness
str,optional Second conductor thickness. The default is
""(not specified).- cover_metal_material
str,optional Name of the third (cover) conductor material. The default is
""(not specified).- cover_metal_thickness
str,optional Third conductor thickness. The default is
""(not specified).- roughness
str,optional Surface roughness of the conductor including units. The default is
""(not specified).- metal_specify_type
int,optional Metal specification type flag used by AEDT. The default is
0.- metal_temp_material
str,optional Temporary metal material name used by AEDT during parameter sweeps. The default is
""(not specified).- dielectric_temp_materials
listofstr,optional List of up to five temporary dielectric material names used by AEDT during parameter sweeps. The default is five empty strings.
- app
Examples
Create and immediately push a microstrip substrate:
>>> from ansys.aedt.core import Circuit >>> cir = Circuit() >>> sub = SubstrateDataBlock.microstrip( ... cir, ... name="MySub", ... dielectric_height="10mil", ... dielectric_constant=4.4, ... loss_tangent=0.02, ... air_height="25mm", ... roughness="1pm", ... )
Methods
SubstrateDataBlock.coplanar_waveguide(app[, ...])Create and push a coplanar waveguide (CPW) substrate (Type 4) to AEDT.
Push the substrate data block to the active Circuit design.
SubstrateDataBlock.from_dict(app, data)Build SubstrateDataBlock from
design_propertiesdict entry.Create and push a grounded coplanar waveguide (GCPW) substrate (Type 5) to AEDT.
SubstrateDataBlock.microstrip(app[, ...])Create and push a microstrip substrate to AEDT.
SubstrateDataBlock.offset_stripline(app[, ...])Create and push an offset stripline substrate (Type 3) to AEDT.
Create and push a rectangular waveguide substrate (Type 9) to AEDT.
SubstrateDataBlock.slotline(app[, ...])Create and push a slotline substrate (Type 6) to AEDT.
SubstrateDataBlock.stripline(app[, ...])Create and push a stripline substrate (Type 1) to AEDT.
Create and push a substrate reference (Type 10) to AEDT.
Create and push a suspended stripline substrate (Type 2) to AEDT.
Push the current state of this substrate data block to AEDT.
Attributes
Whether to push changes to AEDT immediately when a property is set.
Bottom conductor material name.
Bottom conductor thickness.
Cover conductor material name.
Cover conductor thickness.
Dielectric parameters.
Temporary dielectric material names (list of 5).
Primary conductor material name.
Metal specification type flag.
Temporary metal material name.
Primary conductor thickness.
Substrate name.
Shortcut for dir(self).
Conductor surface roughness.
Substrate type.