modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
452 stars 165 forks source link

MSL v4.1.0-beta.1 feedback: Unused fluid controller utilities connector fails pedantic check #4317

Open m-kessler opened 4 months ago

m-kessler commented 4 months ago

The connector Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.ControllerUtilities.Port_IdleTanks does not pass pedantic check in recent Dymola versions (tested with 2023x and 2024x Refresh 1 Alpha).

Dymola reports: The connector Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.ControllerUtilities.Port_IdleTanks is not balanced, it has 0 flow variables and 2 non-causal non-flow variables (including possible over-determined ones).

As mentioned in #1539, the class is not used anywhere meaningful, especially not in the example for which it was probably build (BatchPlant_StandardWater). The same is true for many other classes in that package.