- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Compilation error
Compilation error
Compilation error
Hello,
I made a simple model (see attachment). When simulating, the compilator says there's an error. So I cannot simulate my model
I get a two warnings, but no error. So I have no idea what's wrong.
Does anyone have any ideas on how to get this model to simulate?
Thanks in advance!
ExampleFluids.mo
Re: Compilation error
Hi,
I have just simulated that in Dymola, which were able to give some hints. First of all, I had to select different medium that water_base - e.g. WaterIF97_ph as the base allegedly missed some constants.
Then it compiled but failed in initialization because of too low source pressure:¨
Error: The following error was detected at time: 0
IF97 medium function tsat called with too low pressure
p = 1.2 Pa <= 611.657 Pa (triple point pressure)
Failed condition: p > 611.657
I set to at 1.2 Bars instead and seems to simulate fine in both OM and Dymola.
Best,
F/
I am attaching the modified model.
ExampleFluids.mo
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Compilation error