-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC: update development documentation f516625
- Loading branch information
0 parents
commit b7c8bfc
Showing
476 changed files
with
186,748 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
examples.aedt.docs.pyansys.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting to https://examples.aedt.docs.pyansys.com/version/dev/</title> | ||
<meta name="description" content=""> | ||
<meta http-equiv="refresh" content="0; URL=https://examples.aedt.docs.pyansys.com/version/dev/"> | ||
<link rel="canonical" href="https://examples.aedt.docs.pyansys.com/version/dev/"> | ||
</head> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 3f0f38c564911f89e2b473b4704dbec3 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+62.6 KB
version/dev/_images/examples_01-HFSS3DLayout_01_power_integrity_34_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+62.6 KB
version/dev/_images/examples_01-HFSS3DLayout_01_power_integrity_34_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+63 KB
...ev/_images/examples_01-HFSS3DLayout_04_pre_layout_sma_connector_on_pcb_22_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.7 KB
...ev/_images/examples_01-HFSS3DLayout_04_pre_layout_sma_connector_on_pcb_44_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+84.3 KB
...ev/_images/examples_01-HFSS3DLayout_04_pre_layout_sma_connector_on_pcb_63_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+71.5 KB
version/dev/_images/examples_01-HFSS3DLayout_06_ipc2581_export_9_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19 KB
version/dev/_images/examples_02-HFSS_Create_3d_Component_and_use_it_38_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+72.7 KB
version/dev/_images/examples_03-Maxwell_Maxwell2D_DCConduction_28_1.png
Oops, something went wrong.
Binary file added
BIN
+70.8 KB
version/dev/_images/examples_03-Maxwell_Maxwell2D_DCConduction_32_1.png
Oops, something went wrong.
Binary file added
BIN
+35.8 KB
version/dev/_images/examples_03-Maxwell_Maxwell2D_DCConduction_34_1.png
Oops, something went wrong.
Binary file added
BIN
+62.8 KB
version/dev/_images/examples_03-Maxwell_Maxwell2D_DCConduction_44_2.png
Oops, something went wrong.
Binary file added
BIN
+22 KB
version/dev/_images/examples_03-Maxwell_Maxwell2D_PMSynchronousMotor_85_2.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+21.9 KB
version/dev/_images/examples_03-Maxwell_Maxwell3D_Team3_bath_plate_25_2.png
Oops, something went wrong.
Binary file added
BIN
+57.9 KB
version/dev/_images/examples_03-Maxwell_Maxwell3D_Team3_bath_plate_41_0.png
Oops, something went wrong.
Binary file added
BIN
+57.9 KB
version/dev/_images/examples_03-Maxwell_Maxwell3D_Team3_bath_plate_41_1.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+58.4 KB
version/dev/_images/examples_03-Maxwell_Maxwell_Control_Program_22_1.png
Oops, something went wrong.
Binary file added
BIN
+58.4 KB
version/dev/_images/examples_03-Maxwell_Maxwell_Control_Program_22_2.png
Oops, something went wrong.
Binary file added
BIN
+30.1 KB
version/dev/_images/examples_04-Icepak_icepak_3d_components_example_15_2.png
Oops, something went wrong.
Binary file added
BIN
+17.7 KB
version/dev/_images/examples_04-Icepak_icepak_3d_components_example_23_2.png
Oops, something went wrong.
Binary file added
BIN
+66.2 KB
version/dev/_images/examples_04-Icepak_icepak_3d_components_example_35_2.png
Oops, something went wrong.
Binary file added
BIN
+42.4 KB
version/dev/_images/examples_04-Icepak_icepak_3d_components_example_38_2.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+115 KB
version/dev/_images/examples_04-Icepak_icepak_graphic_card_example_12_2.png
Oops, something went wrong.
Binary file added
BIN
+99.5 KB
version/dev/_images/examples_04-Icepak_icepak_graphic_card_example_12_5.png
Oops, something went wrong.
Binary file added
BIN
+21.2 KB
version/dev/_images/examples_04-Icepak_icepak_graphic_card_example_45_1.png
Oops, something went wrong.
Binary file added
BIN
+21.3 KB
version/dev/_images/examples_04-Icepak_icepak_graphic_card_example_53_1.png
Oops, something went wrong.
Binary file added
BIN
+75.4 KB
version/dev/_images/examples_04-Icepak_icepak_graphic_card_example_56_0.png
Oops, something went wrong.
Binary file added
BIN
+125 KB
version/dev/_images/examples_04-Icepak_icepak_graphic_card_example_58_1.png
Oops, something went wrong.
Binary file added
BIN
+99.3 KB
version/dev/_images/examples_04-Icepak_icepak_sherlock_example_33_2.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+87.8 KB
version/dev/_images/examples_06-Multiphysics_Hfss_Icepak_Coupling_45_2.png
Oops, something went wrong.
Binary file added
BIN
+55.5 KB
version/dev/_images/examples_06-Multiphysics_Hfss_Icepak_Coupling_47_1.png
Oops, something went wrong.
Binary file added
BIN
+68.3 KB
version/dev/_images/examples_06-Multiphysics_Hfss_Icepak_Coupling_51_1.png
Oops, something went wrong.
Binary file added
BIN
+68.3 KB
version/dev/_images/examples_06-Multiphysics_Hfss_Icepak_Coupling_51_2.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+42.6 KB
version/dev/_images/examples_07-Circuit_Touchstone_Management_7_0.png
Oops, something went wrong.
Binary file added
BIN
+35.2 KB
version/dev/_images/examples_07-Circuit_Touchstone_Management_7_1.png
Oops, something went wrong.
Binary file added
BIN
+38.5 KB
version/dev/_images/examples_07-Circuit_Touchstone_Management_7_2.png
Oops, something went wrong.
Binary file added
BIN
+41.8 KB
version/dev/_images/examples_07-Circuit_Touchstone_Management_7_3.png
Oops, something went wrong.
Binary file added
BIN
+27.3 KB
version/dev/_images/examples_07-Circuit_Touchstone_Management_9_0.png
Oops, something went wrong.
Binary file added
BIN
+20.9 KB
version/dev/_images/examples_07-Circuit_Touchstone_Management_9_1.png
Oops, something went wrong.
Binary file added
BIN
+22.4 KB
version/dev/_images/examples_07-Circuit_Touchstone_Management_9_2.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+13.3 KB
...v/_images/examples_twin_builder_dynamic_rom_creation_and_visualization_37_2.png
Oops, something went wrong.
Binary file added
BIN
+24.3 KB
...v/_images/examples_twin_builder_dynamic_rom_creation_and_visualization_38_2.png
Oops, something went wrong.
Binary file added
BIN
+16.5 KB
...v/_images/examples_twin_builder_dynamic_rom_creation_and_visualization_39_0.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
224 changes: 224 additions & 0 deletions
224
version/dev/_sources/examples/01-HFSS3DLayout/01_power_integrity.py.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,224 @@ | ||
# # HFSS 3D Layout: Power Integrity Analysis | ||
# This example shows how to use the electronics database (EDB) for power integrity analysis. The | ||
# EDB will be loaded into HFSS 3D Layout for analysis and post-processing. | ||
# | ||
# - Set up EDB | ||
# | ||
# - Assign S-parameter model to components | ||
# - Create pin groups | ||
# - Create ports | ||
# - Create SIwave SYZ anaylsis | ||
# - Create cutout | ||
# | ||
# - Import EDB into HFSS 3D Layout | ||
# | ||
# - Analyze | ||
# - Plot $Z_{11}$ | ||
|
||
# ## Preparation | ||
# Import the required packages | ||
|
||
# + | ||
import os | ||
import json | ||
import tempfile | ||
import time | ||
from pyaedt import Edb | ||
from pyaedt import Hfss3dLayout | ||
from pyaedt.downloads import download_file | ||
# - | ||
|
||
# Set constant values | ||
|
||
AEDT_VERSION = "2024.2" | ||
NG_MODE = False | ||
|
||
|
||
# Download the example PCB data. | ||
|
||
temp_folder = tempfile.TemporaryDirectory(suffix=".ansys") | ||
aedb = download_file( | ||
source="edb/ANSYS-HSD_V1.aedb", destination=temp_folder.name | ||
) | ||
download_file( | ||
source="touchstone", name="GRM32_DC0V_25degC_series.s2p", destination=temp_folder.name | ||
) | ||
|
||
# ## Create a configuration file | ||
# In this example, we are going to use a configuration file to set up the layout for analysis. | ||
# ### Initialize a dictionary | ||
# Create an empty dictionary to host all configurations. | ||
|
||
cfg = dict() | ||
|
||
# In this example, we are going to assign S-parameter models to capacitors. | ||
# The first step is to use the "general" key to specify where the S-parameter files can be found. | ||
|
||
cfg["general"] = { | ||
"s_parameter_library": os.path.join(temp_folder.name, "touchstone") | ||
} | ||
|
||
# ## Assign model to capactitors. | ||
# In this example, the model "GRM32_DC0V_25degC_series.s2p" is assigned to capacitors C3 and C4, which share the same component part number. | ||
# When "apply_to_all" is ``True``, all components having the part number "CAPC3216X180X20ML20" will be assigned the S-parameter model. | ||
|
||
cfg["s_parameters"] = [ | ||
{ | ||
"name": "GRM32_DC0V_25degC_series", | ||
"component_definition": "CAPC0603X33X15LL03T05", | ||
"file_path": "GRM32_DC0V_25degC_series.s2p", | ||
"apply_to_all": False, | ||
"components": ["C110", "C206"], | ||
"reference_net": "GND", | ||
"reference_net_per_component": { | ||
"C110": "GND" | ||
} | ||
} | ||
] | ||
|
||
# ## Create pin groups. | ||
# In this example, the listed pins on component U2 are combined into two pin groups. | ||
# Pins can be grouped explicitly by the pin name or pin groups can be assigned by net name using the "net" key as shown here: | ||
|
||
cfg["pin_groups"] = [ | ||
{ | ||
"name": "PIN_GROUP_1", | ||
"reference_designator": "U1", | ||
"pins": ["AD14", "AD15", "AD16", "AD17"] | ||
}, | ||
{ | ||
"name": "PIN_GROUP_2", | ||
"reference_designator": "U1", | ||
"net": "GND" | ||
} | ||
] | ||
|
||
# ## Create ports | ||
# Create a circuit port between the two pin groups just created. | ||
|
||
cfg["ports"] = [ | ||
{ | ||
"name": "port1", | ||
"reference_designator": "U1", | ||
"type": "circuit", | ||
"positive_terminal": { | ||
"pin_group": "PIN_GROUP_1" | ||
}, | ||
"negative_terminal": { | ||
"pin_group": "PIN_GROUP_2" | ||
} | ||
} | ||
] | ||
|
||
# ## Create SIwave SYZ analysis setup | ||
# Both SIwave and HFSS can be used to run an analysis in the 3D Layout user interface. | ||
|
||
cfg["setups"] = [ | ||
{ | ||
"name": "siwave_syz", | ||
"type": "siwave_syz", | ||
"pi_slider_position": 1, | ||
"freq_sweep": [ | ||
{ | ||
"name": "Sweep1", | ||
"type": "Interpolation", | ||
"frequencies": [ | ||
{ | ||
"distribution": "log scale", | ||
"start": 1e6, | ||
"stop": 1e9, | ||
"samples": 20 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
|
||
# ## Cutout | ||
# The following assignments will define the region of the PCB to be cut out for analysis. | ||
|
||
cfg["operations"] = { | ||
"cutout": { | ||
"signal_list": ["1V0"], | ||
"reference_list": ["GND"], | ||
"extent_type": "ConvexHull", | ||
"expansion_size": 0.002, | ||
"use_round_corner": False, | ||
"output_aedb_path": "", | ||
"open_cutout_at_end": True, | ||
"use_pyaedt_cutout": True, | ||
"number_of_threads": 4, | ||
"use_pyaedt_extent_computing": True, | ||
"extent_defeature": 0, | ||
"remove_single_pin_components": False, | ||
"custom_extent": "", | ||
"custom_extent_units": "mm", | ||
"include_partial_instances": False, | ||
"keep_voids": True, | ||
"check_terminals": False, | ||
"include_pingroups": False, | ||
"expansion_factor": 0, | ||
"maximum_iterations": 10, | ||
"preserve_components_with_model": False, | ||
"simple_pad_check": True, | ||
"keep_lines_as_path": False | ||
} | ||
} | ||
|
||
# ## Save the configuration | ||
# | ||
# The configuration file can be saved in JSON format and applied to layout data using the EDB. | ||
|
||
pi_json = os.path.join(temp_folder.name, "pi.json") | ||
with open(pi_json, "w") as f: | ||
json.dump(cfg, f, indent=4, ensure_ascii=False) | ||
|
||
# ## Load configuration into EDB | ||
|
||
# Load configuration from JSON | ||
|
||
edbapp = Edb(aedb, edbversion=AEDT_VERSION) | ||
edbapp.configuration.load(config_file=pi_json) | ||
edbapp.configuration.run() | ||
edbapp.save() | ||
edbapp.close() | ||
|
||
# The configured EDB file is saved in a temp folder. | ||
|
||
print(temp_folder.name) | ||
|
||
# ## Analyze in HFSS 3D Layout | ||
|
||
# ### Load edb into HFSS 3D Layout. | ||
|
||
h3d = Hfss3dLayout( | ||
aedb, | ||
version=AEDT_VERSION, | ||
non_graphical=NG_MODE, | ||
new_desktop=True | ||
) | ||
|
||
# ### Analyze | ||
|
||
h3d.analyze() | ||
|
||
# ### Plot impedance | ||
|
||
solutions = h3d.post.get_solution_data(expressions='Z(port1,port1)') | ||
solutions.plot() | ||
|
||
# ## Shut Down Electronics Desktop | ||
|
||
h3d.close_desktop() | ||
|
||
# All project files are saved in the folder ``temp_file.dir``. If you've run this example as a Jupyter notbook you | ||
# can retrieve those project files. The following cell removes all temporary files, including the project folder. | ||
|
||
# ## Cleanup | ||
# | ||
# All project files are saved in the folder ``temp_file.dir``. If you've run this example as a Jupyter notbook you | ||
# can retrieve those project files. The following cell removes all temporary files, including the project folder. | ||
|
||
time.sleep(3) | ||
temp_folder.cleanup() |
Oops, something went wrong.