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

error

error

hi
i am try to make the model of Rankine cycle but these are error's.

[:0:0-0:0] Error: Error occurred while flattening model plaanti
[C:\OpenModelica1.9.1Beta2\lib\omlibrary\Modelica 3.2.1\Media\package.mo:4380:17-4505:25] Error: Illegal to instantiate partial class BaseProperties.
[:0:0-0:0] Notification: Instantiation of plaanti failed.

Any help would be honestly appreciated.

Edited by: ahsandae - Sep-21-14 17:10:22

Re: error

Can you post your model? That would help us debug the issue.
Seems you either forgot to redeclare a medium and it ends up inside PartialMedium or you discovered an OMC bug with redeclares.

Re: error

https://openmodelica.org/images/agorapro/attachments/4021/mini_plant.png
sir i cannot any work at coding
i am only attached the component and try to start it

Attachments:

Re: error

OME editor check model and
these error's

"[C:\\OpenModelica1.9.1Beta2\\lib\\omlibrary\\Modelica 3.2.1\\Media\\package.mo:4380:17-4505:25:writable] Warning: Forcing full instantiation of partial class BaseProperties during checkModel.
[C:\\Users\\Ahsan Ali\\Desktop\\RFwork IR & dymola\\plaanti.mo:24:3-24:151:writable] Error: Incompatible components in connect statement: connect(stateGasInletEvaporator.outlet, evaporator1.gasIn)
- stateGasInletEvaporator.outlet has components {C_outflow, Xi_outflow, h_outflow, m_flow, p}
- evaporator1.gasIn has components {C_outflow, Xi_outflow, h_outflow, m_flow, p}
Error: Error occurred while flattening model plaanti
"

Re: error

please please
any one hare for helping me
i am new hare
please...........

There are 0 guests and 0 other users also viewing this topic