Open source · MIT

Energy quantity and quality

Report how much energy you have, and what it can do.

Energy reports often add electricity and low-temperature heat together as if every megawatt-hour were equal. Quantity & Quality adds stream labels, Exergy Factor and accessible exergy to every record.

pip install quantity-and-quality

Last updated

What it does

Three steps from question to result.

  1. 1

    Label

    Tag every energy stream by carrier, temperature and reference conditions instead of plain MWh.

  2. 2

    Calculate

    Compute Exergy Factor (fx) and accessible exergy consistently in Python or from the CLI.

  3. 3

    Standardize

    Emit machine-readable reports and energy accounts that keep quantity and quality separate.

Common questions

What is the Exergy Factor?

Accessible useful-work potential per unit of energy. Electricity has an Exergy Factor of 1.0, while low-temperature heat is much lower.

Is there a no-install option?

Yes. The Exergy Factor web calculator runs the same calculation method directly in your browser.

How do I install Quantity & Quality?

Run pip install quantity-and-quality to use the Python library and command-line interface in your scripts and batch reports.

What license does Quantity & Quality use?

It is open source under the MIT license on GitHub.