Skip to content

Added inner constructor for MultipleBuildingTypes#13

Merged
JulStraus merged 1 commit into
mainfrom
fix/building_emissions
May 27, 2026
Merged

Added inner constructor for MultipleBuildingTypes#13
JulStraus merged 1 commit into
mainfrom
fix/building_emissions

Conversation

@JulStraus

Copy link
Copy Markdown
Member

The current implementation of MultipleBuildingTypes does in fact require to utilize EmissionsEnergy as ExtensionData, but does not enforce it. As a consequence, we can end up in a situation in which, e.g., oil is consumed within the Node without leading to emissions. This is fixed within this PR through an inner constructor.

@JulStraus JulStraus requested a review from Zetison May 27, 2026 11:19
@JulStraus JulStraus added the bug Something isn't working label May 27, 2026

@Zetison Zetison left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@JulStraus JulStraus merged commit fb284b6 into main May 27, 2026
5 checks passed
@JulStraus JulStraus deleted the fix/building_emissions branch May 27, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants