Hello All,
I am trying to modify the system data imported from a CDF file before commencing the loadflow, but it was not accepting the update. The following is the code I have used:
Output: Both print statements giving same output and the powerflow results are same as the standard case.
Before : (0.061, 0.016)
After : (0.061, 0.016)
Can somebody suggest a suitable fix to this issue?
Hello All, I am trying to modify the system data imported from a CDF file before commencing the loadflow, but it was not accepting the update. The following is the code I have used:
IpssCorePlugin.init(); AclfNetwork mynet = CorePluginObjFactory .getFileAdapter(IpssFileAdapter.FileFormat.IEEECDF) .load("testData/ieee/IEEE14Bus.dat") .getAclfNet(); System.out.println(Before : "+mynet.getBus("Bus12").getLoadPQ()); AclfBus tbus= mynet.getBus("Bus12"); tbus.setLoadPQ(new Complex(0.8,0.65)); mynet.setBus("Bus12", tbus); System.out.println("After: "+mynet.getBus("Bus12").getLoadPQ());
Output: Both print statements giving same output and the powerflow results are same as the standard case. Before : (0.061, 0.016) After : (0.061, 0.016) Can somebody suggest a suitable fix to this issue?