-
Notifications
You must be signed in to change notification settings - Fork 27
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
base: main
Are you sure you want to change the base?
Conversation
…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
@@ -1,7 +1,7 @@ | |||
within ThermofluidStream.Undirected.Topology; | |||
model ConnectForeFore "Connects two fore ports" | |||
|
|||
extends ThermofluidStream.Utilities.DropOfCommonsPlus; | |||
extends ThermofluidStream.Utilities.DropOfCommonsPlus(displayInstanceName=false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
iconTransformation = ...
iftransformation = ...
is sufficientdefaultComponentName='splitter/junction'
forTopology.SplitterT1, Topology.JunctionT1
, (etc.)displayInstanceName=false
forThermofluidStream.Undirected.Topology.ConnectForeFore
(etc.)