add_substrate_reference#
- SubstrateManager.add_substrate_reference(dielectric_height: str, dielectric_constant: float | int, dielectric_loss_tangent: float | int, air_height: str, roughness: str = '', metal_material: str = 'copper', metal_thickness: str = '0.7mil', name: str | None = None) SubstrateDataBlock#
Add a substrate reference data block to the circuit design.
A substrate reference is a named substrate used as a reference by transmission-line models in the schematic.
- Parameters:
- dielectric_height
str Dielectric layer height, including units.
- dielectric_constant
floatorint Relative permittivity (epsilon-r) of the dielectric.
- dielectric_loss_tangent
floatorint Loss tangent of the dielectric.
- air_height
str Air-region height, including units.
- roughness
str,optional Conductor surface roughness, including units. The default is
"".- metal_material
str,optional Conductor material. The default is
"copper".- metal_thickness
str,optional Conductor thickness, including units. The default is
"0.7mil".- name
str,optional Name of the substrate data block. A unique name is generated when
None. The default isNone.
- dielectric_height
- Returns:
ansys.aedt.core.modules.substrate_circuit.SubstrateDataBlockSubstrate data block object.
Examples
>>> sub = cir.substrate.add_substrate_reference("1mm", 2.2, 0.0, "25mm")