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 Kommentare

stozaki
stozaki am 6 Feb. 2020
Bearbeitet: stozaki am 6 Feb. 2020
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

luc anchling
luc anchling am 8 Feb. 2020

0 Stimmen

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 Kommentare

stozaki
stozaki am 8 Feb. 2020
Bearbeitet: stozaki am 8 Feb. 2020
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Thermodynamics and Heat Transfer finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019b

Gefragt:

am 6 Feb. 2020

Kommentiert:

am 13 Feb. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by