Replies: 1 comment 4 replies
-
Hi @MMArro, thanks for reaching out. That is a lot to process so have a little patience with me. I would actually like to invite you to the next online user meeting, so we can discuss this in person? Best Francesco |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have been attempting to construct a custom component to represent an industrial dryer. The initial idea is to make it as simple as possible. For this purpose, I have attempted to repurpose the heat exchanger component already existing in Tespy, intending to add a component of mass transfer which would correspond to the evaporation and "addition" of water mass to the drying air. Under this system, the "material" side of the component is made up of a "fictional" water current, which would lose mass equal to the amount evaporated. The drying air would then have it's composition and mass recalculated with this added water mass ( I am currently not preoccupied with the enthalpy for the material side). The attached image is a schematic representation of what I intend for the custom component to do:
The attached code has been working reasonably well for this purpose, and has been able to calculate the heat load transferred in the drying process (to which I can subtract the minimum theoretical heat load required to obtain an estimation for the losses occuring in the dryer). However, I have run into issues when I attempt to attach this to a combustion system. As is typical for an industrial continuous dryer, the drying air is heated through combustion of a fuel (such as natural gas, or in the example provided, pure Methane). The problem comes when I create a system such as the one present in the following figure:
This results in either a jacobian error, or an overcharacterization of the system. What's confounding me is that when I simply perform the calculations for the combustion separately, and feed the resulting exhaust stream as parameters using the set_attr method for the dryer inlet, it functions and is able to converge. The problem only comes when the entire network is connected, and no combination of parameters has been able to allow it to converge.
Is there anything I am doing wrong with the component definition, or the equations present therein that could generate this problem? It would be highly beneficial for the dryer to be represented as a single subnetwork.
Kind regards and a preemptive thanks,
Manuel
Beta Was this translation helpful? Give feedback.
All reactions