In the current ET-Engine, sometimes we have to match an set demand with a set production, e.g.:
[A] <-- [B] <-- [C]
Where A is e.g. set to 100 and C is set to 200. Needless to say, this poses a challenge for converter B.
This happens in the model every time when the demand is set by the User or the Statistical Bureau, but e.g. also the number of CHPs that produce 'so much' heat is also set by the User/Statistical Bureau.
How ET-Engine deals with this
Structure
An 'overflow' converter need to exist, with two directed edges connecting converter B that needs to balance A and C.
The 'overflow' converter can provide extra energy, or usurp extra energy.
Calculated values
In all cases, through converter B the flow supposed to as big as the biggest demand/production from A or C.
Below we show:
black: preset node flows
red: calculated node flows
blue: calculated edge flows
Suppose A < C
Then, B should become 200, and E100
Suppose A > C
Then, alsoB should become 200, and E100, but D and F get different values:
Including @andremedeiros and @ChaelKruip in this discussion
Background of this challenge.
In the current ET-Engine, sometimes we have to match an set demand with a set production, e.g.:
Where
A
is e.g. set to 100 andC
is set to 200. Needless to say, this poses a challenge for converterB
.This happens in the model every time when the demand is set by the User or the Statistical Bureau, but e.g. also the number of CHPs that produce 'so much' heat is also set by the User/Statistical Bureau.
How ET-Engine deals with this
Structure
An 'overflow' converter need to exist, with two directed edges connecting converter
B
that needs to balanceA
andC
.The 'overflow' converter can provide extra energy, or usurp extra energy.
Calculated values
In all cases, through converter B the flow supposed to as big as the biggest demand/production from A or C.
Below we show:
Suppose A < C
Then,
B
should become 200, andE
100Suppose A > C
Then, also
B
should become 200, andE
100, butD
andF
get different values:Including @andremedeiros and @ChaelKruip in this discussion