Skip to content

Future proof exciters - #557

Merged
nkoukpaizan merged 4 commits into
developfrom
lukel/exciter-future-dev
Aug 31, 2026
Merged

Future proof exciters#557
nkoukpaizan merged 4 commits into
developfrom
lukel/exciter-future-dev

Conversation

@lukelowry

@lukelowry lukelowry commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Description

A few changes since we have not released yet that will help with future-proofing this version of GridKit

Proposed changes

  • Modern implementation of ports for exciter models
  • Documentation reflects implementation for exciters
  • SystemModel correctly configures new port wiring for exciters

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.
  • NA The CHANGELOG.md has been updated to reflect the changes. If this is a minor PR that is part of a larger fix already included in the file, state so.

Further comments

None

@lukelowry
lukelowry force-pushed the lukel/exciter-future-dev branch from 3489423 to e443aed Compare August 29, 2026 01:15
@lukelowry

Copy link
Copy Markdown
Collaborator Author

@nkoukpaizan Ready

@lukelowry
lukelowry marked this pull request as ready for review August 31, 2026 15:43

@nkoukpaizan nkoukpaizan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

A couple of comments. Otherwise looks good.

// Set input variables.
if (signals_.template isAttached<Ieeet1ExternalVariables::OMEGA>())
// Attached signals are read live; unattached ones keep the latched value.
auto read_signal = [&]<Ieeet1ExternalVariables variable>(const ScalarT& latched)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

As @superwhiskers pointed out in another PR, we need to be thinking about ways to extract these common helper lambdas.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I agree, these are temporary until the external api is enhanced (@PhilipFackler and slaven were working on this in a recent PR).

Comment thread GridKit/Model/PhasorDynamics/Exciter/SEXS-PTI/SexsPtiImpl.hpp Outdated
Comment thread GridKit/Model/PhasorDynamics/Exciter/IEEET1/Ieeet1Impl.hpp Outdated
@lukelowry

Copy link
Copy Markdown
Collaborator Author

@nkoukpaizan let me know what you think.

@nkoukpaizan nkoukpaizan added the enhancement New feature or request label Aug 31, 2026
@nkoukpaizan
nkoukpaizan merged commit f1da4df into develop Aug 31, 2026
6 checks passed
@lukelowry
lukelowry deleted the lukel/exciter-future-dev branch August 31, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants