Opened 11 years ago
Closed 7 years ago
#2186 closed defect (worksforme)
OMEditor: the wrong functions in the pipe component
Reported by: | lm184509@… | Owned by: | adrpo |
---|---|---|---|
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 Changed 11 years ago by adrpo
comment:2 Changed 11 years ago by adeas31
- Component changed from OMEdit to Frontend
- Owner changed from adeas31 to adrpo
- Status changed from new to assigned
comment:3 Changed 11 years ago by sjoelund.se
- Milestone changed from 1.9.0 to 1.9.1
Postponed until 1.9.1
comment:4 Changed 10 years ago by sjoelund.se
- Milestone changed from 1.9.1 to 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 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.2 to 1.9.3
Milestone changed to 1.9.3 since 1.9.2 was released.
comment:6 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.3 to 1.9.4
Moved to new milestone 1.9.4
comment:7 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.4 to 1.9.5
Milestone pushed to 1.9.5
comment:8 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.5 to 1.10.0
Milestone renamed
comment:9 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.10.0 to 1.11.0
Ticket retargeted after milestone closed
comment:10 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.11.0 to 1.12.0
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:11 Changed 7 years ago by casella
- Resolution set to worksforme
- Status changed from assigned to 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/