Skip to content

refactor: add yaml process constraints#1376

Merged
frodehk merged 4 commits intomainfrom
refactor/add-yaml-process-constraints
Feb 10, 2026
Merged

refactor: add yaml process constraints#1376
frodehk merged 4 commits intomainfrom
refactor/add-yaml-process-constraints

Conversation

@frodehk
Copy link
Copy Markdown
Contributor

@frodehk frodehk commented Feb 5, 2026

Adds optional YAML process constraints to YamlProcessSimulation, allowing per-process-system constraint definitions (e.g., outlet and intermediate pressure). Also makes overflow optional in YamlCommonStreamSetting for improved schema flexibility.

Type of Work

  • Patch: X.Y.Z+1. NEGLIGIBLE visible changes, does not change input or output - OR changes behaviour. Use chore:, refactor: etc
  • Minor: X.Y+1.Z. Minor changes, might ADD new input (YAML), or other backwards-compatible changes. Use feat:, fix:
  • Major: X+1.Y.Z. Major and most likely BREAKING changes, wo. backwards compatibility, or removing temporary backwards compatibility functionality. Use ! or BREAKING:.

See here (internal): https://github.com/equinor/ecalc-internal/discussions/1044

Have you remembered and considered?

  • IF FEAT: I have remembered to update documentation
  • IF FIX OR FEAT: I have remembered to update manual changelog (docs/drafts/next.draft.md)
  • IF BREAKING: I have remembered to update migration guide (docs/docs/migration_guides/)
  • IF BREAKING: I have committed with BREAKING: in footer or ! in header
  • I have added tests (if not, comment why)
  • I have used conventional commits syntax (if you squash, make sure that conventional commit is used)
  • I have included the Github issue nr in the footer!

What is this PR all about?

What else did you consider?

Between the lines?

@frodehk frodehk self-assigned this Feb 5, 2026
@frodehk frodehk requested a review from a team as a code owner February 5, 2026 11:47
Comment thread src/libecalc/presentation/yaml/yaml_types/components/yaml_process_system.py Outdated
@frodehk frodehk force-pushed the refactor/add-yaml-process-constraints branch from cae3867 to 16c6ae6 Compare February 10, 2026 08:51
@frodehk frodehk requested a review from a team as a code owner February 10, 2026 09:07
@frodehk frodehk merged commit f591cde into main Feb 10, 2026
22 checks passed
@frodehk frodehk deleted the refactor/add-yaml-process-constraints branch February 10, 2026 09:40
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