orcmkit / ORCmKit

ORC Modeling Kit: Tools for the modeling of ORC power systems in Python, Matlab and EES
MIT License
20 stars 17 forks source link

Problems when running ORC model on Matlab #9

Open layyf2 opened 7 years ago

layyf2 commented 7 years ago

Hi @davideziviani @RDickes !

Thanks a lot for sharing Matlab model of ORC. I would like to use your model as a reference in my research project. However, I come across a problem when running ORC.model. The error message says:

x0 evaluation: 1/81 Not enough input arguments.

Error in PumpModel (line 100) if not(isfield(param, 'displayResults'))

Error in OrcModel>OrganicRankineCycle_init2 (line 909) [out_PP, ~] = PumpModel(out.P_pp_su, out.h_pp_su, z(1), fluid_wf, N_pp, param.PP);

Error in OrcModel (line 178) guess = OrganicRankineCycle_init2(z, fluid_wf, fluid_htf, in_htf_su, T_htf_su, P_htf_su, m_dot_htf, fluid_ctf, in_ctf_su, T_ctf_su, P_ctf_su, m_dot_ctf, T_amb, N_exp, N_pp, param);

The PumpModel is fine when run individually, but the problem still exists in ORC.model. Could you please figure it out for me?

Thanks a lot for your help. Yuqing.