Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
711 commits
Select commit Hold shift + click to select a range
c2f641a
update plugin core test cases
Jul 10, 2018
0ea0bfb
updated the two classes to get rid of compiling errors.
Jul 10, 2018
3038583
code structure refactor
Jul 12, 2018
4a8a0b8
Merge branch 'cmpldw_merge_06022018' of
Jul 13, 2018
29e4d01
update plugin multiNet implementation and test cases 07/12/18
Jul 13, 2018
e6da0d7
fixed the compile issue.
Jul 13, 2018
d3ff1c9
moved the interface definition from ipss.util to ipss.plugin.QA
Jul 15, 2018
a84332a
Merge branch 'cmpldw_merge_06022018' of
Jul 15, 2018
4353acb
update ipss.pssl
Jul 15, 2018
34251d5
update plug.core test cases, passed test
Jul 16, 2018
54ffb26
update plugin.core, plugin.pssl, and ipss.sample
Jul 16, 2018
455915b
moved the interfaces from ipss.util to ipss.plugin.QA.
Jul 16, 2018
89f6bde
merge pass-1
Jul 16, 2018
e8797e0
fixed the compiling errors
Jul 16, 2018
9dd8c3c
removed un-necessary println statements, no logic changed
Jul 17, 2018
91c3fe7
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Jul 17, 2018
2c56854
update two test cases after switching to master
Jul 17, 2018
5bdb7a0
update classpath
Jul 17, 2018
ddb390c
added the ipss.pssl.test project into the repo
Jul 18, 2018
33985f6
renamed MachineType.java to MachineModelType.java
Jul 19, 2018
aef2628
Updated the IDStabSolver interface, no logic change.
Jul 20, 2018
601d988
# WARNING: head commit changed in the meantime
Jul 20, 2018
4f9a81a
removed obsolete code
Jul 20, 2018
ef08324
Break DynModeljava -> (BaseDynModel.java + DynModel.java)
Jul 20, 2018
28d8300
moved the Triplet class to the ipss.numeric project
Jul 21, 2018
fb6dd55
moved Triplet to ipss.numeric project
Jul 21, 2018
a07544e
Merge branch 'dev_mike'
Jul 21, 2018
a0bb8c3
moved DStab.dynLoad.classed to ipss.plugin.dstab project.
Jul 21, 2018
4d5ef54
update setloadMVA
Aug 13, 2018
0b4697a
fixed bug with dyn load model refactoring
Aug 15, 2018
09f9da0
remove dependence on plugin.multiNet
Aug 24, 2018
3481bc9
add dynLoad monitor test case
Aug 27, 2018
5235212
moved a Java file from test.plugin.core to ipss.sample
Oct 17, 2018
80768df
Merge remote-tracking branch 'origin/master'
Oct 17, 2018
5ff6e9e
changed IpssDclf.contingencyAnalysis() to ca()
Oct 17, 2018
2d8ad29
changed .classpath
Oct 17, 2018
b45db45
added Monad N-1 CA samples
Oct 18, 2018
2880af4
updated the CA samples with the Monad implementation.
Oct 18, 2018
3edc0d2
Delete DistPathLfAlgorithm.class
Oct 18, 2018
e69cb89
Delete DistPathBranchLfSolver.class
Oct 18, 2018
9df332a
Delete DistPathBranchWalker.class
Oct 18, 2018
c945d28
Delete DistPathBusLfSolver.class
Oct 18, 2018
7f58919
Delete DistPathBusWalker.class
Oct 18, 2018
08e2dea
Delete DistPathLfHelper.class
Oct 18, 2018
9420b4e
Delete DistPathNetInitinizer.class
Oct 18, 2018
51491f9
Delete DistPathNetLfSolver.class
Oct 18, 2018
65a7b5c
update codes to fix ACSC classes to ACLF classes remapping issue.
Mar 28, 2019
5e582b9
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Mar 28, 2019
8585a13
update aclf branch data helper to fix aclf class cast errors
Jun 10, 2019
60a1055
updated the .classpath
Nov 26, 2019
1bb8b22
updated the .classpath
Dec 5, 2019
b532d5a
updated .classpath
Dec 5, 2019
1c903c5
added the BPA adapter example.
Dec 5, 2019
7a9458c
added the Compare sample.
Dec 5, 2019
6749600
added the NetBeanComparator classes.
Dec 5, 2019
c302a50
Comparison logic update.
Dec 5, 2019
f4d6041
added the EquivGenLoad sample
Dec 17, 2019
7f1893b
Replace the AC motor dynamic load model and update the test cases
Dec 19, 2019
387a622
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Dec 19, 2019
50945ce
corrected the ipss.plugin.base classpath
Dec 20, 2019
d910f79
updated the Load PV code logic.
Jan 4, 2020
581f4de
remove the GUI edit panel from generator controller implementation
Jan 7, 2020
3be4159
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Jan 7, 2020
6088a18
added the XfrBranchXmlType.magnitizingZSide attribute. Working on the
Jan 14, 2020
613217d
updated per the addition of the xfr.magnitizingZSide field.
Jan 14, 2020
bf1eaa1
update the CMPLDW model
Jan 17, 2020
32ee3af
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Jan 17, 2020
a18dcd9
add zone/area info to the added low volt and load buses
Jan 29, 2020
acea499
updated the .classpath
Feb 5, 2020
678bd1c
add IEEE 300-bus dynamic test case
Feb 6, 2020
6076c77
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Feb 6, 2020
276a3a4
added the IEEE 118-Bus test case
Feb 19, 2020
44590ad
updated the .classpath
Feb 19, 2020
2ca16aa
updated the SE test case.
Feb 19, 2020
a7b9457
Merge remote-tracking branch 'origin/master'
Feb 19, 2020
faf4346
Updated the SE test case.
Feb 19, 2020
865ba9b
Merge branch 'code_refactor'
Feb 20, 2020
3c1cbac
Add IEEE 300 bus dyn test cases
Feb 29, 2020
81107b2
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Feb 29, 2020
54efc6a
set gen name
Mar 25, 2020
4d7dfd8
fixed a bug with ac motor dynamic model under voltage = 0;
Apr 6, 2020
f1c1a2f
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Apr 6, 2020
87ebb79
added the BaseJSONUtilBean.java
Apr 15, 2020
e1b3231
updated the BaseJSONBean.java
Apr 15, 2020
ba61312
updated .classpath per the gson lib update
Apr 19, 2020
bda19f6
updated the test case due to the Network.getBranch() method change.
May 14, 2020
8873984
update multiNet test cases after core update.
Jun 4, 2020
e036bcb
added the ipss.plugin.3phase project
Jun 5, 2020
a19f5a4
documentation only
Jun 10, 2020
a43b16e
removed VSCConvertor, and renamed BaseVSCConverter to VSCConverter.
Jun 30, 2020
74025cb
removed HvdcLine2TVSC.java, and renamed BaseHvdcLine2TVSC.java to
Jun 30, 2020
10027f7
renamed Hvdc CCC to LCC, Line commuted Converter.
Jul 1, 2020
0fa6b8a
commented out print statements.
Jul 1, 2020
8154a4d
add opendss dataparser and update 3phase models
Jul 2, 2020
630f847
Merge pull request #36 from InterPSS-Project/dataParser
Jul 2, 2020
64df9c8
refactored the HVDC model structure.
Jul 2, 2020
997de94
updated the code.
Jul 4, 2020
6a4f4c1
fixed VSC Hvdc test case issues.
Jul 4, 2020
6a6d03b
Merge branch 'hvdc_model_dev'
Jul 4, 2020
b1ca550
no logic change.
Jul 4, 2020
8938b32
update vschvdc power flow unit test case with results
Jul 6, 2020
bc71f0f
updated the plugin test suite.
Jul 6, 2020
ee01e77
renamed HvdcOperationMode
Jul 7, 2020
c83943b
update multi-network module test cases and add a readme.md document
Jul 7, 2020
617003b
Merge remote-tracking branch 'origin/master' into hvdc_model_dev
Jul 9, 2020
9cbcda7
updated the Hvdc test case.
Jul 17, 2020
b6a6e7d
combined HvdcControlMode and ConverterDcControlMode together.
Jul 18, 2020
5e4501e
renamed ConverterACControlMode to VSCAcControlMode.
Jul 18, 2020
21ecfa5
updated the test case.
Jul 19, 2020
ac06416
updated the VSC test case.
Jul 20, 2020
8c749f9
add gen trip and load change scenarios in IEEE 9-bus dstab test cases
Jul 21, 2020
8810b8d
put the ipss.extendedPiecewiseAlgo back
Jul 22, 2020
36f50fe
updated the class path.
Jul 22, 2020
1a5bace
added test data (moved from the extendedPiecewiseAlgo project)
Jul 22, 2020
cc6eaaa
updated the plugin test core.
Jul 22, 2020
5ec77b6
updated the piecewise test cases.
Jul 22, 2020
1ebbb68
Merge branch 'hvdc_model_dev'
Jul 22, 2020
fad1708
updated the Hvdc LCC mapping logic.
Jul 22, 2020
f617f1f
updated the .classpth
Jul 23, 2020
954b68d
updated the DStab EMF model
Jul 23, 2020
66559a8
Merge remote-tracking branch 'origin/master'
Jul 25, 2020
fae6edd
renamed Phase to PhaseType
Jul 26, 2020
9f78728
renamed GenType to GnerationType.
Jul 26, 2020
6b824b6
removed GenerationType class, use dstab.GeneratorType instead.
Jul 26, 2020
2baeab9
3Phase EMF model refactor, moved the two classes to the core package.
Jul 26, 2020
cff464d
updated the code for renaming Branch3Phase to DStab3PBranch, Bus3Phase
Jul 26, 2020
d1f2421
restructured the 3Phase package and class name.
Jul 26, 2020
6db2c18
updated the 3Phase EMF model
Jul 26, 2020
b8515d7
moved all plugin.3Phase test cases under the test package.
Jul 27, 2020
3124b9c
renamed *.basic.acsc to *.basic.static3P.
Jul 27, 2020
12af2be
updated the test cases.
Jul 31, 2020
6ce3ed9
Merge branch 'Three_phase-code_refactor'
Aug 2, 2020
1766e61
no logic change.
Aug 5, 2020
8af3767
restructured the piecewise package structure.
Aug 5, 2020
b6ed22d
package restructured
Aug 5, 2020
c88aee9
added the SubAreaNetProcessor.mergeSubNet().
Aug 5, 2020
52bb38a
added SubAreaNetProcessor.mergeSubNet().
Aug 7, 2020
13fb57b
modified createSubNetwork() signature.
Aug 7, 2020
f2107f6
updated the test cases.
Aug 7, 2020
3bee98c
moved the Static3PXformer class to the core.abc package, and updated the
Aug 8, 2020
e1e14cf
moved Static3PNetwork class to the core.abc package, and updated the
Aug 8, 2020
cac0aa4
documentation only
Aug 9, 2020
ba38240
Merge branch 'Three_phase-code_refactor'
Aug 14, 2020
3741598
code refactor, removed printStackTrace()
Aug 27, 2020
c390193
update test cases for gen trip and connection
Sep 18, 2020
0dcadfd
update the dyn simu event processors
Sep 18, 2020
247c78b
update multi gen test cases
Sep 18, 2020
55c28f1
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Sep 19, 2020
79c500b
update the unit test structure
Sep 23, 2020
fca53e1
update distribution power flow for handling multi-islands
Sep 23, 2020
360c65f
added .classpathLib file
Sep 24, 2020
b02012b
Merge remote-tracking branch 'origin/master'
Sep 24, 2020
1270101
no logic change.
Sep 24, 2020
028645d
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Sep 25, 2020
fc10713
update single-phase AC motor for loadchange()
Sep 28, 2020
08f5a9f
update 3phase models
Oct 22, 2020
fecfd2a
update induction motor for loadchange() function
Oct 22, 2020
a35ad7c
dyn sim Euler method refactoring
Nov 16, 2020
6fc7775
renamed opf to opf.dep for the new OPF development
Nov 17, 2020
14dd873
OPF code refactoring
Nov 17, 2020
168c7d6
added a new ComplexSparseMatrix sample class.
Nov 18, 2020
e9909bd
updated the ComplexSparseMatrix sample class.
Nov 18, 2020
1df48ce
Merge remote-tracking branch 'origin/master'
Nov 18, 2020
cda6a10
update induction motor model: Fonline and output MVABase option
Nov 18, 2020
0f92fa2
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Nov 18, 2020
b388127
refactor the OPF model.
Nov 18, 2020
8fc2e24
renamed sample.ca to sample.dclf_ca
Nov 20, 2020
9dbf4e4
added the DclfSample.java
Nov 20, 2020
7bf8555
added the SenSample.java
Nov 20, 2020
95c9948
Merge remote-tracking branch 'origin/master'
Nov 20, 2020
7a053a9
no logic change.
Nov 20, 2020
4db52b9
updated the ComplexSparseMatrix sample
Nov 20, 2020
7101211
Merge remote-tracking branch 'origin/master'
Nov 24, 2020
2bdbb4f
ISparseEqn.solveEqn(Array) changed to ISparseEqn.solveLUedEqn(Array)
Nov 24, 2020
072e51c
added sample code.
Nov 24, 2020
b1c6998
Completed first milestone of OPF model refactoring.
Nov 25, 2020
a7eb7c7
fixed IEEET1 and IEEEG1 model bugs and updated test cases
Nov 26, 2020
e2ae31d
refactored the OPF model. fixing compiling errors.
Nov 26, 2020
264f9f3
temp
Nov 27, 2020
d2691c5
updated the .classpath files.
Nov 27, 2020
33645f7
Opf code refactoring.
Nov 27, 2020
632420c
Merge branch 'Opf_Dev'
Nov 27, 2020
f13d90e
commented out compile errors.
Nov 27, 2020
3641626
Opf model refactoring.
Nov 27, 2020
fbc34ba
update ipss.plugin after dyn sim refactoring
Dec 1, 2020
49b3fb6
removed contingency.dep package
Nov 27, 2020
a538739
Merge remote-tracking branch 'origin/master'
Jan 6, 2021
31bfea1
moved all dclf classes from dcSen model to the core model
Jan 6, 2021
0cdff5b
moved all dclf classes from dcSen model to the core model
Jan 6, 2021
f386837
Merge remote-tracking branch 'origin/master'
Jan 8, 2021
4c101dc
added the IDclfServer.CacheType concept.
Jan 8, 2021
69f2cf8
added a new CA test case.
Jan 8, 2021
33d40e5
no change
Jan 8, 2021
6dc61e7
added a new test case.
Jan 8, 2021
f34dada
added the ieee14_CAClosurePSSL_Test test case.
Jan 9, 2021
64091f0
renamed dsNet.setActiveStaticLoadModel() to dsNet.setStaticLoadModel()
Jan 10, 2021
41827c1
updated the CA test cases.
Jan 10, 2021
796f045
updated the test case.
Jan 10, 2021
149336c
updated the samples.
Jan 10, 2021
79fca67
updated the test cases.
Jan 10, 2021
b11bbb9
no logic change.
Jan 10, 2021
fbe3aee
SenAnalysisAlgo interface refactor
Jan 11, 2021
050872d
updated the code per the SenAnalysisAlgorithm method name changes.
Jan 12, 2021
a19005a
DclfAlgorithm method name change. No logic change.
Jan 12, 2021
0a69ed9
SenAnalysisAlgorithm method code refactor.
Jan 12, 2021
94509c5
added ContingencyAnalysisAlgorithm and updated the code.
Jan 17, 2021
76845de
UPDATEd the test cases per Dclf code update
Jan 18, 2021
5654a3c
moved classes, no logic change.
Jan 21, 2021
8ac4cd2
refactored exceptions.
Jan 27, 2021
293f04e
refactored the GenAdjustAlgorithm class.
Jan 28, 2021
b4e2b7f
updated the test cases.
Jan 29, 2021
84822c2
completed Dclf Algo refactoring.
Jan 29, 2021
bae9001
completed Dclf Algo refactoring.
Jan 29, 2021
889cc78
Merge branch 'master' of https://github.com/InterPSS-Project/ipss-plu…
Jan 31, 2021
daef81e
refactored dclf package.
Feb 1, 2021
d585ae0
Merge remote-tracking branch 'origin/master'
Feb 3, 2021
e2d25bc
code update, no logic change.
Feb 5, 2021
85a986b
removed obsolete classes.
Feb 6, 2021
a164453
commented out a println statement.
Mar 13, 2021
fc0c609
added P-Ang and Q-Volt sensitivity examples.
Mar 17, 2021
a53fc4d
no logic change.
Mar 23, 2021
c00b522
BaseSubAreaNetProcessorImpl.processSubAreaNet() method bug fix.
Mar 23, 2021
22c8a5c
updated the SubArea processing sample
Mar 23, 2021
84f38c3
added the SubArea analysis max cnt concept.
Mar 25, 2021
ddc5e36
no logic change.
Mar 25, 2021
b27c75f
added a new SubArea parallel branch sample case.
Mar 25, 2021
6228ba8
no logic change.
Mar 29, 2021
52b5d65
updated the SubArea samples.
Mar 30, 2021
9d1247a
added a image file
Mar 30, 2021
6d50dcd
added and implemented SubAreaNetProcessor.processSubAreaNet(boolean
Mar 30, 2021
1334d3d
updated the test case.
Mar 31, 2021
dd0e50f
update TnD co-sim algo and test cases
May 3, 2021
5790dd4
updated the DclfSample sample case.
Jun 16, 2021
c2b80e5
updated the CA samples.
Jun 16, 2021
0fe62aa
updated DclfSample
Jun 16, 2021
d1fd593
chagne SampleCases to SampleTestingCases
Jun 21, 2021
4cce2a3
updated the plugin test cases.
Jun 23, 2021
beb81d6
updated the ipss.sample .classpath
Jun 26, 2021
f589364
removed obsoleted sample cases.
Jun 27, 2021
1263b91
updated ipss.sample classpath files.
Jun 27, 2021
c2779d3
removed obsoleted sample cases.
Jun 27, 2021
9291701
updated ipss.sample cases.
Jun 27, 2021
3aedcb6
restructured cacheBusScVolt concept, updated the test cases.
Jun 27, 2021
ae7734a
removed unnecessary (AclfBus/AclfBranch) casting.
Jun 28, 2021
afe84ff
changed SimpleFaultAlgorithm.scBusVoltageType to scBusModelType.
Jul 2, 2021
51b5133
updated the BaseAcscBus class.
Jul 2, 2021
7cf4d77
removed ScBusModelType.LF_VOLT_EQUIV_LOAD
Jul 3, 2021
c1b35e2
updated the test cases.
Jul 3, 2021
e62b50b
updated the test cases.
Jul 3, 2021
bd52398
Merge branch 'master_research' into dyn_sim_mod_euler
Jul 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ipss-plugin</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
46 changes: 21 additions & 25 deletions ipss.test.plugin.core/.classpathSrc → ipss.cmd/.classpath
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/EMF"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/Spring"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.plugin.base"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.plugin.dstab"/>
<classpathentry kind="lib" path="/ipss.lib.3rdPty/lib/apache/commons-logging.jar"/>
<classpathentry kind="lib" path="/ipss.lib.3rdPty/lib/apache/commons-math3-3.1.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.plugin.core"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.common"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.core_EMF"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.numeric"/>
<classpathentry combineaccessrules="false" kind="src" path="/ieee.odm_pss"/>
<classpathentry combineaccessrules="false" kind="src" path="/ieee.odm.schema"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.dist_EMF"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.dstab_EMF"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.simu_EMF"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.dcSen_EMF"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.pssl"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.util"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/EMF"/>
<classpathentry kind="lib" path="/ipss.lib.3rdPty/lib/apache/commons-logging.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.pssl"/>
<classpathentry combineaccessrules="false" kind="src" path="/ieee.odm_pss"/>
<classpathentry combineaccessrules="false" kind="src" path="/ieee.odm.schema"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.common"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.core_EMF"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.dist_EMF"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.numeric"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.simu_EMF"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.plugin.base"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.plugin.core"/>
<classpathentry combineaccessrules="false" kind="src" path="/ipss.plugin.dstab"/>
<classpathentry kind="lib" path="/ipss.lib.3rdPty/lib/apache/commons-math3-3.6.1.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
1 change: 1 addition & 0 deletions ipss.cmd/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin
17 changes: 17 additions & 0 deletions ipss.cmd/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ipss.cmd</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
24 changes: 24 additions & 0 deletions ipss.cmd/script/ipssCmd.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@echo off

REM define ipss lib location
set BasePath=D:\eclipse\ws\gitRepo\ipss-common
set IpssLib_HOME=%BasePath%\ipss.lib\lib
set Pty3rd_HOME=%BasePath%\ipss.lib.3rdPty\lib

REM define Java classpath

REM ODM and ipss lib files
set IPSS_CLASSPATH=%IpssLib_HOME%\ieee\ieee.odm_pss.jar;%IpssLib_HOME%\ieee\ieee.odm.schema.jar;%IpssLib_HOME%\ipss\ipss_core.impl.jar;%IpssLib_HOME%\ipss\ipss_core.jar;%IpssLib_HOME%\ipss\ipss_plugin.jar;%IpssLib_HOME%\ipss\ipss_pssl.jar;

REM EMF lib files
set IPSS_CLASSPATH=%IPSS_CLASSPATH%;%Pty3rd_HOME%\eclipse\org.eclipse.emf.common.jar;%Pty3rd_HOME%\eclipse\org.eclipse.emf.ecore.change.jar;%Pty3rd_HOME%\eclipse\org.eclipse.emf.ecore.jar;%Pty3rd_HOME%\eclipse\org.eclipse.emf.ecore.xmi.jar;%Pty3rd_HOME%\eclipse\org.eclipse.emf.jar;

REM third-party lib files
set IPSS_CLASSPATH=%IPSS_CLASSPATH%;%Pty3rd_HOME%\sparse\csparsej-1.1.1.jar;%Pty3rd_HOME%\apache\commons-math3-3.2.jar;%Pty3rd_HOME%\apache\commons-logging.jar;%Pty3rd_HOME%\spring\spring-2.5.6.jar;%Pty3rd_HOME%\cache\hazelcast-3.1.jar;%Pty3rd_HOME%\cache\hazelcast-client-3.1.jar;%Pty3rd_HOME%\json\gson-2.2.2.jar;

REM define Java cmd
set JAVA_CMD="C:\Program Files\Java\jre8\bin\java"

REM launch the IpssCmd
REM sample "ipssCmd Aclf testData/aclf/aclfrun.json"
%JAVA_CMD% -classpath %IPSS_CLASSPATH% -Xms512m -Xmx1024m org.interpss.app.IpssCmd -t %1 -c %2
86 changes: 86 additions & 0 deletions ipss.cmd/src/org/interpss/app/IpssCmd.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
package org.interpss.app;

import org.interpss.IpssCorePlugin;
import org.interpss.pssl.plugin.cmd.CmdRunner;
import org.interpss.pssl.simu.BaseDSL;

import com.interpss.CoreCommonFactory;
import com.interpss.common.exp.InterpssException;

public class IpssCmd {
/**
* flag to control printing cmd help info
*/
private static boolean outHelpInfo = false;

/**
* Cmd run type
*/
private static CmdRunner.RunType runType = CmdRunner.RunType.Aclf;

/**
* Cdm run control file. It is in JSON format
*/
private static String controlFilename = null;

/**
* @param args
*/
public static void main(String[] args) {
// init InterPSS runtime env
IpssCorePlugin.init();
BaseDSL.setMsgHub(CoreCommonFactory.getIpssMsgHub());

try {
parseCmdInput(args);

if (outHelpInfo)
System.out.println(getHelpInfo());

new CmdRunner()
.runType(runType)
.controlFilename(controlFilename)
.run();

} catch (Exception e) {
System.err.println(e.toString());
e.printStackTrace();
}

}

private static void parseCmdInput(String[] args) throws InterpssException {
for (int cnt = 0; cnt < args.length; cnt++) {

// parse help message output flag
if (HelpOptStr.equals(args[cnt])) {
outHelpInfo = true;
}

// parse run type info
else if (RunTypeOptStr.equals(args[cnt])) {
String str = args[++cnt];
runType = str.equalsIgnoreCase("Acsc") ? CmdRunner.RunType.Acsc :
str.equalsIgnoreCase("DStab") ? CmdRunner.RunType.DStab :
CmdRunner.RunType.Aclf;
}

// parse run control file
else if (ControlOptStr.equals(args[cnt])) {
controlFilename = args[++cnt];
}
}
}

private final static String RunTypeOptStr = "-t";
private final static String ControlOptStr = "-c";
private final static String HelpOptStr = "-h";

private static String getHelpInfo() {
return "java org.interpss.app.IpssCmd [-h] [-t Aclf|Acsc|DStab] -c controlFile \n"
+ " -h for help info\n"
+ " -t Simulation type Aclf|Acsc|DStab, default Aclf\n"
+ " -c JSON file to control the run\n";
}

}
13 changes: 13 additions & 0 deletions ipss.cmd/testData/aclf/aclfrun.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"dslRunnerClassName":"org.interpss.pssl.plugin.cmd.AclfDslRunner",
"aclfCaseFileName":"testData/aclf/ieee14.ieee",
"aclfOutputFileName":"ieee14_lfResult.txt",
"format":"IEEECommonFormat",
"version":"PSSE_30",
"lfMethod":"NR",
"maxIteration":20,
"tolerance":1.0E-4,
"nonDivergent":false,
"initBusVoltage":false,
"accFactor":1.0
}
13 changes: 13 additions & 0 deletions ipss.cmd/testData/acsc/acscrun.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"dslRunnerClassName":"org.interpss.pssl.plugin.cmd.AcscDslRunner",
"runAclf":false,
"runAclfConfig":{"lfMethod":"NR","maxIteration":20,"tolerance":1.0E-4,"nonDivergent":false,"initBusVoltage":false,"accFactor":1.0},
"type":"BUS_FAULT",
"category":"GROUND_3P",
"zLG":{"re":0.0,"im":0.0},
"zLL":{"re":0.0,"im":0.0},
"faultBusId":"\u003cid\u003e",
"faultBranchFromId":"\u003cid\u003e",
"faultBranchToId":"\u003cid\u003e",
"distance":0.0
}
52 changes: 52 additions & 0 deletions ipss.cmd/testData/acsc/ieee9.raw
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
0, 100.00, 30 / PSS(tm)E-30 RAW created by rawd30 SUN, OCT 07 2012 11:29
00/00/01 100.0 0 0
0
1,'BUS-1 ', 16.5000,3, 0.000, 0.000, 1, 1,1.04000, 0.0000, 1
2,'BUS-2 ', 18.0000,2, 0.000, 0.000, 1, 1,1.02500, 9.2800, 1
3,'BUS-3 ', 13.8000,2, 0.000, 0.000, 1, 1,1.02500, 4.6600, 1
4,'BUS-4 ', 230.0000,1, 0.000, 0.000, 1, 1,1.02500, -2.2200, 1
5,'BUS-5 ', 230.0000,1, 0.000, 0.000, 1, 1,0.99500, -3.9900, 1
6,'BUS-6 ', 230.0000,1, 0.000, 0.000, 1, 1,1.01200, -3.6900, 1
7,'BUS-7 ', 230.0000,1, 0.000, 0.000, 1, 1,1.02500, 3.7200, 1
8,'BUS-8 ', 230.0000,1, 0.000, 0.000, 1, 1,1.01500, 0.7300, 1
9,'BUS-9 ', 230.0000,1, 0.000, 0.000, 1, 1,1.03200, 1.9700, 1
0 / END OF BUS DATA, BEGIN LOAD DATA
5,'1 ',1, 1, 1, 125.000, 50.000, 0.000, 0.000, 0.000, 0.000, 1
6,'1 ',1, 1, 1, 90.000, 30.000, 0.000, 0.000, 0.000, 0.000, 1
8,'1 ',1, 1, 1, 100.000, 35.000, 0.000, 0.000, 0.000, 0.000, 1
0 / END OF LOAD DATA, BEGIN GENERATOR DATA
1,'1 ', 71.640, 27.050, 9999.000, -9999.000,1.04000, 0, 100.000, 0.00000, 0.04, 0.00000, 0.00000,1.00000,1, 100.0, 9999.000, -9999.000, 1,1.0000, 0,0.0000, 0,0.0000, 0,0.0000
2,'1 ', 163.000, 6.650, 9999.000, -9999.000,1.02500, 0, 100.000, 0.00000, 0.089, 0.00000, 0.00000,1.00000,1, 100.0, 9999.000, -9999.000, 1,1.0000, 0,0.0000, 0,0.0000, 0,0.0000
3,'1 ', 85.000, -10.860, 99990.000,-99990.000,1.02500, 0, 100.000, 0.00000, 0.107, 0.00000, 0.00000,1.00000,1, 100.0, 9999.000, -9999.000, 1,1.0000, 0,0.0000, 0,0.0000, 0,0.0000
0 / END OF GENERATOR DATA, BEGIN NON-TRANSFORMER BRANCH DATA
7, 8,'0 ', 0.00850, 0.07200, 0.14900, 0.00, 0.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1, 0.00, 1,1.0000, 0,0.0000, 0,0.0000, 0,0.0000
8, -9,'0 ', 0.01190, 0.10080, 0.20900, 0.00, 0.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1, 0.00, 1,1.0000, 0,0.0000, 0,0.0000, 0,0.0000
5, -7,'0 ', 0.03200, 0.16100, 0.30600, 0.00, 0.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1, 0.00, 1,1.0000, 0,0.0000, 0,0.0000, 0,0.0000
6, -9,'0 ', 0.03900, 0.17000, 0.35800, 0.00, 0.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1, 0.00, 1,1.0000, 0,0.0000, 0,0.0000, 0,0.0000
4, -5,'0 ', 0.01000, 0.08500, 0.17600, 0.00, 0.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1, 0.00, 1,1.0000, 0,0.0000, 0,0.0000, 0,0.0000
4, -6,'0 ', 0.01700, 0.09200, 0.15800, 0.00, 0.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1, 0.00, 1,1.0000, 0,0.0000, 0,0.0000, 0,0.0000
0 / END OF NON-TRANSFORMER BRANCH DATA, BEGIN TRANSFORMER DATA
1, 4, 0, '1', 1, 1, 1, 0, 0, 2, 'Gen1_to_Bus1_cirId_1', 1, 1, 1.0, 0, 0.0, 0, 0.0, 0, 0.0
0.0000, 0.0567, 100.0
1.0000, 16.5, 0.0, 0.0, 0.0, 0.0, 0, 0, 1.1, 0.9, 1.1, 0.9, 33, 0, 0.0, 0.0
1.0, 230.0,
2, 7, 0, '1', 1, 1, 1, 0, 0, 2, 'Gen2_to_Bus2_cirId_1', 1, 1, 1.0, 0, 0.0, 0, 0.0, 0, 0.0
0.0000, 0.0625, 100.0
1.0000, 18.0, 0.0, 0.0, 0.0, 0.0, 0, 0, 1.1, 0.9, 1.1, 0.9, 33, 0, 0.0, 0.0
1.0, 230.0,
3, 9, 0, '1', 1, 1, 1, 0, 0, 2, 'Gen3_to_Bus3_cirId_1', 1, 1, 1.0, 0, 0.0, 0, 0.0, 0, 0.0
0.0000, 0.0586, 100.0
1.0000, 13.8, 0.0, 0.0, 0.0, 0.0, 0, 0, 1.1, 0.9, 1.1, 0.9, 33, 0, 0.0, 0.0
1.0, 230.0,
0 / END OF TRANSFORMER DATA, BEGIN AREA INTERCHANGE DATA
0 / END OF AREA INTERCHANGE DATA, BEGIN TWO-TERMINAL DC DATA
0 / END OF TWO-TERMINAL DC DATA, BEGIN VSC DC LINE DATA
0 / END OF VSC DC LINE DATA, BEGIN SWITCHED SHUNT DATA
0 / END OF SWITCHED SHUNT DATA, BEGIN TRANS. IMP. CORR. TABLE DATA
0 / END OF TRANS. IMP. CORR. TABLE DATA, BEGIN MULTI-TERMINAL DC LINE DATA
0 / END OF MULTI-TERMINAL DC LINE DATA, BEGIN MULTI-SECTION LINE DATA
0 / END OF MULTI-SECTION LINE DATA, BEGIN ZONE DATA
0 / END OF ZONE DATA, BEGIN INTERAREA TRANSFER DATA
0 / END OF INTERAREA TRANSFER DATA, BEGIN OWNER DATA
0 / END OF OWNER DATA, BEGIN FACTS DEVICE DATA
0 / END OF FACTS DEVICE DATA, END OF CASE DATA
29 changes: 29 additions & 0 deletions ipss.cmd/testData/acsc/ieee9.seq
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
0, 30 / PSS(R)E 30 SEQ created by RWSQVERSION FRI, JUN 21 2013 16:16
1,'1 ', 0.00000E+00, 0.04
2,'1 ', 0.00000E+00, 0.089
3,'1 ', 0.00000E+00, 0.107
0 /End of Positive sequence Generator data, Begin Negative sequence Generator data
1,'1 ', 0.00000E+00, 0.04
2,'1 ', 0.00000E+00, 0.089
3,'1 ', 0.00000E+00, 0.107
0 /End of Negative sequence Generator data, Begin Zero sequence Generator data
1,'1 ', 0.00000E+00, 0.04
2,'1 ', 0.00000E+00, 0.089
3,'1 ', 0.00000E+00, 0.107
0 /End of Zero sequence Generator data, Begin Negative sequence Load data
0 /End of Negative sequence Load data, Begin Zero sequence Load data
0 /End of Zero sequence Load data, Begin Zero sequence Branch data
7, 8,'0 ', 0.02125, 0.18, 0.14900, 0.00000, 0.00000, 0.00000, 0.00000
8, 9,'0 ', 0.02975, 0.252, 0.20900, 0.00000, 0.00000, 0.00000, 0.00000
5, 7,'0 ', 0.08, 0.4025, 0.30600, 0.00000, 0.00000, 0.00000, 0.00000
6, 9,'0 ', 0.0975, 0.425, 0.35800, 0.00000, 0.00000, 0.00000, 0.00000
4, 5,'0 ', 0.025, 0.2125, 0.17600, 0.00000, 0.00000, 0.00000, 0.00000
4, 6,'0 ', 0.0425, 0.23, 0.15800, 0.00000, 0.00000, 0.00000,0.00000
0 /End of Zero sequence Branch data, Begin Zero sequence Mutual data
0 /End of Zero sequence Mutual data, Begin Zero sequence Transformer data
1, 4, 0, '1', 3, 0, 0, 0.0000, 0.0567, 0, 0
2, 7, 0, '1', 3, 0, 0, 0.0000, 0.0625, 0, 0
3, 9, 0, '1', 3, 0, 0, 0.0000, 0.0586, 0, 0
0 /End of Zero sequence Transformer data, Begin Zero sequence Switched shunt data
0 / END OF ZERO SEQ. SWITCHED SHUNT DATA, BEGIN ZERO SEQ. FIXED SHUNT DATA
0 / END OF ZERO SEQ. FIXED SHUNT DATA
13 changes: 13 additions & 0 deletions ipss.cmd/testData/acsc/ieee9_Acsc_Config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ "seqFileName":"testData/acsc/ieee9.seq",
"acscOutputFileName":"testData/acsc/ieee9_acsc_result.txt",
"runAclf":false,
"runAclfConfig":{"aclfCaseFileName":"testData/acsc/ieee9.raw","format":"PSSE","version":"PSSE_30","lfMethod":"NR","maxIteration":20,"tolerance":1.0E-4,"nonDivergent":false,"initBusVoltage":false,"accFactor":1.0},
"type":"BUS_FAULT",
"category":"GROUND_3P",
"zLG":{"re":0.0,"im":0.0},
"zLL":{"re":0.0,"im":0.0},
"faultBusId":"Bus5",
"faultBranchFromId":"\u003cid\u003e",
"faultBranchToId":"\u003cid\u003e",
"distance":0.0
}
Loading