Solar Water Heating loop using TESPy #556
Replies: 1 comment 1 reply
-
Hi @camilamartinf, thanks for reaching out!
What you are suggesting is possible in principle. If I was you, I would create some class, which holds the TESPy model and feed the parameters for every time step into that class to return some result. In that sense you have a quasi-stationary system by assuming the plant behaves in a certain manner for a single hour and it may change after that. What you cannot do with tespy is caption the transient processes when changing from one state to another.
That is correct. What you need for that is the information how the components behave when not operated at their design specifications.
This should work.
In principle you can do all the things you envision. The main challenge is to get good data on part-load behavior of the individual components in my opinion. We can have an exchange on that topic in one of the monthly online meetings. Or, in case you are located in Germany or not too far from there: There will be an in-person meeting of the oemof community, where I plan to give a short intro to integration of tespy models in workflows. Own topic suggestions during the meeting are also welcome: https://github.com/oemof/oemof/wiki/Meeting-2024.11%3A-10-years-of-oemof. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone!
First of all, thank you for creating and sharing the TESPy library. I am an investigator and I am using it for modelling a thermal loop including a solar collector, that tranfers heat through a HX to a source-and-sink system (imitating a industrial process demand). At the hot side I've also include a pump and a cyclecloser component. Here is my current code:
This code runs without errors and saves the design mode results.
I've read examples in the documentation and dive into the discussions, but I still have trouble understanding the capabilities of the off-design mode. For example, I've stablish the parameters for the connections thinking of controlling some of the components and creating a simulation loop. The global idea is to imitate a transient simulation, updating input variables at each time step and exporting results. Something like this:
I understand that TESPy is not designed for transient simulations, but I’d like to give it a try. In my attempt to control the operation of this loop, I plan to run the network in off-design mode. (I believe this is the recommended approach once the system has been solved in design mode and I want to evaluate its behavior when modifying variables.)
For instance, I am considering adjusting the mass flow rate exiting the pump to control the fluid temperature reaching the sink (to meet the "process" target temperature).
I realize this might be pushing TESPy beyond its intended use, but that’s part of my question: Am I on the right track in trying to use the framework to modify variables and retrieve the resulting states (to control system behavior)? If so, how should I properly implement the off-design mode solver?
Thank you in advance for any guidance!
Sincerely,
Camila Martin
Beta Was this translation helpful? Give feedback.
All reactions