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

Strange behavior of ThermoPower library

Strange behavior of ThermoPower library

While testing some Media libraries I observed a problem, that I do not know if is due to OpenModelica or to ThermoPower. The problem is shown in the attached file, and is the following:
If I extend the ThermoPower model TestWaterFlow1DFV_A (from the Test.DistributedParameterComponets package), redeclaring the Medium, the model runs with no error, but makes no calculation, as is shown in the variable T_out.T. If I copy the model and change the Medium declaration directly, the model runs and the calculation is OK. I observe also that the simulation time for the extended model is shorter than for the copied one.

ModelicaTest7.mo

Attachments:
There are 0 guests and 0 other users also viewing this topic
You are here: