feat: add gems_craft_hybrid package for hybrid study parsing#245
Open
aoustry wants to merge 4 commits into
Open
feat: add gems_craft_hybrid package for hybrid study parsing#245aoustry wants to merge 4 commits into
aoustry wants to merge 4 commits into
Conversation
Port the hybrid GEMS/Antares Simulator schemas drafted on feature/submodule_gems_craft (AreaConnectionSchema, PortThermalCapacitySchema, HybridPortTypeSchema, HybridLibrarySchema, ThermalComponentSchema, ThermalCapacityConnectionSchema, HybridSystemSchema) onto the gems_craft/ gems_runner package split, as a new solver-independent sibling package gems_craft_hybrid (read/write only, no simulation support). To support this, gems_craft's parse_yaml_library/parse_yaml_components/ load_input_system now accept an optional schema parameter (backward compatible), and gains write_yaml_library/write_yaml_system for round-trip I/O. LibrarySchema gains a version field. AreaConnectionsSchema/ area_connections were already present on the base SystemSchema and are reused as-is.
aoustry
commented
Jul 9, 2026
…rid-only Document the version field under a new "Library YAML" section in inputs.md and adjust the hybrid library section and changelog entry so version is no longer described as a hybrid-specific addition.
aoustry
commented
Jul 9, 2026
…brid AreaConnectionsSchema/SystemSchema.area_connections was parsed but never consumed by the standard resolve/solve pipeline in gems_craft or gems_runner, so it belongs alongside HybridSystemSchema's other Antares-interop-only fields rather than in the base package. Addresses PR review comment on #245.
aoustry
commented
Jul 9, 2026
Juliette-Gerbaux
approved these changes
Jul 10, 2026
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port the hybrid GEMS/Antares Simulator schemas drafted on feature/submodule_gems_craft (AreaConnectionSchema, PortThermalCapacitySchema, HybridPortTypeSchema, HybridLibrarySchema, ThermalComponentSchema, ThermalCapacityConnectionSchema, HybridSystemSchema) onto the gems_craft/ gems_runner package split, as a new solver-independent sibling package gems_craft_hybrid (read/write only, no simulation support).
To support this, gems_craft's parse_yaml_library/parse_yaml_components/ load_input_system now accept an optional schema parameter (backward compatible), and gains write_yaml_library/write_yaml_system for round-trip I/O. LibrarySchema gains a version field. AreaConnectionsSchema/ area_connections were already present on the base SystemSchema and are reused as-is.