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.
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.
- adrpo
- 885 Posts
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
"