BoundaryPressure
Boundary with prescribed pressure
Usage
BoundaryPressure()
Connectors
Behavior
Behavior of this component cannot be rendered because it includes path
variables.
Source
dyad
# Boundary with prescribed pressure
component BoundaryPressure
port = Port()
# Prescribed boundary pressure
p = RealInput()
relations
port.p = p
end
Flattened Source
dyad
# Boundary with prescribed pressure
component BoundaryPressure
port = Port()
# Prescribed boundary pressure
p = RealInput()
relations
port.p = p
metadata {}
end
Test Cases
This is setup code, that must be run before each test case.
julia
using HydraulicComponents
using ModelingToolkit, OrdinaryDiffEqDefault
using Plots
using CSV, DataFrames
snapshotsdir = joinpath(dirname(dirname(pathof(HydraulicComponents))), "test", "snapshots")
"/home/actions-runner-10/.julia/packages/HydraulicComponents/EtOYG/test/snapshots"
Related
Examples
Experiments
Analyses
Tests