Describe the bug
A heat pump based on AixLib.Fluid.HeatPumps.HeatPump that only supports heating mode (useRev=false) and is not connected through the bus connector (useBusConnectorOnly=false) will turn structurally singular. Though the connector for modeSet disappears correctly, when useRev is set to false and the heat pump only supports heating mode, modeSet does not seem to be set to true (for heating mode) internally. This results in the requirement to manually set modeSet to true through the bus connector, which should not be necessary.
To Reproduce
Steps to reproduce the behavior:
Copy AixLib.Fluid.HeatPumps.Examples.HeatPump
Switch useRev in heatPump to false. Delete booleanSwitch, hysCooling, logicalSwitch and not2, essentially simplifying the example to match a heat pump that is only capable of heating. See Screenshots.
Check the model
See error
Expected behavior
The model should not require modeSet to be assigned a value thorugh the bus connector
Screenshots
This is structurally singular:
While this is working:
Desktop
Dymola2023x with Modelica 4.0.0 on Windows 10 22H2
That is true, thanks for raising this issue. I am currently in the process of moving the heat pump models to Obsolete #1520 . I will fix it when moving the models, but I would just advise to use the new models.
Describe the bug A heat pump based on AixLib.Fluid.HeatPumps.HeatPump that only supports heating mode (useRev=false) and is not connected through the bus connector (useBusConnectorOnly=false) will turn structurally singular. Though the connector for modeSet disappears correctly, when useRev is set to false and the heat pump only supports heating mode, modeSet does not seem to be set to true (for heating mode) internally. This results in the requirement to manually set modeSet to true through the bus connector, which should not be necessary.
To Reproduce Steps to reproduce the behavior:
Expected behavior The model should not require modeSet to be assigned a value thorugh the bus connector
Screenshots This is structurally singular: While this is working:
Desktop Dymola2023x with Modelica 4.0.0 on Windows 10 22H2