You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are duplicated declarations of g in ThermoPower.Water.Flow1Dfem2ph.
Output from System Modeler:
Error: ThermoPower.Water.Flow1Dfem2ph [1:5-1:5] Invalid class definition. Element g is duplicated, but its definitions are not identical.
constant public Real g = .Modelica.Constants.g_n
constant public .Modelica.SIunits.Acceleration g(quantity = "Acceleration", unit_ = "m/s2") = .Modelica.Constants.g_n
I see ThermoPower.Water.Flow1Dfem2ph is marked obsolete using an icon, but it is still used in ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph. Maybe the usage there should just be replaced with the similarly named ThermoPower.Water.Flow1DFEM2ph (note the uppercase FEM)?
The text was updated successfully, but these errors were encountered:
There are duplicated declarations of
g
inThermoPower.Water.Flow1Dfem2ph
.Output from System Modeler:
The two definitions seem to come from:
ThermoPower/ThermoPower/Water.mo
Line 7942 in 82d21eb
The second one from the base class:
ThermoPower/ThermoPower/Water.mo
Line 5520 in 82d21eb
I see
ThermoPower.Water.Flow1Dfem2ph
is marked obsolete using an icon, but it is still used inThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph
. Maybe the usage there should just be replaced with the similarly namedThermoPower.Water.Flow1DFEM2ph
(note the uppercase FEM)?The text was updated successfully, but these errors were encountered: