Storage Tank
A finite-volume tank charged and discharged through the same port. Transients track inventory, pressure, temperature, and composition; pressure and port schedules determine isolation.
Component Appearance and Location
Expand Storage Tank in component library on the left and find "storage tank".
Ports and Connections
| Port Key | Type | Direction | Interface Name | Display Conditions |
|---|---|---|---|---|
0 | FLUID | input | fluid inlet | always show |
An open port is bidirectional: positive enters the tank, negative leaves. Use a Measurement Instrument for measurements and Port Change Schedule for actions.
Parameter List
Equipment Specifications
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Tank Volume [m³] | TankVolume | real | 35 | Effective geometric gas volume for initial inventory and transient charging/withdrawal. |
| Connection Elevation [m] | PortElevation | real | 0 | Connection elevation on common network datum, matching connected pipe ports. |
| Low-Pressure Protection Limit [MPa(g)] | MinPressure | real | 0 | Transient low limit latches the port closed. Recovery needs later Open and pressure inside limits; violations relatch. Protection, not regulation. Equal limits leave no open interval. |
| High-Pressure Protection Limit [MPa(g)] | MaxPressure | real | 150 | Transient high limit latches the port closed. Recovery needs later Open and safe pressure; violations relatch. Does not clamp pressure. |
Thermal Calculation
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Heat Transfer Area [m²] | SurfaceArea | real | 35 | Effective area on the coefficient basis; tank-wall thermal storage is not modeled. |
| Overall Heat Transfer Coefficient Mode | HeatTransferCoefficientInputMode | choice | Fixed Value / Time Curve | Fixed or time-dependent overall coefficient for non-isothermal transients. |
| Tank Overall Heat Transfer Coefficient [W/(m²·K)] | HeatTransferRate | real | 0 | Coefficient based on tank area. Zero removes environmental exchange but flow can still change temperature. Fixed mode retains area/environment settings. |
| Overall Coefficient Curve | CurveLibraryHeatTransferCoefficientName | choice | __UNSELECTED__ | Select a time series for the overall heat transfer coefficient. The coefficient applies to this tank's heat transfer area, and the series must cover the transient simulation period. |
| Ambient Temperature Mode | AmbientTemperatureInputMode | choice | Fixed Value / Time Curve | Choose fixed ambient temperature or a time curve. |
| Ambient Temperature [℃] | AmbientTemperature | real | 25 | Ambient tank temperature for non-isothermal transient heat transfer. |
| Ambient Temperature Curve | CurveLibraryTemperatureName | choice | __UNSELECTED__ | Select a time series for the ambient temperature outside the tank. The series must cover the transient simulation period. |
Gas and Initial Conditions
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Initial Tank Gas | InitialCompositionalFluid | choice | — | Initial tank gas, subsequently updated by port balances and inventory mixing. |
| Initial Tank Gas | InitialSimpleFluid | choice | — | Initial tank gas, subsequently updated by port balances and inventory mixing. |
| Initial Port State | Status | choice | Open / Closed | Initial open/closed state. Closure stops exchange and retains inventory; non-isothermal heat can still change P/T. Future events apply later. |
| Initial Tank Pressure [MPa(g)] | InitialPressure | real | 10 | Initial gauge pressure, steady open-port boundary or transient inventory state. Converted absolute pressure must be positive. |
| Initial Tank Temperature [℃] | InitialTemperature | real | 25 | Initial non-isothermal tank temperature; steady-state uses it for boundaries, transients evolve it with flow/heat. Isothermal uses global temperature. |
Transient Events
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Port Change Schedule | Events | table | Configure one row at a time | Future open/close events. Panel defines initial state; past/start rows do not execute. Open also attempts protection release; violations relatch. |
| Port Change Schedule / Time | Events.time | datetime | 2026-01-01 00:00:00 | Event effective time. |
| Port Change Schedule / Port State | Events.PortStatus | choice | Open / Closed | Port state after event. |
Parameter Guidance
- Volume/elevation/state. Enter gas volume in m³, shared elevation datum, matching gas, and initial MPa(g). Non-isothermal uses panel temperature; isothermal uses global temperature.
- Protection. Low/high MPa(g) limits require pressure strictly between them for normal transient operation.
- Environmental heat transfer. Applies during non-isothermal transients. Use the same area basis for the heat transfer area and overall coefficient. Choose a fixed value or time curve separately for coefficient and ambient temperature. Curves must cover the calculation interval. The software interpolates time curves linearly at the end of each step.
- Port actions. Initial state uses panel; future open/close times must be after start, unique, and increasing. Protection also governs actual state.
Enter Environmental Curves
For each input configured as a Time Curve, choose Edit Local Curve to enter time and value pairs on the tank or Reference Curve Database to select a named curve of the same type. Use W/(m²·K) for overall heat transfer coefficient and °C for ambient temperature. Enter data that cover the calculation interval. Choose a curve source.
Saved State
Continuation preserves operations, protection, and event progress. New initial-field loading retains physical pressure, temperature, composition, and inventory but rebuilds operations from target start/panel state and rechecks protection.
Modeling Steps
- Connect the tank inlet to charging/supply network.
- Enter volume, elevation, and limits.
- Select gas, pressure, initial port state, and non-isothermal temperature/heat settings.
- Use transients for charging duration, pressure, or reverse supply; schedule actions as needed.
- Check flow, inventory, pressure, temperature, state, and protection.
View Results
- Flow/inventory. Standard Nm³/h and actual m³/h are positive inward. View standard inventory in Nm³; integrate positive flow for charged volume, counting withdrawal separately.
- Pressure/temperature. Compare MPa(g) to limits; use temperature and environmental heat kW for post-isolation pressure changes.
- State/protection. A protection latch may persist after pressure returns inside limits; check a subsequent Open event.
Professional Theory
Single-Port Charging, Withdrawal, and Inventory
Fixed volume and uniform state use the Supply Tank Inventory and State Relations. This tank uses positive inward flow.
For actual flow in m³/s and density in kg/m³, tank mass changes as
Charging increases inventory and withdrawal reduces it. At fixed temperature/composition, remaining mass to reach high limit from is estimated by
is effective volume in m³, pressures absolute Pa, current K, and current composition. This is a current-state margin estimate; actual charged amount/time depend on evolving network, temperature, and composition and require transient results.
Heat Transfer and Mixing
Charging enthalpy enters energy balance and composition mixes by molar inventory. Withdrawal removes tank enthalpy/composition. After isolation, mass stays fixed while environmental heat can alter temperature/pressure. Zero coefficient still leaves charging enthalpy. Energy · Mixing
Pressure Boundary and Charging Termination
Open steady-state imposes initial pressure and keeps inventory initial. Open transients couple current pressure to charging/withdrawal. Closed ports have zero flow; external pressure follows the network.
At transient initialization or runtime, either pressure limit latches the whole port closed in both directions. Initial violations retain specified pressure in a closed field. A later Open event releases only if pressure is strictly within limits, otherwise relatching occurs. Independent steady-state only warns and follows panel state.
Applicability and Limits
- Single-port intermittent flow. Use a Two-Port Tank for separate simultaneous charging and supply branches.
- Lumped storage. Uniform gas; wall storage, local jets, and stratification are outside scope.
- Protection. Modeled isolation differs from equipment-designed interlocks and mechanical safeguards.
Common Inspections
- Open but negative flow. Gas returns to the network; check tank pressure, boundaries, and state.
- Unexpected amount/time. Confirm transient mode, inventory, volume, gas, temperature, and high limit; compare on one standard basis.
- Cannot flow after protection. Check latch and event; pressure must be strictly inside limits when opening.
- Pressure changes after charging stops. Confirm zero flow, then inspect temperature and environmental heat.