References
Contents
Index
CarnotCycles.AmbientNodeCarnotCycles.Compute_cycle_errorCarnotCycles.Compute_cycle_errorCarnotCycles.CoolPropGasPhaseCheckCarnotCycles.CoolPropLiquidPhaseCheckCarnotCycles.CoolantPortCarnotCycles.HeatPortCarnotCycles.IsentropicCompressionCarnotCycles.IsentropicCompressionClapeyronCarnotCycles.IsentropicExpansionCarnotCycles.IsentropicExpansionClapeyronCarnotCycles.IsochoricCompressionCarnotCycles.IsochoricCompressionClapeyronCarnotCycles.IsochoricExpansionCarnotCycles.IsochoricExpansionClapeyronCarnotCycles.IsothermalCompressionCarnotCycles.IsothermalCompressionClapeyronCarnotCycles.IsothermalExpansionCarnotCycles.IsothermalExpansionClapeyronCarnotCycles.MassSinkCarnotCycles.MassSourceCarnotCycles.PT_IsentropicExpansionClapeyronCarnotCycles.PowerPortCarnotCycles.RefPortCarnotCycles.StoragePortCarnotCycles.load_fluidCarnotCycles.load_fluidCarnotCycles.mass_to_moles
CarnotCycles.AmbientNode — MethodAmbient temperature node.
CarnotCycles.Compute_cycle_error — MethodCompute_cycle_error(p_source,h_source,p_sink,h_sink;reltol = 1e-8) * Computes cycle end point mismatch in states - between sink and source.
returns `nothing`
Shows error incase of mismatchCarnotCycles.Compute_cycle_error — MethodCompute_cycle_error(sol::ODESolution,system::Vector{ODESystem};reltol = 1e-8)
CarnotCycles.CoolPropGasPhaseCheck — MethodCoolPropGasPhaseCheck Checks if state point is Gas. Passes through an assert statement.
CarnotCycles.CoolPropLiquidPhaseCheck — MethodCoolPropLiquidPhaseCheck Checks if state point is Liquid. Passes through an assert statement.
CarnotCycles.CoolantPort — MethodMakes node for port connections. This node is Pressure,Enthalpy, Mass flow rate and mass fraction of first fluid (incase of Clapyeron Mixture).
CarnotCycles.HeatPort — MethodHeatPort: Variables are Q, tin, Tout
CarnotCycles.IsentropicCompression — MethodIsentropicCompression(πc, h_in, p_in,fluid,η)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurefluid: Fluidη: Isentropic Efficiency
returns : Outlet enthalpy after isentropic compression
CarnotCycles.IsentropicCompressionClapeyron — MethodIsentropicCompressionClapeyron(πc, h_in, p_in,z,fluid,η)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurefluid: Fluidz: Molesη: Isentropic Efficiency
returns : Outlet enthalpy after isentropic compression
CarnotCycles.IsentropicExpansion — MethodIsentropicExpansion(πc, h_in, p_in,fluid,η)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurefluid: Fluidη: Isentropic Efficiency
returns : Outlet enthalpy after isentropic expansion
CarnotCycles.IsentropicExpansionClapeyron — MethodIsentropicExpansionClapeyron(πc, h_in, p_in,z,fluid,η)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurefluid: Fluidz: Molesη: Isentropic Efficiency
returns : Outlet enthalpy after isentropic expansion
CarnotCycles.IsochoricCompression — MethodIsochoricCompression(πc, h_in, p_in,fluid)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurefluid: Fluid
Output -> Outlet enthalpy after isochoric compression
CarnotCycles.IsochoricCompressionClapeyron — MethodIsochoricCompressionClapeyron(πc, h_in, p_in,z::Array,fluid::EoSModel)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurez: Molesfluid: Fluid
Output -> Outlet enthalpy after isochoric compression
CarnotCycles.IsochoricExpansion — MethodIsochoricExpansion(πc, h_in, p_in,fluid)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurefluid: Fluid
Output -> Outlet enthalpy after isochoric expansion
CarnotCycles.IsochoricExpansionClapeyron — MethodIsochoricExpansionClapeyron(πc, h_in, p_in,z::Array,fluid::EoSModel)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurez: Molesfluid: Fluid
Output -> Outlet enthalpy after isochoric expansion
CarnotCycles.IsothermalCompression — MethodIsothermalCompression(πc, h_in, p_in,fluid)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurefluid: Fluid
Output -> Outlet enthalpy after Isothermal Compression
CarnotCycles.IsothermalCompressionClapeyron — MethodIsothermalCompressionClapeyron(πc, h_in, p_in,z,fluid::EoSModel)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurez: Molesfluid: Fluid
Output -> Outlet enthalpy after Isothermal compression
CarnotCycles.IsothermalExpansion — MethodIsothermalExpansion(πc, h_in, p_in,fluid)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurefluid: Fluid
Output -> Outlet enthalpy after Isothermal Expansion
CarnotCycles.IsothermalExpansionClapeyron — MethodIsothermalExpansionClapeyron(πc, h_in, p_in,z,fluid::EoSModel)
Arguments:
πc: Pressure Ratioh_in: Inlet Enthalpyp_in: Inlet Pressurez: Molesfluid: Fluid
Output -> Outlet enthalpy after Isothermal expansion
CarnotCycles.MassSink — MethodMassSink` - Sets the final port input values to the variables. Use as a sink for the simulation.
CarnotCycles.MassSource — MethodMassSource - Initilizes cycle start point. Requires initial enthalpy,pressure and Mass flow rate if CoolProp fluid is used else uses enthalpy,pressure, Mass flow rate, and mass fraction of first fluid if Clapeyron Fluid is used.
CarnotCycles.PT_IsentropicExpansionClapeyron — MethodPT_IsentropicExpansionClapeyron(model::EoSModel,T_in,p_in,z,πc,η)
Arguments:
πc: Pressure RatioT_in: Inlet Temperaturep_in: Inlet Pressurefluid: Fluidz: Molesη: Isentropic Efficiency
returns : Outlet Temperature after isentropic expansion
CarnotCycles.PowerPort — MethodCarnotCycles.RefPort — MethodMakes node for port connections. This node is Pressure,Temperature, Mass flow rate and mass fraction of first fluid (incase of Clapyeron Mixture). Use this when the two-phase details of the fluid are not necessary.
CarnotCycles.StoragePort — MethodStorage port that connect the storage HTF to the thermal storage. Contains Temperature and mass flow rate of the HTF.
CarnotCycles.load_fluid — Methodload_fluid(x::AbstractString) - fixes fluid for simulation through components using CoolProp as backend.
CarnotCycles.load_fluid — Methodload_fluid(x::Clapeyron.EoSModel) - fixes fluid for simulation through components using Clapeyron as backend
CarnotCycles.mass_to_moles — Methodmass_to_moles(model::EoSModel,x,mass) : convert mass of fluid to number of moles based on the composition of 1st fluid by mass x