You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case ieee9 bus test,I changed the default psse format data into the bpa format data, but something went wrong:
At first ,I want to use my own data to finish my project, but it always went wrong, finally, I found that I cannot even input the 07c-dc2load.dat and IEEE9.DAT, that's so terrible.
Can anyone help me ?Thanks!
/////////////////////////code//////////////////////////////
public class DStab_IEEE9Bus_Test {
IPSSMsgHub msg = CoreCommonFactory.getIpssMsgHub(); @test
public void test_IEEE9Bus_Dstab(){
IpssCorePlugin.init();
BPAAdapter adapter = new BPAAdapter();
assertTrue(adapter.parseInputFile(NetType.DStabNet, new String[]{
"testData/bpa/tegaoyatouchan/IEEE9.dat"
}));
DStabModelParser parser =(DStabModelParser) adapter.getModel();
//////////////////////////////////////////////////////////
error message :
二月 20, 2019 3:27:37 下午 org.ieee.odm.adapter.AbstractODMAdapter parseInputStream
严重: java.lang.ArrayIndexOutOfBoundsException: 1
java.lang.ArrayIndexOutOfBoundsException: 1
at org.ieee.odm.adapter.bpa.BPAAdapter.parseInputFile(BPAAdapter.java:116)
at org.ieee.odm.adapter.AbstractODMAdapter.parseInputFile(AbstractODMAdapter.java:234)
at org.ieee.odm.adapter.AbstractODMAdapter.parseInputStream(AbstractODMAdapter.java:191)
at org.ieee.odm.adapter.AbstractODMAdapter.parseInputFile(AbstractODMAdapter.java:215)
at org.ieee.odm.adapter.AbstractODMAdapter.parseInputFile(AbstractODMAdapter.java:202)
at org.interpss.tutorial.ch5_dstab.DStab_IEEE9Bus_Test.test_IEEE9Bus_Dstab(DStab_IEEE9Bus_Test.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:
////////////////////////////////////////////////////////
The text was updated successfully, but these errors were encountered:
In the case ieee9 bus test,I changed the default psse format data into the bpa format data, but something went wrong:
At first ,I want to use my own data to finish my project, but it always went wrong, finally, I found that I cannot even input the 07c-dc2load.dat and IEEE9.DAT, that's so terrible.
Can anyone help me ?Thanks!
/////////////////////////code//////////////////////////////
public class DStab_IEEE9Bus_Test {
IPSSMsgHub msg = CoreCommonFactory.getIpssMsgHub();
@test
public void test_IEEE9Bus_Dstab(){
IpssCorePlugin.init();
BPAAdapter adapter = new BPAAdapter();
assertTrue(adapter.parseInputFile(NetType.DStabNet, new String[]{
"testData/bpa/tegaoyatouchan/IEEE9.dat"
}));
DStabModelParser parser =(DStabModelParser) adapter.getModel();
//////////////////////////////////////////////////////////
error message :
二月 20, 2019 3:27:37 下午 org.ieee.odm.adapter.AbstractODMAdapter parseInputStream
严重: java.lang.ArrayIndexOutOfBoundsException: 1
java.lang.ArrayIndexOutOfBoundsException: 1
at org.ieee.odm.adapter.bpa.BPAAdapter.parseInputFile(BPAAdapter.java:116)
at org.ieee.odm.adapter.AbstractODMAdapter.parseInputFile(AbstractODMAdapter.java:234)
at org.ieee.odm.adapter.AbstractODMAdapter.parseInputStream(AbstractODMAdapter.java:191)
at org.ieee.odm.adapter.AbstractODMAdapter.parseInputFile(AbstractODMAdapter.java:215)
at org.ieee.odm.adapter.AbstractODMAdapter.parseInputFile(AbstractODMAdapter.java:202)
at org.interpss.tutorial.ch5_dstab.DStab_IEEE9Bus_Test.test_IEEE9Bus_Dstab(DStab_IEEE9Bus_Test.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:
////////////////////////////////////////////////////////
The text was updated successfully, but these errors were encountered: