Skip to main content

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".

Created with Fabric.js 5.3.0

Ports and Connections​

Port KeyTypeDirectionInterface NameDisplay Conditions
0FLUIDinputfluid inletalways 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

NamekeyTypeDefault / OptionsDescription
Tank Volume [m³]TankVolumereal35Effective geometric gas volume for initial inventory and transient charging/withdrawal.
Connection Elevation [m]PortElevationreal0Connection elevation on common network datum, matching connected pipe ports.
Low-Pressure Protection Limit [MPa(g)]MinPressurereal0Transient 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)]MaxPressurereal150Transient high limit latches the port closed. Recovery needs later Open and safe pressure; violations relatch. Does not clamp pressure.

Thermal Calculation

NamekeyTypeDefault / OptionsDescription
Heat Transfer Area [m²]SurfaceAreareal35Effective area on the coefficient basis; tank-wall thermal storage is not modeled.
Overall Heat Transfer Coefficient ModeHeatTransferCoefficientInputModechoiceFixed Value / Time CurveFixed or time-dependent overall coefficient for non-isothermal transients.
Tank Overall Heat Transfer Coefficient [W/(m²·K)]HeatTransferRatereal0Coefficient based on tank area. Zero removes environmental exchange but flow can still change temperature. Fixed mode retains area/environment settings.
Overall Coefficient CurveCurveLibraryHeatTransferCoefficientNamechoice__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 ModeAmbientTemperatureInputModechoiceFixed Value / Time CurveChoose fixed ambient temperature or a time curve.
Ambient Temperature [℃]AmbientTemperaturereal25Ambient tank temperature for non-isothermal transient heat transfer.
Ambient Temperature CurveCurveLibraryTemperatureNamechoice__UNSELECTED__Select a time series for the ambient temperature outside the tank. The series must cover the transient simulation period.

Gas and Initial Conditions

NamekeyTypeDefault / OptionsDescription
Initial Tank GasInitialCompositionalFluidchoice—Initial tank gas, subsequently updated by port balances and inventory mixing.
Initial Tank GasInitialSimpleFluidchoice—Initial tank gas, subsequently updated by port balances and inventory mixing.
Initial Port StateStatuschoiceOpen / ClosedInitial 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)]InitialPressurereal10Initial gauge pressure, steady open-port boundary or transient inventory state. Converted absolute pressure must be positive.
Initial Tank Temperature [℃]InitialTemperaturereal25Initial non-isothermal tank temperature; steady-state uses it for boundaries, transients evolve it with flow/heat. Isothermal uses global temperature.

Transient Events

NamekeyTypeDefault / OptionsDescription
Port Change ScheduleEventstableConfigure one row at a timeFuture open/close events. Panel defines initial state; past/start rows do not execute. Open also attempts protection release; violations relatch.
Port Change Schedule / TimeEvents.timedatetime2026-01-01 00:00:00Event effective time.
Port Change Schedule / Port StateEvents.PortStatuschoiceOpen / ClosedPort 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​

  1. Connect the tank inlet to charging/supply network.
  2. Enter volume, elevation, and limits.
  3. Select gas, pressure, initial port state, and non-isothermal temperature/heat settings.
  4. Use transients for charging duration, pressure, or reverse supply; schedule actions as needed.
  5. 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 qportq_{\mathrm{port}} in m³/s and density ρport\rho_{\mathrm{port}} in kg/m³, tank mass mm changes as

dmdt=ρportqport.\frac{\mathrm{d}m}{\mathrm{d}t}=\rho_{\mathrm{port}}q_{\mathrm{port}}.

Charging increases inventory and withdrawal reduces it. At fixed temperature/composition, remaining mass to reach high limit pmax⁡p_{\max} from ptp_t is estimated by

Δmfill=Vmax⁡ ⁣(0, ρ(pmax⁡,Tt,xt)−ρ(pt,Tt,xt)).\Delta m_{\mathrm{fill}}= V\max\!\left(0,\, \rho(p_{\max},T_t,\boldsymbol{x}_t)-\rho(p_t,T_t,\boldsymbol{x}_t)\right).

VV is effective volume in m³, pressures absolute Pa, TtT_t current K, and xt\boldsymbol{x}_t 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.