Problem with simulink for a Rankine Cycle simulation

For a personal project, I want to simulate the Rankine Cycle with 2P elements, I already manage to build the evaporator, the condensor block and each thermal sources and despite all my investisment on this project there are still errors, they all concern the thermal source which does not appear in any equation, and I cannot fix this problem by all the method I saw on the web. If anybody could help me it will be very kind ^^ Thanks
I put the two simulations I've made (twice got the same error)

3 个评论

environment_temperature that is variable is not defined in the base workspace.
You speak about the first or the second one or both simulations ??
Simulation_TIPE :
I got an error.
Simulation_TIPE_2 :
I got 6 error but they are similar errors. In each case, an error is output because the variable is undefined.

请先登录,再进行评论。

回答(1 个)

Normally I fix the problem you talked about, I got another problem come from equations, I don't know if we can solve this one because we cannot modificate it. And I create all variable but I don't know where they are (Where I have to go to modificate it ?)
Thanks

2 个评论

Two variables are undefined.These values must be determined by you.
% right side are "dummy" value.
thermal_mass = XXX; % Thermal Mass block
exchanger_area = YYY; % Conductive Heat Transfer block
Some parameters are defined in the model function initial function.
modelProp.png
I think that I created all variable (but I'm not really sure about it), but it persist some errors due to equations locations but I don't really think that I'm capable of modificate thedse equations they seems to be locked and unmodificable.
Thanks

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Thermodynamics and Heat Transfer 的更多信息

产品

版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by