modelPartialMixture
Interface for real mixture gas models
Extends from Modelica.Icons.MaterialProperty (Icon for property classes).
Information
Interface for real mixture gas models
The objetive of this model is to have an interface and use it as a base model for any real mixture model. For the Allam Cycle application, Peng-Robinson EoS is the one to be considered, however, it is possible to develop different real fluid models using other EoS.
The PartialMixture model includes three input variables for pressure, temperature and mass fraction, in order to define the full properties of the fluid. The other variables are going to be used when it comes to develop the real mixture fluid model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | computeEnthalpyCondensation | false | Used to decide if it is necessary to calculate enthalpy condensation |
| Boolean | computeTransport | true | Used to decide if it is necessary to calculate the transport properties |
| Boolean | computeEntropy | true | Used to decide if it is necessary to calculate the entropy of the fluid |
| Integer | dominantSpecies | integer(Modelica.Math.Vectors.find(max(X_start), X_start)) | |
| Integer | nX | 5 | Number of elements in the mass fraction array that influence fluid properties |
| Integer | nXi | Number of independent elements in the mass fraction array that influence fluid properties | |
| Integer | nC | Number of mass fractions of components that are not used to compute the fluid properties | |
| Types.MassFraction[nXi] | Xi_start | Start value of the indepentend elements of fluid mass composition | |
| Types.Pressure | p_start | Start value of the fluid pressure | |
| Types.Temperature | T_start | Start value of the fluid temperature | |
| Types.MassFraction[nX] | X_start | X_default | Start value of the fluid mass composition |
| Types.MassFraction[nX] | X_default | ones(nX)/nX | Default composition |
| Types.LowerHeatingValue[nX] | LHV | ones(nX)*1e6 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| InputPressure | p | Absolute pressure | |
| InputTemperature | T | Temperature | |
| InputMassFraction[nXi] | Xi | Mass fraction vector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Types.MassFraction[nX] | X | Mass fraction vector | |
| Types.MassFraction[nC] | C | Mass fraction vector for tracking components | |
| Types.SpecificEnergy | u | Specific Internal Energy of the fluid | |
| Types.SpecificEnthalpy | h | Specific Enthalpy of the fluid | |
| Types.SpecificEntropy | s | Specific Entropy | |
| Types.DerSpecEnergyByPressure | du_dp | Pressure derivative of the Specific Internal Energy | |
| Types.DerSpecEnergyByTemperature | du_dT | Temperature derivative of the Specific Internal Energy | |
| Types.SpecificEnergy[nX] | du_dX | Mass fraction derivative of Specific Internal Energy at constant pressure, per each component | |
| Types.SpecificHeatCapacity | cp | Specific heat capacity of the fluid | |
| Types.SpecificHeatCapacity | cv | Specific heat capacity of the fluid | |
| Types.DerSpecificVolumeByPressure | dv_dp | Pressure derivative of specific volume at constant Temperature | |
| Types.DerSpecificVolumeByTemperature | dv_dT | Temperature derivative of specific volume at constant pressure | |
| Types.DerSpecificVolumeByComposition[nX] | dv_dX | Mass fraction derivative of specific volumen, per each component | |
| Types.DynamicViscosity | mu | Dynamic viscosity | |
| Types.ThermalConductivity | k | Thermal Conductivity | |
| Types.Density | rho | Density of the fluid, needed in the pipe | |
| Types.LowerHeatingValue | LHVmix |
Contents
| Name | Description |
|---|---|
| InputPressure | Pseudo-input to check model balancedness |
| InputTemperature | Pseudo-input to check model balancedness |
| InputMassFraction | The fluid properties are defined by a temperature value |