Replies: 1 comment 2 replies
-
Hi @nkawerau, I am kind of puzzled by the large network, how big is that? What is the number of components/connections/fluids?
(build some initial network)
some_connection = Connection(...., sink, ...)
(run simulation)
nwk.del_conns(some_connection)
some_connection = Connection(....)
(build more parts of the network)
(run simulation) I'd suggest profiling your script, for example with something like pyinstrument. Best regards |
Beta Was this translation helpful? Give feedback.
-
How does the "init_previous" function work in Tespy? When I set init_previous =True and run a calculation for the second time, I expect to get a solution much faster. But unfortunately this is not the case. For example, the first run to solve a large Network took 367 seconds, the second took 352 seconds. Where are the values stored that init_previous uses? Do you have any other tips to speed up the convergence?
Beta Was this translation helpful? Give feedback.
All reactions