Skip to content

Replace replaceable functions with inspectable models - #362

Open
tobiasreischl wants to merge 1 commit into
DLR-SR:mainfrom
tobiasreischl:47-Submodules_InsteadOfFunctions
Open

Replace replaceable functions with inspectable models#362
tobiasreischl wants to merge 1 commit into
DLR-SR:mainfrom
tobiasreischl:47-Submodules_InsteadOfFunctions

Conversation

@tobiasreischl

Copy link
Copy Markdown
Contributor

Replace the replaceable pressure-loss and turbo characteristic functions with replaceable model classes.

Instantiate the selected models in FlowResistance and PartialTurboComponent so internal variables such as Reynolds number, friction factor, pressure ratio and specific work are available in simulation results.

Update all dependent redeclarations in tests and examples and add separate pressure-loss model instances for both flow directions in the undirected FlowResistance.

Closes #47

Replace the replaceable pressure-loss and turbo characteristic functions
with replaceable model classes.

Instantiate the selected models in FlowResistance and PartialTurboComponent
so internal variables such as Reynolds number, friction factor, pressure
ratio and specific work are available in simulation results.

Update all dependent redeclarations in tests and examples and add separate
pressure-loss model instances for both flow directions in the undirected
FlowResistance.

Closes DLR-SR#47
@tobiasreischl tobiasreischl self-assigned this Jul 8, 2026
@tobiasreischl tobiasreischl added this to the 2.0.0 milestone Jul 8, 2026
@RaphaelGebhart RaphaelGebhart added the major Major release label Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major Major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use submodules instead of functions

3 participants