Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotation update + use of defaultComponentName #214

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RaphaelGebhart
Copy link
Contributor

@RaphaelGebhart RaphaelGebhart commented Oct 14, 2024

  1. removed iconTransformation = ... if transformation = ... is sufficient
  2. set defaultComponentName='splitter/junction' for Topology.SplitterT1, Topology.JunctionT1, (etc.)
  3. set displayInstanceName=false for ThermofluidStream.Undirected.Topology.ConnectForeFore (etc.)
  4. fixed small issue for `ThermofluidStream.Boundaries.DynamicPressureInflow' (Outflow/Nozzle) concerning display

…anceName=false for Undirected.Topology.Connect... , 3) set defaultComponentName='splitter/junction' for SplitterT1/T2, junctionT1/T2 (and so on), 4) fixed small issue for DnymaicPressureInflow/Outflow/Nozzle concerning display
@RaphaelGebhart RaphaelGebhart self-assigned this Oct 14, 2024
@RaphaelGebhart RaphaelGebhart mentioned this pull request Oct 15, 2024
@@ -1,7 +1,7 @@
within ThermofluidStream.Undirected.Topology;
model ConnectForeFore "Connects two fore ports"

extends ThermofluidStream.Utilities.DropOfCommonsPlus;
extends ThermofluidStream.Utilities.DropOfCommonsPlus(displayInstanceName=false);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I suggested to change the default value to false, because i had the feeling that ConnectForeFore is one of the last models where user would want to display the instance name.
Actually currently displayInstanceName=false for every example in the TFS. We might first consider setting displayInstanceName=true for at least a few important components in the TFS examples (like source/sink, heat exchangers, compressors).

Copy link
Contributor

Choose a reason for hiding this comment

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

I suggested to change the default value to false, because i had the feeling that ConnectForeFore is ...

As is for ConnectForeOutlet & Co. as well.

We might first consider setting displayInstanceName=true for at least a few important components ...

This is in fact a subjective choice. Hope this will be helpful to users.

Copy link
Contributor

@tobolar tobolar left a comment

Choose a reason for hiding this comment

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

Fine to me. For future reviews I would strongly recommend to split such singe items into separate PRs.

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