add_siwave_dc_analysis

EdbSiwave.add_siwave_dc_analysis(setup_settings=<pyaedt.edb_core.siwave.SiwaveDCSetupTemplate object>)[source]

Create a Siwave DC Analysis in EDB.

If Setup is present it will be deleted and replaced by new actual settings.

Note

Source Reference to Ground settings works only from 2021.2

Parameters
setup_settingspyaedt.edb_core.siwave.SiwaveDCSetupTemplate
Returns
bool

True when successful, False when failed.

Examples

>>> from pyaedt import Edb
>>> edb = Edb("pathtoaedb", edbversion="2021.2")
>>> edb.core_siwave.add_siwave_ac_analysis()
>>> settings = edb.core_siwave.get_siwave_dc_setup_template()
>>> settings.accuracy_level = 0
>>> settings.use_dc_custom_settings  = True
>>> settings.name = "myDCIR_3"
>>> settings.pos_term_to_ground = "I1"
>>> settings.neg_term_to_ground = "V1"
>>> edb.core_siwave.add_siwave_dc_analysis2(settings)