Skip to content

Conversation

@KatrinKoesler
Copy link
Collaborator

@KatrinKoesler KatrinKoesler commented Nov 21, 2025

Added valve status as output

Current situation

Currently, there is no variable indicating whether a valve is open or closed in the output of the valve block. This would be an useful information to have when testing cardiovascular networks that include chambers and valves.

Release Notes

  • Included the valve status (given by the tanh function; 1: fully open, 0: fully closed) as output of the valve block.
  • Changed the test result files for test cases using the valves to include the valve status outputs

Testing

All tests run

Code of Conduct & Contributing Guidelines

Copy link
Member

@mrp089 mrp089 left a comment

Choose a reason for hiding this comment

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

Thanks, @KatrinKoesler, very helpful! A few comments in the review

@mrp089
Copy link
Member

mrp089 commented Dec 1, 2025

Looks great, @KatrinKoesler! If you change the three small things in the documentation, it's good to merge.

* 0 & 0 & 0 & 0
* \mathbf{E}^{e}=\left[\begin{array}{ccccc}
* 0 & 0 & 0 & 0 & 0 \\
* 0 & 0 & 0 & 0 & 0 \\
Copy link
Member

Choose a reason for hiding this comment

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

\mathbf{E}^{e}=\mathbf{0}

* \left[\begin{array}{ccccc}
* 0 & 0 & 0 & 0 & 0\\
* 0 & 0 & 0 & 0 & 0\\
* 0 & 0 & 0 & 0 & 0
Copy link
Member

Choose a reason for hiding this comment

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

\mathbf{0}

* \mathbf{F}^{e}=\left[\begin{array}{ccccc}
* 1 & -(R_{max}+R_{min})/2.0 & -1 & 0 & 0\\
* 0 & 1 & 0 & -1 & 0\\
* 0 & 0 & 0 & 7 & 1
Copy link
Member

Choose a reason for hiding this comment

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

7?

@mrp089 mrp089 merged commit 74dcbec into SimVascular:master Dec 2, 2025
10 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