Skip to content

Commit 4cb092d

Browse files
committed
Remove duplicate equations
1 parent 06309dd commit 4cb092d

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

OpenHPL/Waterway/SurgeTank.mo

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,6 @@ equation
148148
end if;
149149
p_t = data.p_a;
150150
end if;
151-
mdot = data.rho * Vdot;
152-
Mdot = mdot * v;
153-
F = F_p - F_f - F_g;
154-
p_b = i.p "Linking bottom node pressure to connector";
155-
i.p = o.p "Inlet and outlet pressure equality";
156-
mdot = i.mdot+o.mdot "Mass balance";
157-
F_g = m * data.g * cos_theta;
158151
o.z = i.z "Elevation at surge tank inlet and outlet are equal";
159152
annotation (preferredView="info",
160153
Documentation(info="<html>

0 commit comments

Comments
 (0)