modelUnitVolume_wTraceMass
Extends from Volumes.UnitVolume.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | nParallel (from UnitVolume) | 1 | # of parallel components |
| Integer | nC | 1 | # of substances |
| Visualization | |||
| Boolean | showName (from Visualization_showName) | true | = true to show the component name on the icon |
| Initialization › Dynamics | |||
| Dynamics | energyDynamics (from UnitVolume) | Dynamics.DynamicFreeInitial | Formulation of energy balances |
| Dynamics | traceDynamics | Dynamics.DynamicFreeInitial | Formulation of trace substance balances |
| Initialization › Start Value: Temperature | |||
| SI.Temperature | T_start (from UnitVolume) | 298.15 | Temperature |
| Advanced | |||
| SI.Temperature | T_reference (from UnitVolume) | 273.15 | Reference temperature for zero enthalpy |
| SItf.NonDim[nC] | C_nominal | fill(1e-6, nC) | Nominal concentration [mol/m3] for improved numeric stability |
| Initialization › Start Value: Trace Substance | |||
| SI.Concentration[nC] | C_start | zeros(nC) | Concentration |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.HeatPort_State | port (from UnitVolume) | Heat flow across boundary | |
| Interfaces.MolePort_State | portM | Trace flow across boundary |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Volume | V (from UnitVolume) | Volume | |
| SI.Density | d (from UnitVolume) | Density | |
| SI.SpecificHeatCapacity | cp (from UnitVolume) | Specific heat capacity | |
| SI.HeatFlowRate | Q_gen (from UnitVolume) | 0 | Internal heat generation |
| SI.InternalEnergy | U (from UnitVolume) | Internal energy | |
| SI.Mass | m (from UnitVolume) | Mass | |
| SI.Temperature | T (from UnitVolume) | Temperature | |
| SI.MolarFlowRate[nC] | nC_gen | zeros(nC) | Internal trace substance generation |
| SItf.Mole[nC] | nCs | Trace substance moles | |
| SItf.Mole | nCs_scaled | Scaled trace substance moles for improved numerical stability | |
| SI.Concentration[nC] | C | Trace substance concentration |