Skip to content

Gen classical #94

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

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from
Open

Gen classical #94

wants to merge 17 commits into from

Conversation

abdourahmanbarry
Copy link
Collaborator

@abdourahmanbarry abdourahmanbarry commented May 3, 2025

Description

Implemented the second-order classical generator model as a Phasor Dynamics family of components. This model has been used to simulate a 2-bus example and the results outputted to a .csv file. New CMake files have been added as needed, and existing ones have been updated to incorporate the new additions.

This closes #73

Proposed changes

I have added a test case that sets up the system with a consistent DAE solution through the initialize method of the classical generator model and checks that the residual is zero. Another test case has been added to verify that the residuals are correct for other states different from the initialization. Additionally, the CMake files have been updated, and I have built and verified that all configurations work correctly.

Checklist

  • Generator model implementation
  • Proper CMake build configuration.
  • Documentation in a form of README file with model equations.
  • Unit tests.
  • Example of usage.

Copy link
Collaborator

@abirchfield abirchfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move the example to PhasorDynamics. Other than that it looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement classical generator model in phasor-domain dynamics familly
3 participants