Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 648 Bytes

File metadata and controls

31 lines (23 loc) · 648 Bytes

feos.si

This module contains data types for dimensioned quantities, i.e. floating point values multiplied with units. If you want to learn more about this module, take a look at this notebook.

Example usage

from feos.si import KELVIN, RGAS, METER, MOL, BAR

p_ig = 25.0 * MOL / METER**3 * RGAS * 315.5 * KELVIN
print('Ideal gas pressure: {:.2f} bar'.format(p_ig / BAR))
Ideal gas pressure: 0.66 bar

Data types

.. currentmodule:: feos.si

.. autosummary::
    :toctree: generated/

    SINumber
    SIArray1
    SIArray2
    SIArray3
    SIArray4