Skip to content

Commit e7e6cfc

Browse files
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 price
1 parent 4c2f291 commit e7e6cfc

21 files changed

+157515
-293312
lines changed

Base/Base.alp

Lines changed: 649 additions & 71 deletions
Large diffs are not rendered by default.

Base/Base.alp.bak

Lines changed: 2730 additions & 528 deletions
Large diffs are not rendered by default.

Base/ContractData.json

Lines changed: 218 additions & 12249 deletions
Large diffs are not rendered by default.

Base/HourlyCurves - DomLaden.json

Lines changed: 43819 additions & 0 deletions
Large diffs are not rendered by default.

Base/HourlyCurves.json

Lines changed: 43819 additions & 0 deletions
Large diffs are not rendered by default.

Base/OutputAgentData.json

Lines changed: 60 additions & 390 deletions
Large diffs are not rendered by default.

Base/OutputRunSettingsData.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"timeStep_h" : "0.25",
33
"timeStepsElapsed" : "35041",
44
"modelHoursElapsed_h" : "8760.0",
5-
"modelStartUpDuration_s" : "2.258",
6-
"modelRunDuration_s" : "69.625",
7-
"nGridNodes" : "11",
8-
"nGridConnections" : "12",
9-
"nEnergyAssets" : "71",
10-
"nConnectionOwners" : "12",
5+
"modelStartUpDuration_s" : "0.386",
6+
"modelRunDuration_s" : "1.731",
7+
"nGridNodes" : "2",
8+
"nGridConnections" : "5",
9+
"nEnergyAssets" : "50",
10+
"nConnectionOwners" : "5",
1111
"nEnergySuppliers" : "1",
12-
"nEnergyHolons" : "9",
12+
"nEnergyHolons" : "1",
1313
"nAdministrativeHolons" : "0",
14-
"nGridOperators" : "3",
14+
"nGridOperators" : "1",
1515
"nNationalEnergyMarket" : "1",
16-
"shareElectricvehiclesInHouseholds" : 1.0
16+
"shareElectricvehiclesInHouseholds" : 0.0
1717
} ]

Base/OutputSimulationResults.json

Lines changed: 26 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,49 @@
11
[ {
22
"HSMSPeakLoadElectricity_kW" : 5000.0,
3-
"MSLSPeakLoadElectricity_kW" : 40000.0,
3+
"MSLSPeakLoadElectricity_kW" : 5000.0,
44
"cumulativeCapacityHS" : 5000.0,
5-
"cumulativeCapacityLS" : 40000.0,
6-
"netOverload_pct" : 1.185266164297404,
5+
"cumulativeCapacityLS" : 5000.0,
6+
"netOverload_pct" : 99.35792067035104,
77
"timesOfNodePeakLoads_h" : {
8-
"E465708" : 1.5,
9-
"E465698" : 467.5,
10-
"E465699" : 1.0,
11-
"E465700" : 0.0,
12-
"E465701" : 8684.25,
13-
"E465702" : 356.25,
14-
"E465703" : 0.0,
15-
"E465704" : 0.0,
16-
"E465705" : 0.0
8+
"E1" : 190.75,
9+
"E2" : 190.75
1710
},
1811
"gridConnectionMaxLoad_fr" : {
19-
"grc639770" : 0.721259488348462,
20-
"grc639771" : 0.3531668104136549,
21-
"grc639772" : 0.7348465028015383,
22-
"grc639773" : 0.7138194481373101,
23-
"grc639774" : 0.6990278415434387,
24-
"grc639775" : 0.7924096778358202,
25-
"grc639776" : 0.725100275328779,
26-
"grc639777" : 0.0,
27-
"grc639778" : 0.0,
28-
"grc639779" : 0.009,
29-
"grc639780" : 0.0,
30-
"grc639781" : 0.7967857361973619
12+
"grc1" : 1.0000000000000007,
13+
"grc2" : 1.0000000000000013,
14+
"grc3" : 0.8228813425513488,
15+
"grc5" : 0.0,
16+
"grc4" : 0.0
3117
},
32-
"MSLSnodePeakPositiveLoadElectricity_kW" : 19.12742540472523,
33-
"MSLSnodePeakNegativeLoadElectricity_kW" : 0.23300071423999968,
34-
"totalElectricityImport_MWh" : 159.45,
18+
"MSLSnodePeakPositiveLoadElectricity_kW" : 4967.896033517552,
19+
"MSLSnodePeakNegativeLoadElectricity_kW" : 0.0,
20+
"totalElectricityImport_MWh" : 28848.48,
3521
"totalElectricityExport_MWh" : 0.0,
36-
"totalMethaneImport_MWh" : 0.02,
22+
"totalMethaneImport_MWh" : 6315.96,
3723
"totalMethaneExport_MWh" : 0.0,
3824
"totalHydrogenImport_MWh" : 0.0,
3925
"totalHydrogenExport_MWh" : 0.0,
4026
"totalDieselImport_MWh" : 0.0,
4127
"totalBatteryUnitsInstalled" : {
42-
"TEMPLATE: Private Electric Vehicle" : 7.0
28+
"EHGV" : 40.0,
29+
"Grid_battery_logistics" : 2.0
4330
},
4431
"totalBatteryChargeAmount_MWh" : {
45-
"TEMPLATE: Private Electric Vehicle" : 34.9
32+
"EHGV" : 19357.3,
33+
"Grid_battery_logistics" : 7279.08
4634
},
4735
"totalBatteryDischargeAmount_MWh" : {
48-
"TEMPLATE: Private Electric Vehicle" : 0.0
36+
"EHGV" : 0.0,
37+
"Grid_battery_logistics" : 7286.58
4938
},
5039
"totalBatteryInstalledCapacity_MWh" : {
51-
"TEMPLATE: Private Electric Vehicle" : 0.42
40+
"EHGV" : 100.0,
41+
"Grid_battery_logistics" : 37.5
5242
},
5343
"totalSelfConsumption_fr" : 0.0,
54-
"totalSelfSufficiency_fr" : 0.1896819050146642,
55-
"TotalEnergyUsed_MWh" : 196.70000000000002,
56-
"TotalEnergyProduced_MWh" : "NaN",
44+
"totalSelfSufficiency_fr" : 1.0257749538666872E-8,
45+
"TotalEnergyUsed_MWh" : 35181.80700000001,
46+
"TotalEnergyProduced_MWh" : 0.0,
5747
"TotalEnergyCurtailed_MWh" : 0.0,
58-
"shareElectricvehiclesInHouseholds" : 1.0
48+
"shareElectricvehiclesInHouseholds" : 0.0
5949
} ]

0 commit comments

Comments
 (0)