Skip to content

Commit 7ee4371

Browse files
author
Brad Carman
committed
fixed test
1 parent f1a5591 commit 7ee4371

File tree

2 files changed

+7
-7
lines changed
  • icons/ModelingToolkitStandardLibrary/Hydraulic/IsothermalCompressible
  • test

2 files changed

+7
-7
lines changed

icons/ModelingToolkitStandardLibrary/Hydraulic/IsothermalCompressible/Cap.svg

Lines changed: 4 additions & 4 deletions
Loading

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ D = Differential(t)
2727
duration = Inf,
2828
smooth = 0,
2929
)
30-
src = IC.InputSource(; p_int = 0)
30+
src = IC.Pressure(; p_int = 0)
3131
vol = IC.FixedVolume(; p_int = 0, vol = 10.0)
32-
res = IC.Pipe(N; p_int = 0, area = 0.01, length = 500.0)
32+
res = IC.Tube(N; p_int = 0, area = 0.01, length = 500.0)
3333
end
3434

3535
eqs = Equation[
36-
connect(stp.output, src.input)
36+
connect(stp.output, src.p)
3737
connect(src.port, res.port_a)
3838
connect(vol.port, res.port_b)
3939
connect(src.port, fluid)

0 commit comments

Comments
 (0)