Skip to content

feat: BaseValve and Turbine update to aviod p_a=0 issues and non-linear closing law.#70

Merged
dietmarw merged 4 commits into
OpenSimHub:masterfrom
boerrebj:valve_correction
Feb 2, 2026
Merged

feat: BaseValve and Turbine update to aviod p_a=0 issues and non-linear closing law.#70
dietmarw merged 4 commits into
OpenSimHub:masterfrom
boerrebj:valve_correction

Conversation

@boerrebj
Copy link
Copy Markdown
Collaborator

The BaseValve model has been updated to make it more robust and added functionaligy:

  • Removed erronous relation to data.p_a (which resolves issue with division by zero)
  • Added advanced option (and tab) to include non-linear relation between opening and throtling

The Turbine model has been updated with specifying smoothness and exterpolation requirements in look_up_table.

@boerrebj boerrebj changed the title Feat: BaseValve and Turbine feat: BaseValve and Turbine update to aviod p_a=0 issues and non-linear closing law. Jan 30, 2026
Copy link
Copy Markdown
Collaborator

@dietmarw dietmarw left a comment

Choose a reason for hiding this comment

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

Thanks, I've did some additional code clean up but no functional change so this is goot to merge.

@dietmarw dietmarw merged commit 5dc922a into OpenSimHub:master Feb 2, 2026
3 checks passed
@dietmarw dietmarw added this to the v3.0.0 milestone Feb 2, 2026
@dietmarw dietmarw added the feature New feature or request label Feb 2, 2026
@dietmarw dietmarw self-assigned this Feb 2, 2026
@boerrebj boerrebj deleted the valve_correction branch February 23, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants