EngThermBase.BASE
β Typeconst BASE = Union{MA,MO,SY,DT}
Concrete BASE type union for parametric abstract types.
EngThermBase.DEF
β Constantconst DEF = Dict{Symbol,Any}(...)
EngThermBase
defaults
EngThermBase.DIMLESS
β TypeDIMLESS{π½,π
} where {π½<:PREC,π
<:EXAC}
Dimensionless amount type union.
EngThermBase.ENERGYA
β TypeENERGYA{π½,π
,π―} where {π½<:PREC,π
<:EXAC,π―<:BASE}
Energy amount type union.
EngThermBase.ENERGYI
β TypeENERGYI{π½,π
,π―} where {π½<:PREC,π
<:EXAC,π―<:BASE}
Energy interaction type union.
EngThermBase.ENERGYP
β TypeENERGYP{π½,π
,π―} where {π½<:PREC,π
<:EXAC,π―<:BASE}
Energy property type union.
EngThermBase.EXAC
β Typeconst EXAC = Union{EX,MM}
Concrete EXAC type union for parametric abstract types.
EngThermBase.NTROPYA
β TypeNTROPYA{π½,π
,π―} where {π½<:PREC,π
<:EXAC,π―<:BASE}
Entropy amount type union.
EngThermBase.NTROPYP
β TypeNTROPYP{π½,π
,π―} where {π½<:PREC,π
<:EXAC,π―<:BASE}
Entropy property type union.
EngThermBase.PREC
β Typeconst PREC = Union{Float16,Float32,Float64,BigFloat}
Concrete PREC type union for parametric abstract types.
EngThermBase.UATY
β TypeUATY{π½,π±,π} = Union{UETY{π½,π±,π},UMTY{π½,π±,π}} where {π½<:PREC,π±,π}
π¨nited πmount π§π¬pe: PREC
ision and EXAC
tness-parametric, united Quantity
(ie)s β the default underlying data type for EngTherm
AMOUNTS
.
EngThermBase.VELOCYP
β TypeVELOCYP{π½,π
} where {π½<:PREC,π
<:EXAC}
Velocity property type union.
EngThermBase._NA
β Constantconst _NA = __amt(measurement("6.0221415(10)e+23") / u"mol")
The Avogadro constant, $N_A$, [Lide, D. R., 2006], as a __amt{Float64,MM}
.
EngThermBase._RΜ
β Constantconst _RΜ = R_amt(measurement("8.314472(15)"), MO)
The molar gas constant, $RΜ$, [Lide, D. R., 2006], as a R_amt{Float64,MM,MO}
.
EngThermBase._gn
β Constantconst _gn = gvamt{Float64,MM}(gvamt(9_806_650u"ΞΌm/s^2"))
The gvamt{Float64,MM}
representation of the exact standard gravity, $g_n β‘ 9.80665 m/s^2$, [Lide, D. R., 2006].
EngThermBase._kB
β Constantconst _kB = __amt(measurement("1.3806505(24)e-23") * u"J/K")
The Boltzmann constant, $k_B = RΜ/N_A$, [Lide, D. R., 2006], as a __amt{Float64,MM}
.
EngThermBase._mu
β Constantconst _mu = m_amt(measurement("1.66053886(28)e-27") ,SY)
The atomic mass constant, $m_u = (1/12)m(ΒΉΒ²C)$, [Lide, D. R., 2006], as a m_amt{Float64,MM,SY}
.
EngThermBase._stdP
β Constantconst _stdP = P_amt{Float64,MM}(P_amt(101350u"Pa"))
The P_amt{Float64,MM}
representation of the exact standard atmosphere, $P_0 β‘ 101350Pa$, [Lide, D. R., 2006].
EngThermBase._stdT
β Constantconst _stdT = T_amt{Float64,MM}(T_amt(25u"Β°C"))
The T_amt{Float64,MM}
representation of the exact standard temperature, $T_0 β‘ 25Β°C$, [Lide, D. R., 2006].
EngThermBase.atoM_16
β ConstantatoM_16
NamedTuple
of atomic weights, with uncertainty, by chemical element symbol. Entries are of Measurement{Float16} precision.
Data Source: [1] Lide, David, L; CRC Handbook of Chemistry and Physics, 86th Ed. Boca Raton, London, New York, Singapore. 2005β2006.
EngThermBase.atoM_32
β ConstantatoM_32
NamedTuple
of atomic weights, with uncertainty, by chemical element symbol. Entries are of Measurement{Float32} precision.
Data Source: [1] Lide, David, L; CRC Handbook of Chemistry and Physics, 86th Ed. Boca Raton, London, New York, Singapore. 2005β2006.
EngThermBase.atoM_64
β ConstantatoM_64 = (; ...)
NamedTuple
of atomic weights, with uncertainty, by chemical element symbol. Entries are of Measurement{Float64} precision.
Data Source: [1] Lide, David, L; CRC Handbook of Chemistry and Physics, 86th Ed. Boca Raton, London, New York, Singapore. 2005β2006.
EngThermBase.AMOUNTS
β Typeabstract type AMOUNTS{π½<:PREC,π
<:EXAC} <: AbstractTherm end
Abstract supertype for thermodynamic amounts.
Hierarchy
AMOUNTS <: AbstractTherm <: Any
EngThermBase.AbstractTherm
β Typeabstract type AbstractTherm <: Any end
Abstract supertype for thermodynamic entities.
Hierarchy
AbstractTherm <: Any
EngThermBase.BASES
β Typeabstract type BASES <: AbstractTherm end
Abstract supertype for quantity bases.
Hierarchy
BASES <: AbstractTherm <: Any
EngThermBase.BInteract
β Typeabstract type BInteract{π½<:PREC,π
<:EXAC,π―<:BASE} <: BasedAmt{π½,π
,π―} end
Abstract supertype for based interaction groups.
Hierarchy
BInteract <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.BProperty
β Typeabstract type BProperty{π½<:PREC,π
<:EXAC,π―<:BASE} <: BasedAmt{π½,π
,π―} end
Abstract supertype for based property groups.
Hierarchy
BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.BUnranked
β Typeabstract type BUnranked{π½<:PREC,π
<:EXAC,π―<:BASE} <: BasedAmt{π½,π
,π―} end
Abstract supertype for based unranked amount groups.
Hierarchy
BUnranked <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.BasedAmt
β Typeabstract type BasedAmt{π½<:PREC,π
<:EXAC,π―<:BASE} <: AMOUNTS{π½,π
} end
Abstract supertype for based amount groups of fixed units.
Hierarchy
BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.BivarHeat
β Typeabstract type BivarHeat{π½<:PREC,π
<:EXAC} <: Heat{π½,π
} end
Abstract supertype for bivariate specific heat models.
Hierarchy
BivarHeat <: Heat <: MODELS <: AbstractTherm <: Any
EngThermBase.COMBOS
β Typeabstract type COMBOS{π½<:PREC,π
<:EXAC} <: AbstractTherm end
Abstract supertype for thermodynamic property combinations.
Hierarchy
COMBOS <: AbstractTherm <: Any
EngThermBase.ChFPair
β Typeabstract type ChFPair{π½<:PREC,π
<:EXAC} <: PropPair{π½,π
} end
Abstract supertype for Characteristic Function property pairs.
Hierarchy
ChFPair <: PropPair <: COMBOS <: AbstractTherm <: Any
EngThermBase.ConstHeat
β Typeabstract type ConstHeat{π½<:PREC,π
<:EXAC} <: Heat{π½,π
} end
Abstract supertype for constant specific heat models.
Hierarchy
ConstHeat <: Heat <: MODELS <: AbstractTherm <: Any
EngThermBase.DT
β Typeabstract type DT <: ExtBase end
Abstract supertype for the Time Derivative (rate) base.
Hierarchy
DT <: ExtBase <: ThermBase <: BASES <: AbstractTherm <: Any
EngThermBase.EX
β Typeabstract type EX <: ExactBase end
Abstract supertype for the EXact base.
Hierarchy
EX <: ExactBase <: BASES <: AbstractTherm <: Any
EngThermBase.EoSPair
β Typeabstract type EoSPair{π½<:PREC,π
<:EXAC} <: PropPair{π½,π
} end
Abstract supertype for Equation of State property pairs.
Hierarchy
EoSPair <: PropPair <: COMBOS <: AbstractTherm <: Any
EngThermBase.ExactBase
β Typeabstract type ExactBase <: BASES end
Abstract supertype for type-exactness bases.
Hierarchy
ExactBase <: BASES <: AbstractTherm <: Any
EngThermBase.ExtBase
β Typeabstract type ExtBase <: ThermBase end
Abstract supertype for non-intensive bases.
Hierarchy
ExtBase <: ThermBase <: BASES <: AbstractTherm <: Any
EngThermBase.GenerAmt
β Typeabstract type GenerAmt{π½<:PREC,π
<:EXAC} <: AMOUNTS{π½,π
} end
Abstract supertype for generic, arbitrary unit amounts.
Hierarchy
GenerAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.GenerHeat
β Typeabstract type GenerHeat{π½<:PREC,π
<:EXAC} <: Heat{π½,π
} end
Abstract supertype for generic specific heat models.
Hierarchy
GenerHeat <: Heat <: MODELS <: AbstractTherm <: Any
EngThermBase.Heat
β Typeabstract type Heat{π½<:PREC,π
<:EXAC} <: MODELS{π½,π
} end
Abstract supertype for specific heat models.
Hierarchy
Heat <: MODELS <: AbstractTherm <: Any
EngThermBase.IntBase
β Typeabstract type IntBase <: ThermBase end
Abstract supertype for intensive bases.
Hierarchy
IntBase <: ThermBase <: BASES <: AbstractTherm <: Any
EngThermBase.MA
β Typeabstract type MA <: IntBase end
Abstract supertype for the MAss base.
Hierarchy
MA <: IntBase <: ThermBase <: BASES <: AbstractTherm <: Any
EngThermBase.MM
β Typeabstract type MM <: ExactBase end
Abstract supertype for the MeasureMent base.
Hierarchy
MM <: ExactBase <: BASES <: AbstractTherm <: Any
EngThermBase.MO
β Typeabstract type MO <: IntBase end
Abstract supertype for the MOlar base.
Hierarchy
MO <: IntBase <: ThermBase <: BASES <: AbstractTherm <: Any
EngThermBase.MODELS
β Typeabstract type MODELS{π½<:PREC,π
<:EXAC} <: AbstractTherm end
Abstract supertype for thermodynamic models.
Hierarchy
MODELS <: AbstractTherm <: Any
EngThermBase.Maamt
β Typestruct Maamt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric Mach number amounts based in β.
Maamt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A Maamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
Maamt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.Medium
β Typeabstract type Medium{π½<:PREC,π
<:EXAC} <: MODELS{π½,π
} end
Abstract supertype for substance/medium models.
Hierarchy
Medium <: MODELS <: AbstractTherm <: Any
EngThermBase.Mixtures
β Typeabstract type Mixtures{π½<:PREC,π
<:EXAC} <: Scope{π½,π
} end
Abstract supertype for a substance mixture.
Hierarchy
Mixtures <: Scope <: System <: MODELS <: AbstractTherm <: Any
EngThermBase.Molecule
β Typestruct Molecule
Auxiliary Molecule
data type with a data::Dict{Symbol,Real}
data member. Inner constructor makes sure Symbol
keys are chemical element symbols.
EngThermBase.NTROPYI
β TypeNTROPYI{π½,π
,π―} where {π½<:PREC,π
<:EXAC,π―<:BASE}
Entropy interaction type union.
EngThermBase.N_amt
β Typestruct N_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric chemical amount amounts based in kmol.
N_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kmol, kmol s^-1, kmol kg^-1, or .
A N_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
N_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.PMTY
β TypePMTY{π½} = Union{Measurement{π½}} where π½<:Union{Float16,Float32,Float64,BigFloat}
π£lain π easurement π§π¬pe: Plain (unitless) Measurement
s.
EngThermBase.P_amt
β Typestruct P_amt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric pressure amounts based in kPa.
P_amt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A P_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
P_amt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.Pramt
β Typestruct Pramt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric relative pressure amounts based in β.
Pramt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A Pramt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
Pramt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.PropPair
β Typeabstract type PropPair{π½<:PREC,π
<:EXAC} <: COMBOS{π½,π
} end
Abstract supertype for propery pairs.
Hierarchy
PropPair <: COMBOS <: AbstractTherm <: Any
EngThermBase.PropQuad
β Typeabstract type PropQuad{π½<:PREC,π
<:EXAC} <: COMBOS{π½,π
} end
Abstract supertype for propery quads.
Hierarchy
PropQuad <: COMBOS <: AbstractTherm <: Any
EngThermBase.PropTrio
β Typeabstract type PropTrio{π½<:PREC,π
<:EXAC} <: COMBOS{π½,π
} end
Abstract supertype for propery trios.
Hierarchy
PropTrio <: COMBOS <: AbstractTherm <: Any
EngThermBase.PureSubs
β Typeabstract type PureSubs{π½<:PREC,π
<:EXAC} <: Scope{π½,π
} end
Abstract supertype for a defined amount of a pure substance.
Hierarchy
PureSubs <: Scope <: System <: MODELS <: AbstractTherm <: Any
EngThermBase.Pvamt
β Typestruct Pvamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric flux work amounts based in kJ.
Pvamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A Pvamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
Pvamt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.RTamt
β Typestruct RTamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric RT product amounts based in kJ.
RTamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A RTamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
RTamt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.R_amt
β Typestruct R_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric gas constant amounts based in kJ/K.
R_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ K^-1, kJ K^-1 s^-1, kJ kg^-1 K^-1, or kJ K^-1 kmol^-1.
A R_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
R_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.Reactiv
β Typeabstract type Reactiv{π½<:PREC,π
<:EXAC} <: Mixtures{π½,π
} end
Abstract supertype for a reactive mixture.
Hierarchy
Reactiv <: Mixtures <: Scope <: System <: MODELS <: AbstractTherm <: Any
EngThermBase.SY
β Typeabstract type SY <: ExtBase end
Abstract supertype for the SYstem (extensive) base.
Hierarchy
SY <: ExtBase <: ThermBase <: BASES <: AbstractTherm <: Any
EngThermBase.Scope
β Typeabstract type Scope{π½<:PREC,π
<:EXAC} <: System{π½,π
} end
Abstract supertype for defined amounts of substance.
Hierarchy
Scope <: System <: MODELS <: AbstractTherm <: Any
EngThermBase.Substance
β Typeabstract type Substance{π½<:PREC,π
<:EXAC} <: Medium{π½,π
} end
Abstract supertype for substance model by Equation of State.
Hierarchy
Substance <: Medium <: MODELS <: AbstractTherm <: Any
EngThermBase.System
β Typeabstract type System{π½<:PREC,π
<:EXAC} <: MODELS{π½,π
} end
Abstract supertype for system models.
Hierarchy
System <: MODELS <: AbstractTherm <: Any
EngThermBase.T_amt
β Typestruct T_amt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric temperature amounts based in K.
T_amt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A T_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
T_amt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.ThermBase
β Typeabstract type ThermBase <: BASES end
Abstract supertype for thermodynamic bases.
Hierarchy
ThermBase <: BASES <: AbstractTherm <: Any
EngThermBase.Tsamt
β Typestruct Tsamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric Ts product amounts based in kJ.
Tsamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A Tsamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
Tsamt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.UETY
β TypeUETY{π½,π±,π} = Union{Quantity{π½,π±,π}} where {π½<:PREC,π±,π}
π¨nited πxact π§π¬pe: PREC
ision-parametric united Quantity
(ie)s.
EngThermBase.UMTY
β TypeUMTY{π½,π±,π} = Union{Quantity{Measurement{π½},π±,π}} where {π½<:PREC,π±,π}
π¨nited π easurement π§π¬pe: PREC
ision-parametric, Measurement
united Quantity
(ie)s.
EngThermBase.Unreact
β Typeabstract type Unreact{π½<:PREC,π
<:EXAC} <: Mixtures{π½,π
} end
Abstract supertype for an unreactive mixture.
Hierarchy
Unreact <: Mixtures <: Scope <: System <: MODELS <: AbstractTherm <: Any
EngThermBase.UnvarHeat
β Typeabstract type UnvarHeat{π½<:PREC,π
<:EXAC} <: Heat{π½,π
} end
Abstract supertype for univariate specific heat models.
Hierarchy
UnvarHeat <: Heat <: MODELS <: AbstractTherm <: Any
EngThermBase.WInteract
β Typeabstract type WInteract{π½<:PREC,π
<:EXAC} <: WholeAmt{π½,π
} end
Abstract supertype for whole, unbased interactions.
Hierarchy
WInteract <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.WProperty
β Typeabstract type WProperty{π½<:PREC,π
<:EXAC} <: WholeAmt{π½,π
} end
Abstract supertype for whole, unbased properties.
Hierarchy
WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.WUnranked
β Typeabstract type WUnranked{π½<:PREC,π
<:EXAC} <: WholeAmt{π½,π
} end
Abstract supertype for whole, unbased unranked amounts.
Hierarchy
WUnranked <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.WholeAmt
β Typeabstract type WholeAmt{π½<:PREC,π
<:EXAC} <: AMOUNTS{π½,π
} end
Abstract supertype for whole, unbased amounts of fixed units.
Hierarchy
WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.Z_amt
β Typestruct Z_amt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric generalized compressibility factor amounts based in β.
Z_amt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A Z_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
Z_amt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.__amt
β Typestruct __amt{π½<:PREC,π
<:EXAC} <: GenerAmt{π½,π
}
Precision-, and Exactness- parametric generic amounts based in arbitrary units.
__amt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A __amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with any units.
Hierarchy
__amt <: GenerAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.a_amt
β Typestruct a_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric Helmholtz energy amounts based in kJ.
a_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A a_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
a_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.beamt
β Typestruct beamt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric coefficient of volume expansion amounts based in /K.
beamt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A beamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
beamt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.c_amt
β Typestruct c_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric incompressible substance specific heat amounts based in kJ/K.
c_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ K^-1, kJ K^-1 s^-1, kJ kg^-1 K^-1, or kJ K^-1 kmol^-1.
A c_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
c_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.cpamt
β Typestruct cpamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric iso-P specific heat amounts based in kJ/K.
cpamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ K^-1, kJ K^-1 s^-1, kJ kg^-1 K^-1, or kJ K^-1 kmol^-1.
A cpamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
cpamt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.csamt
β Typestruct csamt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric adiabatic speed of sound amounts based in β(kJ/kg).
csamt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A csamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
csamt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.cvamt
β Typestruct cvamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric iso-v specific heat amounts based in kJ/K.
cvamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ K^-1, kJ K^-1 s^-1, kJ kg^-1 K^-1, or kJ K^-1 kmol^-1.
A cvamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
cvamt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.deamt
β Typestruct deamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BInteract{π½,π
,π―}
Precision-, Exactness-, and Base- parametric energy variation amounts based in kJ.
deamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A deamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
deamt <: BInteract <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.dpamt
β Typestruct dpamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric os. exergy variation amounts based in kJ.
dpamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A dpamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
dpamt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.dsamt
β Typestruct dsamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BInteract{π½,π
,π―}
Precision-, Exactness-, and Base- parametric entropy variation amounts based in kJ/K.
dsamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ K^-1, kJ K^-1 s^-1, kJ kg^-1 K^-1, or kJ K^-1 kmol^-1.
A dsamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
dsamt <: BInteract <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.dxamt
β Typestruct dxamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric cs. exergy variation amounts based in kJ.
dxamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A dxamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
dxamt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.e_amt
β Typestruct e_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric total energy amounts based in kJ.
e_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A e_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
e_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.ekamt
β Typestruct ekamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric kinetic energy amounts based in kJ.
ekamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A ekamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
ekamt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.epamt
β Typestruct epamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric potential energy amounts based in kJ.
epamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A epamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
epamt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.g_amt
β Typestruct g_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric Gibbs energy amounts based in kJ.
g_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A g_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
g_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.gaamt
β Typestruct gaamt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric specific heat ratio amounts based in β.
gaamt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A gaamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
gaamt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.gvamt
β Typestruct gvamt{π½<:PREC,π
<:EXAC} <: WUnranked{π½,π
}
Precision-, and Exactness- parametric gravity amounts based in m/sΒ².
gvamt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A gvamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
gvamt <: WUnranked <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.h_amt
β Typestruct h_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric enthalpy amounts based in kJ.
h_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A h_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
h_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.i_amt
β Typestruct i_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BInteract{π½,π
,π―}
Precision-, Exactness-, and Base- parametric irreversibility amounts based in kJ.
i_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A i_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
i_amt <: BInteract <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.j_amt
β Typestruct j_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric Massieu function amounts based in kJ/K.
j_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ K^-1, kJ K^-1 s^-1, kJ kg^-1 K^-1, or kJ K^-1 kmol^-1.
A j_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
j_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.kTamt
β Typestruct kTamt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric isothermal compressibility amounts based in /kPa.
kTamt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A kTamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
kTamt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.k_amt
β Typestruct k_amt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric isentropic expansion exponent amounts based in β.
k_amt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A k_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
k_amt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.ksamt
β Typestruct ksamt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric isentropic compressibility amounts based in /kPa.
ksamt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A ksamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
ksamt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.mJamt
β Typestruct mJamt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric Joule-Thomson coefficient amounts based in K/kPa.
mJamt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A mJamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
mJamt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.mSamt
β Typestruct mSamt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric isentropic expansion coefficient amounts based in K/kPa.
mSamt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A mSamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
mSamt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.m_amt
β Typestruct m_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric mass amounts based in kg.
m_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kg, kg s^-1, , or kg kmol^-1.
A m_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
m_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.psamt
β Typestruct psamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric open system exergy amounts based in kJ.
psamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A psamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
psamt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.q_amt
β Typestruct q_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BInteract{π½,π
,π―}
Precision-, Exactness-, and Base- parametric heat amounts based in kJ.
q_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A q_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
q_amt <: BInteract <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.s_amt
β Typestruct s_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric entropy amounts based in kJ/K.
s_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ K^-1, kJ K^-1 s^-1, kJ kg^-1 K^-1, or kJ K^-1 kmol^-1.
A s_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
s_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.spamt
β Typestruct spamt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric speed amounts based in m/s.
spamt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A spamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
spamt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.t_amt
β Typestruct t_amt{π½<:PREC,π
<:EXAC} <: WUnranked{π½,π
}
Precision-, and Exactness- parametric time amounts based in s.
t_amt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A t_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
t_amt <: WUnranked <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.u_amt
β Typestruct u_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric internal energy amounts based in kJ.
u_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A u_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
u_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.v_amt
β Typestruct v_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric volume amounts based in mΒ³.
v_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of m^3, m^3 s^-1, m^3 kg^-1, or m^3 kmol^-1.
A v_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
v_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.veamt
β Typestruct veamt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric velocity amounts based in β(kJ/kg).
veamt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A veamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
veamt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.vramt
β Typestruct vramt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric relative specific volume amounts based in β.
vramt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A vramt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
vramt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.w_amt
β Typestruct w_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BInteract{π½,π
,π―}
Precision-, Exactness-, and Base- parametric work amounts based in kJ.
w_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A w_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
w_amt <: BInteract <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.x_amt
β Typestruct x_amt{π½<:PREC,π
<:EXAC} <: WProperty{π½,π
}
Precision-, and Exactness- parametric saturated vapor mass fraction amounts based in β.
x_amt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A x_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
x_amt <: WProperty <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.xiamt
β Typestruct xiamt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric closed sys. exergy amounts based in kJ.
xiamt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ, kJ s^-1, kJ kg^-1, or kJ kmol^-1.
A xiamt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
xiamt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.y_amt
β Typestruct y_amt{π½<:PREC,π
<:EXAC,π―<:BASE} <: BProperty{π½,π
,π―}
Precision-, Exactness-, and Base- parametric Planck function amounts based in kJ/K.
y_amt{π½,π
,π―}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;Thermodynamic base
π―<:Union{SY,DT,MA,MO}
respectively for system, rate, mass, or molar quantities, respectively in units of kJ K^-1, kJ K^-1 s^-1, kJ kg^-1 K^-1, or kJ K^-1 kmol^-1.
A y_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine parameters from their arguments. Quantity
constructors do not need a base argument. Plain, AbstractFloat
ones require the base argument.
Hierarchy
y_amt <: BProperty <: BasedAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.z_amt
β Typestruct z_amt{π½<:PREC,π
<:EXAC} <: WUnranked{π½,π
}
Precision-, and Exactness- parametric altitude amounts based in km.
z_amt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A z_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
z_amt <: WUnranked <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
EngThermBase.ΓΈ_amt
β Typestruct ΓΈ_amt{π½<:PREC,π
<:EXAC} <: WUnranked{π½,π
}
Precision-, and Exactness- parametric generic dimensionless ratio amounts based in β.
ΓΈ_amt{π½,π
}
parameters are:
Precision
π½<:Union{Float16,Float32,Float64,BigFloat}
;Exactness
π <:Union{EX,MM}
, i.e., either a single, precise value or an uncertainty-bearing measurement, respectively;
A ΓΈ_amt
can be natively constructed from the following argument types:
A plain, unitless float;
A plain, unitless
Measurement
; hence, anyAbstractFloat
;A
Quantity{AbstractFloat}
with compatible units.
Constructors determine all parameters from their arguments.
Hierarchy
ΓΈ_amt <: WUnranked <: WholeAmt <: AMOUNTS <: AbstractTherm <: Any
Base.Filesystem.cp
β FunctionFunction to return iso-P specific heat amounts in (kJ/K).
EngThermBase.AMT
β Methodfunction AMT(x::Number)
Generates the default AMOUNTS
from a
, based on its unit dimensions. The eltype-undecorated Quantity
constructors are evoked, so that the resulting type precision is taken from the x
argument. This function is extensively used in operations that result in a unit change.
EngThermBase.Ma
β FunctionFunction to return Mach number amounts in (β).
EngThermBase.NA
β MethodNA(π―::Type{π½}=Float64, π·::Type{π
}=EX) where {π½<:PREC,π
<:EXAC}
Returns the Avogadro constant as a __amt{π―,π·}
.
Arguments π―
and π·
can be ommitted and/or be supplied in any order.
EngThermBase.N_
β FunctionFunction to return chemical amount amounts in (kmol).
EngThermBase.P_
β FunctionFunction to return pressure amounts in (kPa).
EngThermBase.P_
β MethodP_(π―::Type{π½}=Float64, π·::Type{π
}=EX) where {π½<:PREC,π
<:EXAC}
Returns the standard atmosphere as a P_amt{π―,π·}
.
Arguments π―
and π·
can be ommitted and/or be supplied in any order.
EngThermBase.Pr
β FunctionFunction to return relative pressure amounts in (β).
EngThermBase.Pv
β FunctionFunction to return flux work amounts in (kJ).
EngThermBase.RT
β FunctionFunction to return RT product amounts in (kJ).
EngThermBase.R_
β FunctionFunction to return gas constant amounts in (kJ/K).
EngThermBase.R_
β MethodR_(π―::Type{π½}=Float64, π·::Type{π
}=EX) where {π½<:PREC,π
<:EXAC}
Returns the molar gas constant as a R_amt{π―:π·,MO}
.
Arguments π―
and π·
can be ommitted and/or be supplied in any order.
EngThermBase.T_
β FunctionFunction to return temperature amounts in (K).
EngThermBase.T_
β MethodT_(π―::Type{π½}=Float64, π·::Type{π
}=EX) where {π½<:PREC,π
<:EXAC}
Returns the standard temperature as a T_amt{π―,π·}
.
Arguments π―
and π·
can be ommitted and/or be supplied in any order.
EngThermBase.Ts
β FunctionFunction to return Ts product amounts in (kJ).
EngThermBase.Z_
β FunctionFunction to return generalized compressibility factor amounts in (β).
EngThermBase._a
β FunctionFunction to return generic amounts of arbitrary units.
EngThermBase.a_
β FunctionFunction to return Helmholtz energy amounts in (kJ).
EngThermBase.amt
β Functionfunction amt end
Interface to get an AMOUNTS
' :amt
field in a type-stable manner.
EngThermBase.bare
β Functionfunction bare end
Interface to get an AMOUNTS
' bare (without units) value in a type-stable manner.
EngThermBase.baseof
β Methodbaseof(::Type{π§} | x::π§) where π§<:BasedAmt{π½,π
,π―} where {π½,π
,π―} = π―
Returns the thermodynamic base of the AMOUNTS
subtype or instance as a DataType
.
EngThermBase.be
β FunctionFunction to return coefficient of volume expansion amounts in (/K).
EngThermBase.c_
β FunctionFunction to return incompressible substance specific heat amounts in (kJ/K).
EngThermBase.cs
β FunctionFunction to return adiabatic speed of sound amounts in (β(kJ/kg)).
EngThermBase.cv
β FunctionFunction to return iso-v specific heat amounts in (kJ/K).
EngThermBase.de
β FunctionFunction to return energy variation amounts in (kJ).
EngThermBase.deco
β Functionfunction deco end
Interface to return a unique decorative Symbol
from a method's argument type.
EngThermBase.dp
β FunctionFunction to return os. exergy variation amounts in (kJ).
EngThermBase.ds
β FunctionFunction to return entropy variation amounts in (kJ/K).
EngThermBase.dx
β FunctionFunction to return cs. exergy variation amounts in (kJ).
EngThermBase.e_
β FunctionFunction to return total energy amounts in (kJ).
EngThermBase.ek
β FunctionFunction to return kinetic energy amounts in (kJ).
EngThermBase.ep
β FunctionFunction to return potential energy amounts in (kJ).
EngThermBase.exacof
β Methodexacof(::Type{π§} | x::π§) where π§<:AMOUNTS{π½} where π½ = π½
Returns the exactness of the AMOUNTS
subtype or instance as a DataType
.
EngThermBase.g_
β FunctionFunction to return Gibbs energy amounts in (kJ).
EngThermBase.ga
β FunctionFunction to return specific heat ratio amounts in (β).
EngThermBase.gv
β FunctionFunction to return gravity amounts in (m/sΒ²).
EngThermBase.gv
β Methodgv(π―::Type{π½}=Float64, π·::Type{π
}=Eπ·) where {π½<:PREC,π
<:EXAC}
Returns the standard gravity as a gvamt{π―,π·}
.
Arguments π―
and π·
can be ommitted and/or be supplied in any order.
EngThermBase.h_
β FunctionFunction to return enthalpy amounts in (kJ).
EngThermBase.i_
β FunctionFunction to return irreversibility amounts in (kJ).
EngThermBase.j_
β FunctionFunction to return Massieu function amounts in (kJ/K).
EngThermBase.kB
β MethodkB(π―::Type{π½}=Float64, π·::Type{π
}=EX) where {π½<:PREC,π
<:EXAC}
Returns the Boltzmann constant as a __amt{π―,π·}
.
Arguments π―
and π·
can be ommitted and/or be supplied in any order.
EngThermBase.kT
β FunctionFunction to return isothermal compressibility amounts in (/kPa).
EngThermBase.k_
β FunctionFunction to return isentropic expansion exponent amounts in (β).
EngThermBase.ks
β FunctionFunction to return isentropic compressibility amounts in (/kPa).
EngThermBase.mJ
β FunctionFunction to return Joule-Thomson coefficient amounts in (K/kPa).
EngThermBase.mS
β FunctionFunction to return isentropic expansion coefficient amounts in (K/kPa).
EngThermBase.m_
β Functionm_(π::Molecule, π::NamedTuple = atoM)::m_amt{π‘,π©,MO} where {π‘,π©}
EngThermBase.m_
β FunctionFunction to return mass amounts in (kg).
EngThermBase.mk1ParAbs
β Functionfunction mk1ParAbs(TY::Symbol, TP::Symbol, what::AbstractString, pp::Integer=1, xp::Bool=true)
Declares a new, 1-parameter abstract type. Parent type parameter count is a function of pp
, so that declarations are as follows:
TY{π½} <: TP{π½}
forpp >= 1
(default);TY{π½<:PREC} <: TP
forpp <= 0
.
Argument what
is inserted in the new type documentation, and xp
controls whether or not the new abstract type is exported (default true
).
EngThermBase.mk2ParAbs
β Functionfunction mk2ParAbs(TY::Symbol, TP::Symbol, what::AbstractString, pp::Integer=2, xp::Bool=true)
Declares a new, 2-parameter abstract type. Parent type parameter count is a function of pp
, so that declarations are as follows:
TY{π½,π } <: TP{π½,π }
forpp >= 2
(default);TY{π½,π <:EXAC} <: TP{π½}
forpp = 1
;TY{π½<:PREC,π <:EXAC} <: TP
forpp <= 0
.
Argument what
is inserted in the new type documentation, and xp
controls whether or not the new abstract type is exported (default true
).
EngThermBase.mk3ParAbs
β Functionfunction mk3ParAbs(TY::Symbol, TP::Symbol, what::AbstractString, pp::Integer=3, xp::Bool=true)
Declares a new, 3-parameter abstract type. Parent type parameter count is a function of pp
, so that declarations are as follows:
TY{π½,π ,π―} <: TP{π½,π ,π―}
forpp >= 3
(default);TY{π½,π ,π―<:BASE} <: TP{π½,π }
forpp == 2
;TY{π½,π <:EXAC,π―<:BASE} <: TP{π½}
forpp = 1
;TY{π½<:PREC,π <:EXAC,π―<:BASE} <: TP
forpp <= 0
.
Argument what
is inserted in the new type documentation, and xp
controls whether or not the new abstract type is exported (default true
).
EngThermBase.mkBasAmt
β FunctionBased Amount type factory.
EngThermBase.mkGenAmt
β FunctionGeneric Amount type factory.
EngThermBase.mkNonPAbs
β Functionfunction mkNonPAbs(TY::Symbol, TP::Symbol, what::AbstractString, xp::Bool=true)
Declares exactly one new, non-parametric, abstract type TY <: TP
. Argument what
is inserted in the new type documentation, and xp
controls whether or not the new abstract type is exported (default true
).
EngThermBase.mkWhlAmt
β FunctionWhole Amount type factory.
EngThermBase.molParse
β MethodmolParse(txt::AbstractString)::Molecule
Parses the txt
argumentβsomething like "CH4", or "(CH3)2(CH2)6"βreturning the corresponding Molecule
object. Bails out if txt
contains invalid characters, and if all parentheses aren't closed.
EngThermBase.mu
β Methodmu(π―::Type{π½}=Float64, π·::Type{π
}=EX) where {π½<:PREC,π
<:EXAC}
Returns the atomic mass constant as a m_amt{π―:π·}
.
Arguments π―
and π·
can be ommitted and/or be supplied in any order.
EngThermBase.nxtToken
β MethodnxtToken(txt::AbstractString)::moleculeToken
Returns a single token from the head of the non-empty txt
.
EngThermBase.pod
β Functionfunction pod end
Interface to get an AMOUNTS
' POD (plain old data) value in a type-stable manner.
EngThermBase.ppu
β Functionfunction ppu end
Interface to pretty-print units.
EngThermBase.precof
β Methodprecof(::Type{π§} | x::π§) where π§<:AMOUNTS{π½} where π½ = π½
Returns the precision of the AMOUNTS
subtype or instance as a DataType
.
EngThermBase.ps
β FunctionFunction to return open system exergy amounts in (kJ).
EngThermBase.q_
β FunctionFunction to return heat amounts in (kJ).
EngThermBase.s_
β FunctionFunction to return entropy amounts in (kJ/K).
EngThermBase.sp
β FunctionFunction to return speed amounts in (m/s).
EngThermBase.t_
β FunctionFunction to return time amounts in (s).
EngThermBase.tokenize
β Methodtokenize(txt::AbstractString)::Vector{moleculeToken}
Tokenizes until an EOS is reached.
EngThermBase.tyArchy
β Methodfunction tyArchy(t::Union{DataType,UnionAll})
Returns a string suitable for documenting the hierarchy of an abstract type.
EngThermBase.u_
β FunctionFunction to return internal energy amounts in (kJ).
EngThermBase.v_
β FunctionFunction to return volume amounts in (mΒ³).
EngThermBase.ve
β FunctionFunction to return velocity amounts in (β(kJ/kg)).
EngThermBase.vr
β FunctionFunction to return relative specific volume amounts in (β).
EngThermBase.w_
β FunctionFunction to return work amounts in (kJ).
EngThermBase.x_
β FunctionFunction to return saturated vapor mass fraction amounts in (β).
EngThermBase.xi
β FunctionFunction to return closed sys. exergy amounts in (kJ).
EngThermBase.y_
β FunctionFunction to return Planck function amounts in (kJ/K).
EngThermBase.z_
β FunctionFunction to return altitude amounts in (km).
EngThermBase.ΓΈ_
β FunctionFunction to return generic dimensionless ratio amounts in (β).