modelMixingVolume
Extends from BaseClasses.PartialVolume (Base class for volume models).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nPorts_a | 0 | Number of port_a connections |
| Integer | nPorts_b | 0 | Number of port_b connections |
| Advanced › Dynamics | |||
| Dynamics | energyDynamics (from PartialVolume) | Dynamics.DynamicFreeInitial | Formulation of energy balances |
| Dynamics | massDynamics (from PartialVolume) | energyDynamics | Formulation of mass balances |
| Dynamics | substanceDynamics (from PartialVolume) | massDynamics | Formulation of substance balances |
| Dynamics | traceDynamics (from PartialVolume) | massDynamics | Formulation of trace substance balances |
| Initialization › Start Value: Absolute Pressure | |||
| SI.AbsolutePressure | p_start (from PartialVolume) | Medium.p_default | Pressure |
| Initialization › Start Value: Temperature | |||
| Boolean | use_T_start (from PartialVolume) | true | Use T_start if true, otherwise h_start |
| SI.Temperature | T_start (from PartialVolume) | Medium.T_default | Temperature |
| Initialization › Start Value: Specific Enthalpy | |||
| SI.SpecificEnthalpy | h_start (from PartialVolume) | Medium.specificEnthalpy_pTX(p_start, T_start, X_start) | Specific enthalpy |
| Initialization › Start Value: Species Mass Fraction | |||
| SI.MassFraction[Medium.nX] | X_start (from PartialVolume) | Medium.X_default | Mass fraction |
| Initialization › Start Value: Trace Substances | |||
| SIadd.ExtraProperty[Medium.nC] | C_start (from PartialVolume) | fill(0, Medium.nC) | Mass-Specific value |
| Advanced › Heat Transfer | |||
| Boolean | use_HeatPort | false | =true to toggle heat port |
| Advanced › Trace Mass Transfer | |||
| Boolean | use_TraceMassPort | false | =true to toggle trace mass port |
| SI.MolarMass[Medium.nC] | MMs | fill(1, Medium.nC) | Trace substances molar mass |
| Visualization | |||
| Boolean | showName | true | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_State[nPorts_a] | port_a | ||
| Interfaces.FluidPort_State[nPorts_b] | port_b | ||
| HeatAndMassTransfer.Interfaces.HeatPort_State | heatPort | ||
| HeatAndMassTransfer.Interfaces.MolePort_State | traceMassPort |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Volume | V (from PartialVolume) | Volume | |
| Medium.BaseProperties | medium (from PartialVolume) | ||
| SI.Mass | m (from PartialVolume) | Mass | |
| SI.InternalEnergy | U (from PartialVolume) | Internal energy | |
| SI.Mass[Medium.nXi] | mXi (from PartialVolume) | Species mass | |
| SIadd.ExtraPropertyExtrinsic[Medium.nC] | mC (from PartialVolume) | Trace substance extrinsic value | |
| SIadd.ExtraPropertyExtrinsic | mC_scaled (from PartialVolume) | Scaled trace substance for improved numerical stability | |
| SIadd.ExtraProperty[Medium.nC] | C (from PartialVolume) | Trace substance mass-specific value | |
| SI.MassFlowRate | mb (from PartialVolume) | 0 | Mass flow rate source/sinks within volumes |
| SI.HeatFlowRate | Ub (from PartialVolume) | 0 | Energy source/sinks within volumes (e.g., ohmic heating, external convection) |
| SI.MassFlowRate[Medium.nXi] | mXib (from PartialVolume) | zeros(Medium.nXi) | Species mass flow rates source/sinks within volumes |
| SIadd.ExtraPropertyFlowRate[Medium.nC] | mCb (from PartialVolume) | zeros(Medium.nC) | Trace flow rate source/sinks within volumes (e.g., chemical reactions, external convection) |
| Geometry | geometry | ||
| SI.Acceleration | g_n | Modelica.Constants.g_n | Gravitational acceleration |
| SI.HeatFlowRate[nPorts_a] | H_flows_a | Enthalpy flow rates at port_a | |
| SI.MassFlowRate[nPorts_a,Medium.nXi] | mXi_flows_a | Species mass flow rates at port_a | |
| SIadd.ExtraPropertyFlowRate[nPorts_a,Medium.nC] | mC_flows_a | Trace substance flow rates at port_a | |
| SI.HeatFlowRate[nPorts_b] | H_flows_b | Enthalpy flow rates at port_b | |
| SI.MassFlowRate[nPorts_b,Medium.nXi] | mXi_flows_b | Species mass flow rates at port_b | |
| SIadd.ExtraPropertyFlowRate[nPorts_b,Medium.nC] | mC_flows_b | Trace substance flow rates at port_b | |
| SI.HeatFlowRate | Q_gen | 0 | Internal heat generation |
| SIadd.ExtraPropertyFlowRate[Medium.nC] | mC_gen | fill(0, Medium.nC) | Internal trace mass generation |
Contents
| Name | Description |
|---|---|