Skip to content

faebryk: Core: Parameters 2.0#522

Merged
iopapamanoglou merged 187 commits intomainfrom
feature/parameters_2_0
Dec 6, 2024
Merged

faebryk: Core: Parameters 2.0#522
iopapamanoglou merged 187 commits intomainfrom
feature/parameters_2_0

Conversation

@iopapamanoglou
Copy link
Contributor

Move over to constraint based, lazily evaluated parameters.
New approach builds expression trees that are solved for when queried.

@iopapamanoglou iopapamanoglou marked this pull request as ready for review December 6, 2024 02:32
Copy link
Collaborator

@mawildoer mawildoer left a comment

Choose a reason for hiding this comment

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

Love to still address the ERC voltage missing

console=Console(
safe_box=False,
theme=theme,
force_terminal=True,
Copy link
Collaborator

Choose a reason for hiding this comment

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

@iopapamanoglou I assume this is to pretty-print the control output to a file for help w/ debugging, so temp? Removed it in a merge resolution. If we want to maintain the same functionality, we'll need to do it another way

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, was an accidental commit

@@ -31,12 +31,12 @@ def __init__(self, faulting_ifs: Sequence[ModuleInterface], *args: object) -> No


class ERCFaultElectricPowerUndefinedVoltage(ERCFault):
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is no longer used. It was useful before because we could downgrade it to a warning. We should either remove it or raise (and continue to downgrade) them

@iopapamanoglou iopapamanoglou enabled auto-merge (squash) December 6, 2024 03:09
@iopapamanoglou iopapamanoglou merged commit ea03497 into main Dec 6, 2024
@iopapamanoglou iopapamanoglou deleted the feature/parameters_2_0 branch December 6, 2024 03:22
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.

4 participants