SimulationConfiguration#
- class pyaedt.edb_core.edb_data.simulation_configuration.SimulationConfiguration(filename=None, edb=None)[source]#
Provides an ASCII simulation configuration file parser.
This parser supports all types of inputs for setting up and automating any kind of SI or PI simulation with HFSS 3D Layout or Siwave. If fields are omitted, default values are applied. This class can be instantiated directly from Configuration file.
Examples
>>> from pyaedt import Edb >>> edb = Edb() >>> sim_setup = edb.new_simulation_configuration() >>> sim_setup.solver_type = SolverType.SiwaveSYZ >>> sim_setup.batch_solve_settings.cutout_subdesign_expansion = 0.01 >>> sim_setup.batch_solve_settings.do_cutout_subdesign = True >>> sim_setup.batch_solve_settings.signal_nets = ["PCIE0_RX0_P", "PCIE0_RX0_N", "PCIE0_TX0_P_C", "PCIE0_TX0_N_C"] >>> sim_setup.batch_solve_settings.components = ["U2A5", "J2L1"] >>> sim_setup.batch_solve_settings.power_nets = ["GND"] >>> sim_setup.ac_settings.start_freq = "100Hz" >>> sim_setup.ac_settings.stop_freq = "6GHz" >>> sim_setup.ac_settings.step_freq = "10MHz" >>> sim_setup.export_json(os.path.join(project_path, "configuration.json")) >>> sim_setup.build_simulation_project(sim_setup)
Methods
Add a current source for the current SimulationConfiguration instance.
Add a dc ground source terminal for Siwave.
SimulationConfiguration.add_rlc
([name, ...])Add a voltage source for the current SimulationConfiguration instance.
Add a voltage source for the current SimulationConfiguration instance.
Build active simulation project.
SimulationConfiguration.export_json
(output_file)Export Json file from SimulationConfiguration object.
SimulationConfiguration.import_json
(input_file)Import Json file into SimulationConfiguration object instance.
Attributes
AC Settings class.
Cutout and Batch Settings class.
DC Settings class.
Retrieve the file name loaded for mapping properties value.
Either if open the Edb after the build or not.
Retrieve setup name for the simulation.
Retrieve the SolverType class to select the solver to be called during the project build.