Skip to content

Commit 252a7aa

Browse files
author
Brad Carman
committed
fixed MechanicalPort initialization
1 parent a76104d commit 252a7aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hydraulic/IsothermalCompressible/components.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ dm ────► │ │ area
522522

523523
ports = @named begin
524524
port = HydraulicPort(; p_int)
525-
flange = MechanicalPort(; f_int = -direction * p_int * area)
525+
flange = MechanicalPort(; f = -direction * p_int * area)
526526
damper = ValveBase(reversible;
527527
p_a_int = p_int,
528528
p_b_int = p_int,

0 commit comments

Comments
 (0)