Skip to content
New issue

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

Subclass for Emission class #198

Open
redfrexx opened this issue Jan 16, 2025 · 0 comments
Open

Subclass for Emission class #198

redfrexx opened this issue Jan 16, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@redfrexx
Copy link
Member

redfrexx commented Jan 16, 2025

So far we have one class Emissions that contains all meta information on the calculated emissions. It is used for trips only so far. Once we implement the new API for buildings emissions as well we need to add subclasses for the different emission types, because some attributes are only relevant for one of them, e.g. distance is only relevant for trips.

Example: TripEmissions and EnergyEmissions

@redfrexx redfrexx added the enhancement New feature or request label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant