Skip to content

Conversation

@bradcarman
Copy link
Contributor

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Hydraulic components have had defaults removed so that initialization_eqs can be used to form proper initialization systems. The DynamicVolume component still has some issues, maybe related to a bug in MTK, and has been tagged with some TODO comments. All base components are working properly with defaults removed.

Brad Carman and others added 10 commits September 11, 2024 16:11
Removed references to p_int and started debugging the first Hydraulics test case (Fluid Domain and Tube)
The multi volume tube does not solve successfully.
See test/Hydraulic/debugging.jl

Ben Chung guided me to adding a continuous_events function that seems to have bug.
Search for "Need Help" in isothermal_compressible.jl under Hydraulic/test
Note where the error was.
@bradcarman bradcarman self-assigned this Sep 23, 2024
"""
@component function DynamicVolume(N, add_inertia = true, reversible = false;
p_int,
# p_int,
Copy link
Member

Choose a reason for hiding this comment

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

Just remove if it's not used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice catch, resolved

@ChrisRackauckas ChrisRackauckas merged commit 36f4018 into main Sep 23, 2024
6 of 8 checks passed
@ChrisRackauckas ChrisRackauckas deleted the bgc/hydraulic_init branch September 23, 2024 16:08
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.

4 participants