modelUnlimitedGasStorage
Constant ideal gas source
Extends from Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.Pressure | PartialPressure | 0 | Fixed partial pressure if usePartialPressureInput=false |
| External inputs/outputs | |||
| Boolean | useHeatPort (from ConditionalHeatPort) | false | =true, if HeatPort is enabled |
| Boolean | usePartialPressureInput | false | =true, if fixed partial pressure is from input instead of parameter |
| Temperature dependence | |||
| Types.Temperature | T (from ConditionalHeatPort) | 310.15 | Fixed device temperature if useHeatPort = false |
| Equilibrium › Simulation | |||
| Boolean | isIsolatedInSteadyState | true | =true, if there is no flow at port in steady state |
| Types.SimulationType | Simulation | Types.SimulationType.NormalInit | If in equilibrium, then zero-flow equation is added. |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Thermal.Interfaces.HeatPort_a | heatPort (from ConditionalHeatPort) | ||
| Interfaces.ChemicalPort_b | q_out | constant gas concentration with any possible flow | |
| Types.RealIO.PressureInput | partialPressure | p | Partial pressure of Gas = air pressure * gas fraction |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Types.Temperature | T_heatPort (from ConditionalHeatPort) | Temperature of HeatPort | |
| Types.HeatFlowRate | lossHeat (from ConditionalHeatPort) | Loss heat leaving component via HeatPort |
Revisions
2009-2010
Marek Matejak, Charles University, Prague, Czech Republic