---
url: /dyad/dev/stdlib/HVACComponents/types/Components.Partial.PartialDistributedFlow.md
description: >-
  Dyad Components.Partial.PartialDistributedFlow docs.  Partial base class for a
  steady-state distributed momentum balance over m cells.
---

# `Components.Partial.PartialDistributedFlow` {#Components.Partial.PartialDistributedFlow}

Partial base class for a steady-state distributed momentum balance over m cells.

Provides per-cell momentum-flow variables and the steady-state balance 0 = Ib_flows - Fs_p - Fs_fg. Extending components must declare the structural parameter m (number of momentum cells), bind pathLengths via an initial equation, and supply the pressure-force, friction-and-gravity, and boundary- momentum-flow contributions consistent with their discretisation. For a staggered grid m is typically one less than the number of mass/energy cells.

## Usage {#Usage}

`HVACComponents.Components.Partial.PartialDistributedFlow(pathLengths=missing, m_flow_start)`

## Parameters: {#Parameters:}

|           Name |                                                        Description | Units | Default value |
| --------------:| ------------------------------------------------------------------:| -----:| -------------:|
| `m_flow_start` | Initial mass flow rate \[kg/s] (solver guess applied to every cell) |  kg/s |               |

## Variables {#Variables}

|       Name |                                                                         Description | Units |
| ----------:| -----------------------------------------------------------------------------------:| -----:|
|  `m_flows` |                              Mass flow rate in each momentum cell \[kg/s] (length m) |  kg/s |
|       `Is` |                         Momentum of fluid in each momentum cell \[kg.m/s] (length m) |     – |
|     `Fs_p` |              Pressure force on each momentum cell \[N] (length m); extender supplies |     – |
|    `Fs_fg` | Friction-plus-gravity force on each momentum cell \[N] (length m); extender supplies |     – |
| `Ib_flows` |           Momentum flow across each cell boundary \[N] (length m); extender supplies |     – |
