Yes and it is quite easy. Here is a sample code that updates the simulation options :
parseScriptFile('simoptions/save.dwj');//Create Object from current circuitoSimoptions = new oDevice_(cct)oSimoptions.LoadFlow = 0;oSimoptions.StartFromLoadFlow = 0;oSimoptions.steadystate = 0;oSimoptions.timedomain = 1;oSimoptions.fscan = 0;oSimoptions.Dt = 10;oSimoptions.tmax = 1000;oSimoptions.SaveData();
dev1=cct.addDevice(DWLibrary('RLC branches.clf').loadType('PI line 3-phase'),0,0,'s')
array=SPArray('1 2 \n 3 4 \n 5 6 \n 0 0 0 \n 0 0 0 \n 0 0 0 \n');
I intend to put the sequence data therefore my array is 'R0 R1 \n L0 L1 \n C0 C1 \n all 0's for initial conditions'
By what i see in the .ecf while when i open the pi line is this: R0=1 R1=2, L0=1 L0=2 C0=1 and C1=1
and Initial condition matrix shown is
1 4 0
2 5 0
3 6 0
Can you please point out the mistake in this?
Thanks in advance!