Commit e7e6cfc
authored
Feature agro hub assets (#249)
* Added energyassets for agrohub case
* Corrected selfconsumption and selfsufficiency calcs for models with fuel production
* Reinstated previous CHP implementation
eta_r of CHP is defined as:
methaneConsumption_kW = (electricityProduction_kW + heatProduction_kW ) / eta_r
So both heat and electricity production are counted in this ratio.
* Added gasstorage asset for biogas in agrohub case
Agrohub uses gasstorage to store 'methane' from dairycows, which can only be used by the CHP to produce electricity & heat.
* Added BiogasMethaneConverter asset
No control logic implemented yet, just the 'dumb' asset.
* Added methane consumption asset
Further changes to f_manageFlexAssetsAgrhub
* More heating system options and modified CHP logic.
* Merge with main
Tested agro-case, results unchanged.
* Fix to contractCost calculation which could result in null outputs
* allow negative netload KPI when there is only 1 hsms and 1 msls gridnode
* New logic for agrocase with CHP and industrial heatpump
* Fixed error when running agrocase greengas and gasburner
* small fix in electrolyser strategy to correctly query electricity price1 parent 4c2f291 commit e7e6cfc
File tree
21 files changed
+157515
-293312
lines changed- Base
- cases/industry_case
- database
21 files changed
+157515
-293312
lines changedLarge diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 8 | + | |
| 9 | + | |
17 | 10 | | |
18 | 11 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
31 | 17 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
35 | 21 | | |
36 | | - | |
| 22 | + | |
37 | 23 | | |
38 | 24 | | |
39 | 25 | | |
40 | 26 | | |
41 | 27 | | |
42 | | - | |
| 28 | + | |
| 29 | + | |
43 | 30 | | |
44 | 31 | | |
45 | | - | |
| 32 | + | |
| 33 | + | |
46 | 34 | | |
47 | 35 | | |
48 | | - | |
| 36 | + | |
| 37 | + | |
49 | 38 | | |
50 | 39 | | |
51 | | - | |
| 40 | + | |
| 41 | + | |
52 | 42 | | |
53 | 43 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
57 | 47 | | |
58 | | - | |
| 48 | + | |
59 | 49 | | |
0 commit comments