Skip to content

Conversation

@dietmarw
Copy link
Collaborator

@dietmarw dietmarw commented Apr 3, 2024

This fixes #57 by adding a base class of a valve which then in turn is used by a new valve model and a modified simple turbine model.

@dietmarw dietmarw self-assigned this Apr 3, 2024
@dietmarw dietmarw requested a review from boerrebj April 3, 2024 12:06
@dietmarw dietmarw added the enhancement New feature or request label Apr 3, 2024
@dietmarw dietmarw added this to the v2.1.0 milestone Apr 3, 2024
@dietmarw dietmarw force-pushed the t57-isolated-valve branch from cc4eb02 to c8772cc Compare April 3, 2024 12:20
@dietmarw
Copy link
Collaborator Author

dietmarw commented Apr 3, 2024

@boerrebj I'm not expecting you to go through this in detail but if you could just take a quick look at OpenHPL.Examples.SimpleValve and how the new OpenHPL.Waterway.Valve is now using OpenHPL.ElectroMech.BaseClasses.BaseValve and if you think this is OK. Then you can approve it :-)

@dietmarw dietmarw force-pushed the t57-isolated-valve branch 2 times, most recently from 968d379 to 49cf546 Compare April 17, 2024 08:08
@dietmarw dietmarw force-pushed the t57-isolated-valve branch from 49cf546 to 6d376e4 Compare June 28, 2024 10:23
@dietmarw dietmarw force-pushed the master branch 2 times, most recently from 0de3159 to ef0b3ac Compare August 15, 2025 11:31
@dietmarw
Copy link
Collaborator Author

@boerrebj Any chance to have a look at this? I'm pretty sure this can be merged as is, but then again of course I would say that ;-)

dietmarw and others added 7 commits January 16, 2026 10:41
Fixes #75

At the same time a simple valve component is introduced which is based on the `BaseValve` model just like the turbine model is now also based on this.
An example model was also added.
Since we now have a `SimpleValve` model a it seems better to emphasise when a turbine is part of the example.
Copy link
Collaborator Author

@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.

lgtm

@dietmarw dietmarw merged commit 3a8ae4a into OpenSimHub:master Jan 16, 2026
2 checks passed
@dietmarw dietmarw deleted the t57-isolated-valve branch January 16, 2026 11:47
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.

Create an isolated valve model

2 participants