= {
pressure "pressure": {"unit": "pascal", "property": Pressure},
"x": {"unit": "pascal", "property": Pressure},
}
Gas
Fill in a module description here
Properties
IdealGasConstant
IdealGasConstant (compound)
Initialize self. See help(type(self)) for accurate signature.
IsIdealGas
IsIdealGas (compound)
Initialize self. See help(type(self)) for accurate signature.
Laws
- mass mole ratio
- mole volume ratio
The Simple Gas Law
BoyleLaw
BoyleLaw (compound:exex.compound.core.Compound)
Initialize self. See help(type(self)) for accurate signature.
CharlesLaw
CharlesLaw (compound:exex.compound.core.Compound)
Initialize self. See help(type(self)) for accurate signature.
AvogadroLaw
AvogadroLaw (compound:exex.compound.core.Compound)
Initialize self. See help(type(self)) for accurate signature.
The Ideal Gas Law
IdealGasLaw
IdealGasLaw (compound:exex.compound.core.Compound)
Initialize self. See help(type(self)) for accurate signature.
States
Ideal Gas State
Return True
if the ideal gas equation holds
State
State (context)
Helper class that provides a standard way to create an ABC using inheritance.
Gas Compound
Gas -> self._config_laws
-> init law
-> law._config_properties
Gas
Gas (formula:str)
Initialize self. See help(type(self)) for accurate signature.
Type | Details | |
---|---|---|
formula | str | the chemical formula |
Returns | None |
Sarin gas is developed by Nazi during WWII
= Gas('C4H10FO2P') C4H10FO2P
C4H10FO2P
__main__.Gas(formula='C₄H₁₀F₁O₂P₁')
C4H10FO2P.properties
{'mass': <exex.core.Mass>,
'mole': <exex.core.Mole>,
'pressure': <exex.core.Pressure>,
'volume': <exex.core.Volume>,
'temperature': <exex.core.Temperature>,
'ideal_gas_constant': <__main__.IdealGasConstant>,
'is_ideal_gas': <__main__.IsIdealGas>}
'charles_law'] C4H10FO2P.laws[
<__main__.CharlesLaw>
'ideal_gas_law'].e C4H10FO2P.laws[
Eq(P*V, R*T*n)
'ideal_gas_law'].e C4H10FO2P.laws[
Eq(P*V, R*T*n)