modelLine
Short line with one volume and wall friction
Extends from OpenHydraulics.Interfaces.PartialFluidComponent (Base model for any component involving fluid).
Information
Simple pipe model consisting of one volume, wall friction (with different friction correlations) and gravity effect. This model is mostly used to demonstrate how to build up more detailed models from the basic components. Note, if the "thermalPort" is not connected, then the pipe is totally insulated (= no thermal flow from the fluid to the pipe wall/environment).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Sizing | |||
| SI.Length | L | Length of line | |
| SI.Diameter | D | Inner (hydraulic) diameter of line | |
| SI.Length | roughness | 2.5e-5 | Absolute roughness of pipe (default = smooth steel pipe) |
| SI.BulkModulus | lineBulkMod | 1e7 | Bulk Modulus of the line |
| Initialization | |||
| Boolean | uniformPressure | true | True if initial pressure is equal throughout line |
| Initialization › Fluid | |||
| SI.AbsolutePressure | p_init (from PartialFluidComponent) | environment.p_ambient | Initial temperature of the component |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| OpenHydraulics.Interfaces.FluidPort | port_a | ||
| OpenHydraulics.Interfaces.FluidPort | port_b |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Basic.WallFriction | wallFriction_a | ||
| Basic.VolumeClosed | volumeMiddle | ||
| Basic.WallFriction | wallFriction_b | ||
| OpenHydraulics.Fluids.BaseClasses.PartialFluid | oil (from PartialFluidComponent) | This model must be defined in each circuit; the type must be a subtype of PartialFluid | |
| Basic.VolumeClosed | volumeA | ||
| Basic.VolumeClosed | volumeB |