Opened 12 years ago
Closed 7 years ago
#2186 closed defect (worksforme)
OMEditor: the wrong functions in the pipe component
Reported by: | 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 , 12 years ago
comment:2 by , 12 years ago
Component: | OMEdit → Frontend |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:4 by , 10 years ago
Milestone: | 1.9.1 → 1.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 , 10 years ago
Milestone: | 1.9.2 → 1.9.3 |
---|
Milestone changed to 1.9.3 since 1.9.2 was released.
comment:10 by , 8 years ago
Milestone: | 1.11.0 → 1.12.0 |
---|
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:11 by , 7 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
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/