Hello, I am new to EMTP. Can anyone help me how to use EMTP in engine mode? I am not able to run the "DWJ" Format from the command window as well.
How use EMTP in Engine mode
To use in engine mode, you need to run the application (from command prompt for example) and give the following arguments:
run('intallationFilePath\EMTP\emtpopt.exe', arguments,'', run_command_wait)
intallationFilePath: ex: C:\Program Files (x86)\EMTPWorks 4.XX
arguments = "C:\Users\YouUserName\AppData\Roaming\EMTP\C_Program_Files_x86_EMTPWorks_X_XX\emtpstate.ini;"
arguments += "C:\Users\YouUserName\AppData\Roaming\EMTP\C_Program_Files_x86_EMTPWorks_X_XX\emtpstate.ini;+"netlistDirectory";waitbar;
netlistDirectory: full directory of the netlist you want the engine to run. The netlist is generated by EMTP GUI.
waitbar: 1 if you want to display the progress panel, 0 else.
run_command_wait: 0 if you want to display the progress panel, -1 else.
DWJ scripts are EMTP JavaScript files. They are used to automate the GUI. You may use them to start simulations as well. For that, use the startemtp_UseRunEMTP function defined in this file from the installation file: C:\Program Files (x86)\EMTPWorks 4.XX\Info Scripts\start_emtp\startemtp_UseRunEMTP.dwj