Skip to content

Make the GeoAvailability constructor more flexible - #48

Merged
JulStraus merged 2 commits into
EnergyModelsX:mainfrom
Zetison:enhance/GeoAvailability_flexibility
Jan 6, 2026
Merged

Make the GeoAvailability constructor more flexible#48
JulStraus merged 2 commits into
EnergyModelsX:mainfrom
Zetison:enhance/GeoAvailability_flexibility

Conversation

@Zetison

@Zetison Zetison commented Dec 29, 2025

Copy link
Copy Markdown

This PR makes the GeoAvailability(id, 𝒫::Array{Resource}) constructor more flexible (enabling, e.g., GeoAvailability("av", [ResourceCarrier("Power", 0.0)])).

This also resolves a bug in EnergyModelsInputs.

@JulStraus
JulStraus self-requested a review January 5, 2026 07:51

@JulStraus JulStraus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me, but I think we can simultaneously update the docstring, see my comment. I unfortunately was not able to provide it as a suggestion.

Comment thread src/structures/area.jl
@JulStraus
JulStraus merged commit 4ab6579 into EnergyModelsX:main Jan 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants