-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix PSSE parser of WTDTA1 #279
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #279 +/- ##
========================================
Coverage 78.82% 78.82%
========================================
Files 152 152
Lines 12917 12918 +1
========================================
+ Hits 10182 10183 +1
Misses 2735 2735
Continue to review full report at Codecov.
|
Thanks for the PR! Can you modify the PSSE parser to allow the use of a variable, sys_f, in any equation? This seems to be a much needed feature. |
I made a mistake in the original equation by forgetting about the square. Can you analyze the control diagram and figure out if Freq1 need to be converted to per unit? Recall that in WTDTA1 in ANDES, all other quantities such as H, D, omega are in per unit in system base. The unit of Freq1 should be consistent for the swing equations. |
Sure thing, let me try some solutions. |
I'll check this. |
Something might be wrong here. Either the doc or PSS/E's not following the doc. Anyway, what I asked you to do is to perform a rigorous analysis of the swing equation to reason if |
Sure, let me do this after fixing the initialization error of WTDTA1. |
Kudos, SonarCloud Quality Gate passed! |
Wait, I noticed a bug, give me a moment. Hantao, I think this PR is ready to merge, all the issues related to WTDTA1 are solved:
The enhancement of adding Regards, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
non_negative=True
to the paramMass
in GENBASE, WTDTA1, WTDS