SimulationSetup#
- class pyedb.dotnet.database.utilities.simulation_setup.SimulationSetup(pedb, edb_object=None)#
Bases:
objectProvide base simulation setup.
- Parameters:
- pedb
pyedb.dotnet.edb.Edb Inherited object.
- edb_object
Ansys.Ansoft.Edb.Utility.SIWaveSimulationSetup, - :class:`Ansys.Ansoft.Edb.Utility.SIWDCIRSimulationSettings`,
- :class:`Ansys.Ansoft.Edb.Utility.HFSSSimulationSettings`
EDB object.
- pedb
Overview#
Add frequency sweep. |
|
Delete current simulation setup. |
|
Delete a frequency sweep. |
|
Add frequency sweep. |
Get simulation setup information. |
|
Adding this property for compatibility with grpc. |
|
Flag indicating if the setup is enabled. |
|
Name of the setup. |
|
Position in the setup list. |
|
List of frequency sweeps. |
|
Adding property for compatibility with grpc. |
Import detail#
from pyedb.dotnet.database.utilities.simulation_setup import SimulationSetup
Property detail#
- property SimulationSetup.sim_setup_info#
- property SimulationSetup.get_sim_setup_info#
Get simulation setup information.
- property SimulationSetup.is_null#
Adding this property for compatibility with grpc.
- property SimulationSetup.setup_type#
- property SimulationSetup.type#
- property SimulationSetup.mesh_operations#
- property SimulationSetup.enabled#
Flag indicating if the setup is enabled.
- property SimulationSetup.name#
Name of the setup.
- property SimulationSetup.position#
Position in the setup list.
- property SimulationSetup.frequency_sweeps#
- property SimulationSetup.sweeps#
List of frequency sweeps.
- property SimulationSetup.sweep_data#
Adding property for compatibility with grpc.
Method detail#
- SimulationSetup.set_sim_setup_info(sim_setup_info)#
- SimulationSetup.get_simulation_settings()#
- SimulationSetup.add_sweep(name: str = None, distribution: str = None, start_freq: str = None, stop_freq: str = None, step=None, frequency_set: list = None, sweep_type: str = 'interpolation', **kwargs)#
Add frequency sweep.
- Parameters:
- name
str,optional Name of the frequency sweep. The default is
None.- distribution
str,optional Added for grpc compatibility.
- start_freq
str,optional Added for rpc compatibility.
- stop_freq
str,optional Added for grpc compatibility.
- step
optional Added for grpc compatibility.
- frequency_set
list,optional List of frequency points. The default is
None.- sweep_type
str,optional Sweep type. The default is
"interpolation". Options are"discrete",”discrete”``.- Returns
- ——-
- name
Examples
>>> setup1 = edbapp.create_siwave_syz_setup("setup1") >>> setup1.add_sweep(name="sw1", frequency_set=["linear count", "1MHz", "100MHz", 10])
- SimulationSetup.delete()#
Delete current simulation setup.
- SimulationSetup.delete_frequency_sweep(sweep_data)#
Delete a frequency sweep.
- Parameters:
- sweep_dataEdbFrequencySweep.
- SimulationSetup.add_frequency_sweep(name=None, frequency_sweep=None)#
Add frequency sweep.
- Parameters:
- Returns:
pyedb.dotnet.database.edb_data.simulation_setup_data.EdbFrequencySweep
Examples
>>> setup1 = edbapp.create_siwave_syz_setup("setup1") >>> setup1.add_frequency_sweep( ... frequency_sweep=[ ... ["linear count", "0", "1kHz", 1], ... ["log scale", "1kHz", "0.1GHz", 10], ... ["linear scale", "0.1GHz", "10GHz", "0.1GHz"], ... ] ... )