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 Comments

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.

Sign in to comment.

Answers (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 Comments

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

Sign in to comment.

Categories

Products

Release

R2019b

Asked:

on 6 Feb 2020

Commented:

on 13 Feb 2020

Community Treasure Hunt

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

Start Hunting!