We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cd2dc0 commit 5fdfc22Copy full SHA for 5fdfc22
docs/src/connectors/sign_convention.md
@@ -159,11 +159,10 @@ using ModelingToolkitStandardLibrary.Hydraulic.IsothermalCompressible
159
160
@mtkmodel ConstantMassFlow begin
161
@parameters begin
162
- p_int
163
dm
164
end
165
@components begin
166
- port = HydraulicPort(; p_int)
+ port = HydraulicPort()
167
168
@equations begin
169
port.dm ~ -dm
@@ -176,7 +175,7 @@ A positive input mass flow leads to an increasing pressure (in this case we get
176
175
```@example sign_convention
177
@mtkmodel System begin
178
179
- volume = FixedVolume(; vol = 10.0, p_int = 0.0)
+ volume = FixedVolume(; vol = 10.0)
180
flow = ConstantMassFlow(; dm = 1)
181
fluid = HydraulicFluid()
182
0 commit comments