# MTK Components: PDE boundary conditions?

**URL:** https://discourse.julialang.org/t/mtk-components-pde-boundary-conditions/136689
**Category:** Modelling & Simulations
**Created:** [April 12, 2026, 2:29pm UTC](https://discourse.julialang.org/t/mtk-components-pde-boundary-conditions/136689 "2026-04-12T14:29:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)
#### Post date: [April 12, 2026, 2:29pm UTC](https://discourse.julialang.org/t/mtk-components-pde-boundary-conditions/136689/1 "2026-04-12T14:29:50Z")

</div>

I have a distributed pipe model connected to a hydraulic port with “potential” p (pressure), and mass flow rate as Flow.

So with two PDEs (one in pressure, one in mass flow rate) + some AEs, what is the correct way to connect the model to the ports at each end? For a well posed system, there should be one BC at each end.

* * *

OK, I think I found a way around it.
