Skip to content

Add classical generator model#127

Merged
pelesh merged 8 commits into
developfrom
slaven/gen_classical_dev
Jun 5, 2025
Merged

Add classical generator model#127
pelesh merged 8 commits into
developfrom
slaven/gen_classical_dev

Conversation

@pelesh
Copy link
Copy Markdown
Collaborator

@pelesh pelesh commented Jun 4, 2025

Description

Add classical generator (second order) model to phasor domain dynamics family.

Closes #73

@alexander-novo @reid-g @lukelowry

Proposed changes

Implemented model and unit test borrowing from PR #94. Fixed (hopefully) some errors in the code and documentation, most notably the sign for the stator susceptance. The model has not been tested in simulations yet, only with unit tests.

Creating a usage example is out of scope for this PR.

Checklist

  • All tests pass.
  • Code compiles cleanly with flags -Wall -Wpedantic -Wconversion -Wextra.
  • The new code follows GridKit™ style guidelines.
  • There are unit tests for the new code.
  • The new code is documented.
  • The feature branch is rebased with respect to the target branch.

Further comments

Documentation needs to be proofread by a domain expert before this should be merged.

@pelesh pelesh self-assigned this Jun 4, 2025
@pelesh pelesh added enhancement New feature or request good first issue Good for newcomers testing new model labels Jun 4, 2025
@pelesh pelesh mentioned this pull request Jun 4, 2025
10 tasks
@pelesh pelesh force-pushed the slaven/gen_classical_dev branch from 9a0c7a1 to 25693a8 Compare June 4, 2025 21:31
Copy link
Copy Markdown
Collaborator

@abdourahmanbarry abdourahmanbarry left a comment

Choose a reason for hiding this comment

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

I have not found any issues. I think this looks great!

Comment thread src/Model/PhasorDynamics/SynchronousMachine/GenClassical/GenClassical.cpp Outdated
@pelesh pelesh merged commit 82ce05e into develop Jun 5, 2025
3 checks passed
This was referenced Jun 5, 2025
@pelesh pelesh deleted the slaven/gen_classical_dev branch June 10, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request good first issue Good for newcomers new model testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement classical generator model in phasor-domain dynamics familly

3 participants