We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement high level API for electricity. See issue #190
from co2calculator import Energy, HeatingFuel, Unit # Calculate co2 emissions energy_heating = Energy().from_heating(fuel_type=HeatingFuel.OIL, consumption=100, unit=Unit.LITER).calculate() energy_electricity = Energy().from_electricity(consumption=100).calculate() # Print result energy_heating.co2e energy_heating.consumption energy_heating.emission_factor energy_heating.emission_factor.source
The text was updated successfully, but these errors were encountered:
Milli97
No branches or pull requests
Implement high level API for electricity. See issue #190
The text was updated successfully, but these errors were encountered: