tdcosim / TDcoSim

T&D co-simulation package
Other
23 stars 8 forks source link

BUG: The AggregatedDERApp does not support PSSE33 #34

Closed yim0331 closed 3 years ago

yim0331 commented 3 years ago

Describe the bug The AggregatedDERApp does not follow 'event' API with psspy. The error occurs on the line number 100 in app.py file in tdcosim.app.aggregatedDERApp package location.

In PSSE35, the code is working without error, but in the PSSE33, I encounter the following error: File "c:\users\yim\onedrive - argonne national laboratory\argonne\tdproject\app\tdcosim\tdcosim\app\aggregatedDERApp\aggregatedDER\app.py", line 100, in run_dynamic ierr=self._psspy.dictthisEvent TypeError: dist_clear_fault() got an unexpected keyword argument 'fault'

To Reproduce You can run either ex1.py in tdcosim.app.aggregatedDERApp.example folder or run_aggreagatedDERApp.py in examples folder

Expected behavior This function should work for both PSSE33 and PSSE35

Testing Environment (please complete the following information):

Screenshots

image

yim0331 commented 3 years ago

Solved by commit number ff99facb2572ef24b8a3b364ef0792873e95c75d

Removed default value of the Fault_off function