-
Notifications
You must be signed in to change notification settings - Fork 176
Remove Interfaces.ConditionalHeatPort from Modelica.Electrical.Analog and Modelica.Magnetic.FluxTubes #3097
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
Conversation
b5254db to
3e7a414
Compare
|
This is getting worse:
extends Modelica.Thermal.HeatTransfer.Interfaces.PartialElementaryConditionalHeatPort
annotation(IconMap(extent={{0,-100}, {200, 100}}), DiagramMap(extent={{0,-100}, {200, 100}}));to display the heatport at the correct position for backward compatibility with Modelica.Electrical.Analog.Interface.ConditionalHeatPort. However also the connectors and connection lines from other base classes are moved now. Probably a tool issue @HansOlsson ?
extends Modelica.Thermal.HeatTransfer.Interfaces.PartialElementaryConditionalHeatPort
annotation(IconMap(extent={{-200,-100}, {0, 100}}), DiagramMap(extent={{-200,-100}, {0, 100}}));which is the opposite direction compared to Dymola. Is this a tool or specification issue @ooer?
|
|
I took the time and crreated a test model comparing the four different implementations using a simple Resistor as an example. Compare the screen shots from Dymola and SimulationX:
@HansOlsson @ooer Can you please confirm the tool issue or specification issue. Thank you. |
|
@beutlich I wonder if it is save to remove |
|
@beutlich shall we remove the keyword
|
|
@beutlich Even though the partial model
|
OK from my side, but in a separate PR please. |
OK from my side, but in a separate PR please. What about ElementaryConditionalHeatPortV? |
If so, we should move it to ObsoleteModelica4.mo like I did with the other replaced classes. |
@christiankral In case you missed my #3097 (comment), I doubt we can merge this PR without a break in backward compatibility of the heatport position. |
|
Closing, since impossible to fix for MSL v4.0.0. |








Fix #359.
@christiankral Please double-check Modelica.Electrical.Machines.BasicMachines.Components.DamperCage which was the only non-trivial conversion since it has both lossPower and LossPower declared.
Would also be good if one of the reviewers could run "Check model" in Dymola.