-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Hub process is used in a vertex #36
Comments
a notebook analyzing the phenomenon on a "clean" branch. git checkout master
git checkout -b test-process
git merge linelength_bug
# or for interactive selection (avoiding re-entry of unused imports)
git checkout -p linelength_bug -- rivus/main/rivus.py |
I am taking a look at it. I am a little unhappy with the chosen naming convention. since hub_processes are located on edges and I always think of hubs as nodes. |
So I changed the way the model sets are initialized. As such, the optimum was found, and no hubs were used in any vertex. But my solution time jumped from ~30s to ~30min ! |
Just my 2ct: yes, it is intentional that hub processes may be installed in vertices, and thus can appear in solutions. This simply means, that it is cheaper for the conversion product (e.g. heat) to be distributed through a dedicated (local or wide-spanning) network. Having 'Gas heating domestic' appear in a vertex thus means that having a (local or wide-spanning) heat transmission network is cheaper than having the gas being distributed to each hub, and have the heat generated there. In short: from my point of view, this is no bug, but a (potentially interesting, or boring) result that can be fully explained by the parameter values (process and transmission costs). @KSchoenleber: sorry for the confusing naming convention. I had read about "energy hubs" when naming processes in rivus. The hubs were meant to be the "light" version of full-blown, integer-variable-bearing vertex processes. |
Thank you for your reply @ojdo. Just to clarify:Did you plan I am contemplating, how realistic this is. Like I know, the available pipe diameters are estimated as linear functions, but somehow my instinct goes against the phenomenon, that a domestic process would feasible to be the cornerstone of a network. (1) in the haag15 data-set, all hubs have 50 MW maximum capacity. Which is kind of generous for one installation (But that is, what comes in mind if it is applied in a vertex, isn't it?) But could be realistic, if it is the maximum capacity of an edge (where demand is accumulated, and so the max-cap can also be regarded as a "scaled parameter".) Note:This should be documented. Now the cited part of the thesis is rather misleading.
Furthermore, the implemented switch in PR #37 could ensure that everybody can decide for himself, how the problem shall be formulated in this aspect. |
From @ojdo's thesis (page 109):
If my understanding is right, the hub like 'Gas heating domestic' should not appear after
an optimisation in
kappa_process
, right? @ojdo @KSchoenleberBut it does. I will check my setup again and post the parameter set for reproducibility.
The text was updated successfully, but these errors were encountered: