Skip to content

Conversation

@pandeysudan1
Copy link
Contributor

This PR addresses Issue #64: “Interfaces should not contain calculated values”.

Changes

  • Removed ContactPort and ContactNode from Interfaces so that variables and relations are defined explicitly inside the device model
  • TwoContact is now named TwoContacts
  • Updated all the models that depend on ContactPort and `ContactNode'.
  • Waterway components and Turbine components are updated using TwoContacts, and with connector variables and relations defined explicitly.
  • TurbineContacts is now formed using TwoContacts.
  • Turbine models including Francis and Pelton are included with explicit connector-equations
  • Simple modeling using waterways and turbine is tested to recover the same results

Please let me know if you find anything that needs to be updated.

Thanks.

dietmarw and others added 2 commits November 14, 2025 17:12
…ontact

OpenHPL.Waterway and OpenHPL.ElectroMech.Turbines models are updated

- Simple model is checked and verified.
@dietmarw
Copy link
Collaborator

Thanks @pandeysudan1. I have not forgotten about this, just not had the time to go through this thoroughly.

@pandeysudan1
Copy link
Contributor Author

Thanks @pandeysudan1. I have not forgotten about this, just not had the time to go through this thoroughly.

Thanks for the reply @dietmarw

@dietmarw dietmarw merged commit 4e4d7bf into OpenSimHub:master Dec 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants