Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Modelica - Fluid - Examples - HeatingSystem error

Modelica - Fluid - Examples - HeatingSystem error

Hi

I downloaded the Windows version of OpenModelica v1.18.1 (64-bit)

I tried to run the HeatingSystem example in Fluid library but it fails every single time and these messages/errors show up

"[1] 16:04:19 Translation Warning
[Modelica.Fluid.Machines: 328:5-329:76]: The following equation is INCONSISTENT due to specified unit information: pump.delta_head_init = Modelica.Fluid.Examples.HeatingSystem.pump.flowCharacteristic(pump.V_flow_single_init * 1.1, {0.0, pump.V_flow_op, 1.5 * pump.V_flow_op}, {2.0 * pump.head_op, pump.head_op, 0.0}) - Modelica.Fluid.Examples.HeatingSystem.pump.flowCharacteristic(pump.V_flow_single_init, {0.0, pump.V_flow_op, 1.5 * pump.V_flow_op}, {2.0 * pump.head_op, pump.head_op, 0.0})

[2] 16:04:19 Translation Warning
The units of following sub-expressions need to be equal:
- sub-expression "pump.V_flow_single_init * 1.1" has unit "m"
- sub-expression "Modelica.Fluid.Examples.HeatingSystem.pump.flowCharacteristic().V_flow" has unit "m3/s"

[3] 16:04:19 Scripting Notification
Check of Modelica.Fluid.Examples.HeatingSystem completed successfully."

and

"Simulation process failed. Exited with code 0xffffffffffffffff.
Failed to solve the initialization problem with global homotopy with equidistant step size.
Unable to solve initialization problem.
simulation terminated by an assertion at initialization
Warning: maximal number of iteration reached but no root found
Matrix singular!
under-determined linear system not solvable!
Matrix singular!
under-determined linear system not solvable!
nonlinear system 499 fails: at t=0
proper start-values for some of the following iteration variables might help
Solving non-linear system 499 failed at time=0.
For more information please use -lv LOG_NLS."

Can you guys help me to understand what is going on?

Thanks

Edited by: Gargioni - Apr-29-22 20:10:41
There are 0 guests and 0 other users also viewing this topic
You are here: