Skip to content

fix!: Correct the speed in and outputs of the base class for turbine, generator and grid#71

Merged
dietmarw merged 2 commits into
OpenSimHub:masterfrom
dietmarw:feat/pu-speeds
Feb 2, 2026
Merged

fix!: Correct the speed in and outputs of the base class for turbine, generator and grid#71
dietmarw merged 2 commits into
OpenSimHub:masterfrom
dietmarw:feat/pu-speeds

Conversation

@dietmarw
Copy link
Copy Markdown
Collaborator

@dietmarw dietmarw commented Feb 2, 2026

Previously it was confusing what was in Hz, what in rad/s (mechanical, synchronous?) and what in pu. This also let to a wrongly calculated output "frequency" signal.
It has been now fixed in a way that the speed(frequency) in and outputs and initial values are always in pu. The only non-pu output is the optional "w" connector which represents the real mechanical angular velocity.

@dietmarw dietmarw self-assigned this Feb 2, 2026
@dietmarw dietmarw requested a review from boerrebj February 2, 2026 10:46
@dietmarw dietmarw changed the title bug: Fix the speed in and outputs of the base class for turbine, generator and grid fix: Correct the speed in and outputs of the base class for turbine, generator and grid Feb 2, 2026
@dietmarw dietmarw changed the title fix: Correct the speed in and outputs of the base class for turbine, generator and grid fix!: Correct the speed in and outputs of the base class for turbine, generator and grid Feb 2, 2026
@dietmarw dietmarw added the fix label Feb 2, 2026
@dietmarw dietmarw added this to the v3.0.0 milestone Feb 2, 2026
The only non-pu signal is the w output which is the real mechanical angular velocity
@dietmarw dietmarw merged commit 2678cae into OpenSimHub:master Feb 2, 2026
3 checks passed
@dietmarw-se dietmarw-se deleted the feat/pu-speeds branch February 12, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant