modelUnitVolume_wTraceMass_withMedia
Extends from Volumes.UnitVolume_withMedia.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | nParallel (from UnitVolume_withMedia) | 1 | Number of parallel components |
| Integer | nC | 1 | Number of substances |
| Visualization | |||
| Boolean | showName (from Visualization_showName) | true | |
| Initialization › Dynamics | |||
| Dynamics | energyDynamics (from UnitVolume_withMedia) | 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_withMedia) | 298.15 | Temperature |
| Advanced | |||
| SI.Density | d_reference (from UnitVolume_withMedia) | Material.density(Material.setState_T(T_start)) | Reference density of mass reference for constant volumes |
| Units.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_withMedia) | Heat flow across boundary | |
| Interfaces.MolePort_State | portM | Trace flow across boundary |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Volume | V (from UnitVolume_withMedia) | Volume | |
| SI.HeatFlowRate | Q_gen (from UnitVolume_withMedia) | 0 | Internal heat generation |
| SI.InternalEnergy | U (from UnitVolume_withMedia) | Internal energy | |
| SI.Mass | m (from UnitVolume_withMedia) | Mass | |
| SI.Mass | delta_m (from UnitVolume_withMedia) | Change in mass of constant volume | |
| Material.BaseProperties | material (from UnitVolume_withMedia) | ||
| SI.MolarFlowRate[nC] | nC_gen | zeros(nC) | Internal trace substance generation |
| Units.Mole[nC] | nCs | Trace substance moles | |
| Units.Mole | nCs_scaled | Scaled trace substance moles for improved numerical stability | |
| SI.Concentration[nC] | C | Trace substance concentration |