Opened 12 years ago

Closed 7 years ago

#2186 closed defect (worksforme)

OMEditor: the wrong functions in the pipe component

Reported by: lm184509@… Owned by: Adrian Pop
Priority: high Milestone: 1.12.0
Component: Frontend Version: 1.9.0Beta
Keywords: Cc:

Description

All fluid models containing pipes are not runnable. They generate error message

"No matching function found for Medium.density(flowModel.states[1])
of type

.Modelica.Fluid.Pipes.StaticPipe.Medium.density<function>(record Modelica.Fluid.Pipes.StaticPipe.FlowModel.Medium.Thermodyn

amicState
end Modelica.Fluid.Pipes.StaticPipe.FlowModel.Medium.ThermodynamicState; state) => Real(min=0.0, max=100000.0, nominal=1.0, start=1.0, quantity="Density", unit="kg/m3", displayUnit="g/cm3") in component pipe"

Generally the data from the medium needed is somehow stored at "Modelica.Fluid.Pipes.StaticPipe.Medium.ThermodynamicState" but not "Modelica.Fluid.Pipes.StaticPipe.FlowModel.Medium.ThermodynamicState". Because of this all property values from the medium are not properly assigned and the model can not run for missing values

Change History (11)

comment:1 by Adrian Pop, 12 years ago

Hi,

Try the latest nightly build:
https://build.openmodelica.org/omc/builds/windows/nightly-builds/
as this was fixed yesterday.

All Fluid models could only run with a special flag:
+d=scodeInstShortcut
but the need of that flag was now eliminated.

Cheers,
Adrian Pop/

comment:2 by Adeel Asghar, 12 years ago

Component: OMEditFrontend
Owner: changed from Adeel Asghar to Adrian Pop
Status: newassigned

comment:3 by Martin Sjölund, 11 years ago

Milestone: 1.9.01.9.1

Postponed until 1.9.1

comment:4 by Martin Sjölund, 10 years ago

Milestone: 1.9.11.9.2

This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).

comment:5 by Martin Sjölund, 10 years ago

Milestone: 1.9.21.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:6 by Martin Sjölund, 9 years ago

Milestone: 1.9.31.9.4

Moved to new milestone 1.9.4

comment:7 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

comment:8 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:9 by Martin Sjölund, 8 years ago

Milestone: 1.10.01.11.0

Ticket retargeted after milestone closed

comment:10 by Martin Sjölund, 8 years ago

Milestone: 1.11.01.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:11 by Francesco Casella, 7 years ago

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.