KeyError: 'H2O' #537
Unanswered
muhammadbagusd
asked this question in
Q&A
Replies: 1 comment
-
Hi @muhammadbagusd, thank you for reaching out, this looks like a bug with a small "but". The but is, that this setup would not work anyway in that part of the system. You form a cycle by connecting the storage interface heat exchanger with a condenser and that back to the storage interface heat exchanger without the use of a cycle closer in between. By modifying your script like this, the error is gone hp_charging_cold = Connection(storage_interface, 'out1', hp_condenser, 'in2')
hp_charging_hot_cc = Connection(hp_condenser, 'out2', storage_closer, 'in1')
hp_charging_hot = Connection(storage_closer, 'out1', storage_interface, 'in1')
nw.add_conns(hp_charging_hot, hp_charging_hot_cc, hp_charging_cold) Best Francesco |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I am quite new to TESpy and so far I have learned the heat pump and Rankine Cycle Basic from modeling the basic system. I tried to customize the heat pump a bit and connect the condenser to the heat exchanger to store the heat. But somehow I get this KeyError: 'H2O', although I have already defined the fluid properties as in the previous basic model (heat pump and Rankine Cycle).
I would like to ask here and hope to find the answer, thanks in advance and wish you all a nice weekend :)
Beta Was this translation helpful? Give feedback.
All reactions