modelSOS10ComponentsModelica

Extends from SOFCPoliMi.Media.BaseClasses.IdealMixture.

Parameters

TypeNameDefaultDescription
BooleancomputeEnthalpyCondensation (from PartialMixture)falseUsed to decide if it is necessary to calculate enthalpy condensation
BooleancomputeTransport (from PartialMixture)trueUsed to decide if it is necessary to calculate the transport properties
BooleancomputeEntropy (from PartialMixture)trueUsed to decide if it is necessary to calculate the entropy of the fluid
IntegerdominantSpecies (from PartialMixture)integer(Modelica.Math.Vectors.find(max(X_start), X_start))
IntegernX (from PartialMixture)5Number of elements in the mass fraction array that influence fluid properties
IntegernXi (from PartialMixture)Number of independent elements in the mass fraction array that influence fluid properties
IntegernC (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.Pressurep_start (from PartialMixture)Start value of the fluid pressure
Types.TemperatureT_start (from PartialMixture)Start value of the fluid temperature
Types.MassFraction[nX]X_start (from PartialMixture)X_defaultStart value of the fluid mass composition
Types.MassFraction[nX]X_default (from PartialMixture)ones(nX)/nXDefault composition
Types.LowerHeatingValue[nX]LHV (from PartialMixture)ones(nX)*1e6
BooleananodicFlow (from IdealMixture)false
BooleancathodicFlow (from IdealMixture)false
BooleanreducedX (from IdealMixture)false
IntegerposCond (from IdealMixture)1Position of H2O in the array
IntegerposOxygen (from IdealMixture)3Position of O2 in the array
Integerord_cp (from IdealMixture)3Order of cp polynomials
Integerord_cp_cond (from IdealMixture)3order 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.TemperatureDifferencedT_smooth (from IdealMixture)1Smoothing 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)./MMElementwise inverse of the molar mass vector to evaluate MMmix
Types.SpecificHeatCapacityMolR (from IdealMixture)Modelica.Constants.RUniversal gas constant per unit mol
Types.Pressurep0 (from IdealMixture)1e5Reference pressure
Types.TemperatureT0 (from IdealMixture)298.15Reference temperature for enthalpy calculation
Types.MoleFractioneps (from IdealMixture)1e-9small constant to avoid 'log(0)' when a gas component molar mass is zero
Types.Densityrho_start (from IdealMixture)MM[dominantSpecies]*p_start/(R*T_start)
Types.SpecificVolumev_start (from IdealMixture)1/rho_start
Types.MolarMassMMmix_start (from IdealMixture)MM[dominantSpecies]
Types.MassFraction[nX]X_startNewones(nX)*1/nX

Connectors

TypeNameDefaultDescription
InputPressurep (from PartialMixture)Absolute pressure
InputTemperatureT (from PartialMixture)Temperature
InputMassFraction[nXi]Xi (from PartialMixture)Mass fraction vector

Components

TypeNameDefaultDescription
Types.MassFraction[nX]X (from PartialMixture)Mass fraction vector
Types.MassFraction[nC]C (from PartialMixture)Mass fraction vector for tracking components
Types.SpecificEnergyu (from PartialMixture)Specific Internal Energy of the fluid
Types.SpecificEnthalpyh (from PartialMixture)Specific Enthalpy of the fluid
Types.SpecificEntropys (from PartialMixture)Specific Entropy
Types.DerSpecEnergyByPressuredu_dp (from PartialMixture)Pressure derivative of the Specific Internal Energy
Types.DerSpecEnergyByTemperaturedu_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.SpecificHeatCapacitycp (from PartialMixture)Specific heat capacity of the fluid
Types.SpecificHeatCapacitycv (from PartialMixture)Specific heat capacity of the fluid
Types.DerSpecificVolumeByPressuredv_dp (from PartialMixture)Pressure derivative of specific volume at constant Temperature
Types.DerSpecificVolumeByTemperaturedv_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.DynamicViscositymu (from PartialMixture)Dynamic viscosity
Types.ThermalConductivityk (from PartialMixture)Thermal Conductivity
Types.Densityrho (from PartialMixture)Density of the fluid, needed in the pipe
Types.LowerHeatingValueLHVmix (from PartialMixture)
Types.SpecificHeatCapacitycp_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.SpecificEnthalpyh_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.MolarMassMMmix (from IdealMixture)Molar mass of the mixture
Types.SpecificEntropy[nX]s_species (from IdealMixture)
Types.SpecificVolumev (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.SpecificEnthalpyhPROVATEMP (from IdealMixture)
Medium.ThermodynamicStatestate

Contents

NameDescription
Medium