modelSOS10ComponentsModelica
Extends from SOFCPoliMi.Media.BaseClasses.IdealMixture.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | computeEnthalpyCondensation (from PartialMixture) | false | Used to decide if it is necessary to calculate enthalpy condensation |
| Boolean | computeTransport (from PartialMixture) | true | Used to decide if it is necessary to calculate the transport properties |
| Boolean | computeEntropy (from PartialMixture) | true | Used to decide if it is necessary to calculate the entropy of the fluid |
| Integer | dominantSpecies (from PartialMixture) | integer(Modelica.Math.Vectors.find(max(X_start), X_start)) | |
| Integer | nX (from PartialMixture) | 5 | Number of elements in the mass fraction array that influence fluid properties |
| Integer | nXi (from PartialMixture) | Number of independent elements in the mass fraction array that influence fluid properties | |
| Integer | nC (from PartialMixture) | Number of mass fractions of components that are not used to compute the fluid properties | |
| Types.MassFraction[nXi] | Xi_start (from PartialMixture) | Start value of the indepentend elements of fluid mass composition | |
| Types.Pressure | p_start (from PartialMixture) | Start value of the fluid pressure | |
| Types.Temperature | T_start (from PartialMixture) | Start value of the fluid temperature | |
| Types.MassFraction[nX] | X_start (from PartialMixture) | X_default | Start value of the fluid mass composition |
| Types.MassFraction[nX] | X_default (from PartialMixture) | ones(nX)/nX | Default composition |
| Types.LowerHeatingValue[nX] | LHV (from PartialMixture) | ones(nX)*1e6 | |
| Boolean | anodicFlow (from IdealMixture) | false | |
| Boolean | cathodicFlow (from IdealMixture) | false | |
| Boolean | reducedX (from IdealMixture) | false | |
| Integer | posCond (from IdealMixture) | 1 | Position of H2O in the array |
| Integer | posOxygen (from IdealMixture) | 3 | Position of O2 in the array |
| Integer | ord_cp (from IdealMixture) | 3 | Order of cp polynomials |
| Integer | ord_cp_cond (from IdealMixture) | 3 | order of the polynomial ideal cp(T) |
| Real[nX,ord_cp + 1] | cp_coeff (from IdealMixture) | Coefficients for ideal cp evaluation of each species of the mixture | |
| Types.TemperatureDifference | dT_smooth (from IdealMixture) | 1 | Smoothing temperature interval for cp_cond calculation |
| Types.SpecificEnthalpy[nX] | Hf (from IdealMixture) | Specific enthalpies of formation of the species | |
| Types.MolarMass[nX] | MM (from IdealMixture) | Molar masses of the species | |
| Types.InvMolarMass[nX] | invMM (from IdealMixture) | ones(nX)./MM | Elementwise inverse of the molar mass vector to evaluate MMmix |
| Types.SpecificHeatCapacityMol | R (from IdealMixture) | Modelica.Constants.R | Universal gas constant per unit mol |
| Types.Pressure | p0 (from IdealMixture) | 1e5 | Reference pressure |
| Types.Temperature | T0 (from IdealMixture) | 298.15 | Reference temperature for enthalpy calculation |
| Types.MoleFraction | eps (from IdealMixture) | 1e-9 | small constant to avoid 'log(0)' when a gas component molar mass is zero |
| Types.Density | rho_start (from IdealMixture) | MM[dominantSpecies]*p_start/(R*T_start) | |
| Types.SpecificVolume | v_start (from IdealMixture) | 1/rho_start | |
| Types.MolarMass | MMmix_start (from IdealMixture) | MM[dominantSpecies] | |
| Types.MassFraction[nX] | X_startNew | ones(nX)*1/nX |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| InputPressure | p (from PartialMixture) | Absolute pressure | |
| InputTemperature | T (from PartialMixture) | Temperature | |
| InputMassFraction[nXi] | Xi (from PartialMixture) | Mass fraction vector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Types.MassFraction[nX] | X (from PartialMixture) | Mass fraction vector | |
| Types.MassFraction[nC] | C (from PartialMixture) | Mass fraction vector for tracking components | |
| Types.SpecificEnergy | u (from PartialMixture) | Specific Internal Energy of the fluid | |
| Types.SpecificEnthalpy | h (from PartialMixture) | Specific Enthalpy of the fluid | |
| Types.SpecificEntropy | s (from PartialMixture) | Specific Entropy | |
| Types.DerSpecEnergyByPressure | du_dp (from PartialMixture) | Pressure derivative of the Specific Internal Energy | |
| Types.DerSpecEnergyByTemperature | du_dT (from PartialMixture) | Temperature derivative of the Specific Internal Energy | |
| Types.SpecificEnergy[nX] | du_dX (from PartialMixture) | Mass fraction derivative of Specific Internal Energy at constant pressure, per each component | |
| Types.SpecificHeatCapacity | cp (from PartialMixture) | Specific heat capacity of the fluid | |
| Types.SpecificHeatCapacity | cv (from PartialMixture) | Specific heat capacity of the fluid | |
| Types.DerSpecificVolumeByPressure | dv_dp (from PartialMixture) | Pressure derivative of specific volume at constant Temperature | |
| Types.DerSpecificVolumeByTemperature | dv_dT (from PartialMixture) | Temperature derivative of specific volume at constant pressure | |
| Types.DerSpecificVolumeByComposition[nX] | dv_dX (from PartialMixture) | Mass fraction derivative of specific volumen, per each component | |
| Types.DynamicViscosity | mu (from PartialMixture) | Dynamic viscosity | |
| Types.ThermalConductivity | k (from PartialMixture) | Thermal Conductivity | |
| Types.Density | rho (from PartialMixture) | Density of the fluid, needed in the pipe | |
| Types.LowerHeatingValue | LHVmix (from PartialMixture) | ||
| Types.SpecificHeatCapacity | cp_cond (from IdealMixture) | Equivalent cp to evaluate condensation enthalpy | |
| Real[ord_cp_cond + 1] | cp_cond_coeff (from IdealMixture) | Coefficients for the evaluation of cp_cond | |
| Types.SpecificHeatCapacity[nX] | cp_species (from IdealMixture) | Cp of each species of the mixture | |
| Types.SpecificEnthalpy | h_cond (from IdealMixture) | Water enthalpy of condensation | |
| Types.SpecificEnthalpy[nX] | h_species (from IdealMixture) | Enthalpy of each component of the mixture referred to standard conditions | |
| Types.MolarMass | MMmix (from IdealMixture) | Molar mass of the mixture | |
| Types.SpecificEntropy[nX] | s_species (from IdealMixture) | ||
| Types.SpecificVolume | v (from IdealMixture) | Specific volume of rhe mixture | |
| Types.MoleFraction[nX] | Y (from IdealMixture) | Molar fractions of the components of the mixture | |
| Types.SpecificEnthalpy[nX] | hTemperature (from IdealMixture) | ||
| Types.SpecificEnthalpy | hPROVATEMP (from IdealMixture) | ||
| Medium.ThermodynamicState | state |
Contents
| Name | Description |
|---|---|