InterPSS-Project / ipss-odm

InterPSS ODM development
5 stars 8 forks source link

How can I correctlly import bpa format dstab data #17

Open shichen164429350 opened 6 years ago

shichen164429350 commented 6 years ago

In the bpa adappter assertTrue(adapter.parseInputFile(NetType.DStabNet, new String[]{} I want to input the following BPA format dstab data for Power system transient simulation. new String[]{ "testData/bpa/tegaoyatouchan/hd2010.cur "testData/bpa/tegaoyatouchan/hd2010.DXT", "testData/bpa/tegaoyatouchan/hd2010.dat", "testData/bpa/tegaoyatouchan/hd2010.swi", "testData/bpa/tegaoyatouchan/hd2010.emf" } But I do not know the correct order of the name of the data, and get the errors" 严重: java.lang.NullPointerException" Could you tell me the correct order? Thank you!

jinjingfarm commented 6 years ago

@thuang can you answer the question?

thuang commented 6 years ago

The parser only needs .dat and .swi data files. Please see the example here: https://github.com/InterPSS-Project/ipss-odm/blob/master/ieee.odm.test/src/org/ieee/odm/bpa/IEEE9_DStabTest.java @shichen164429350