WOLFRAM SYSTEM MODELER
    TankWithOutletModel of a tank with environment pressure at inlet, hydrostatic pressure at the bottom, and an outlet orifice  | 
     | 
SystemModel["Hydraulic.LiquidContainers.TankWithOutlet"]


| p | : | Pressure at the tank bottom | |
![]()  | : | Fluid density | |
| g | : | Standard acceleration of gravity on Earth | |
| h | : | Height of the fluid | 

![]()  | : | Mass flow rate through the opening | |
![]()  | : | Discharge coefficient | |
| A | : | Orifice opening area | |
![]()  | : | Pressure drop over the orifice | |
![]()  | : | Fluid density | 
| medium | 
         Value: Oil() Type: Medium Description: Medium in the component  | 
    
|---|---|
| A_bottom | 
         Value: 1 Type: Area (m²) Description: Bottom area of tank  | 
    
| A_outlet | 
         Value: 0.001 Type: Area (m²) Description: Area of outlet orifice  | 
    
| pEnv | 
         Value: 100000.0 Type: Pressure (Pa) Description: Environment pressure  | 
    
| Cd | 
         Value: 0.62 Type: Real Description: Coefficient of discharge for the opening  | 
    
| hMaxAnimation | 
         Value: 1 Type: Height (m) Description: Max height for animation  | 
    
| port_a | 
         Type: Port_a Description: Port for hydraulic fluid (filled icon)  | 
    |
|---|---|---|
| port_b | 
         Type: Port_b Description: Port for hydraulic fluid (unfilled icon)  | 
    |
| y | 
         Type: RealOutput Description: 'output Real' as connector  | 
    
| medium | 
         Type: Medium Description: Medium in the component  | 
    |
|---|---|---|
| tank | 
         Type: TankWithHeight Description: Model of a tank with fluid height as output  | 
    |
| orifice | 
         Type: ControlledOrifice Description: Controlled restriction  | 
    |
| const | 
         Type: Constant Description: Generate constant signal of type Real  | 
    
| 
        
         Hydraulic.Examples.Accumulators Example circuit with two tanks connected in series  |