Closed christophwaibel closed 2 years ago
To Do:
\Hive.IO\GhMergers\GhPurchasedElectricity.cs
elecPurchased
, it should read a list of Hive.IO.EnergySystems
(i.e., all technologies that require or produce electricity: chiller, ashp, PV, CHP, ...)building electricity demand
(plug loads) and a boolean for hourly
. Have a look at other merger components in the namespace Hive.IO\GhMergers
and try to follow their structure, if possiblevar elecPurchased = new List<double>(); DA.GetDataList(1, elecPurchased);
with code contained in the two custom ghpython components as seen on the screenshot.elecDemandOut
of the ghpython component in the middle of the screenshot above is what needs to be now internally calculated in GhPurchasedElectricity.cs
heatDemandOut
of the ghpython component will be redundant and can be ignoredEaCS3_E04_Hive_Template.gh
to the very right, just before the Results
grouppossible relation with #707
Describe the bug There are custom ghpython components for merging grid electricity in the main template. They use
import Hive.IO.EnergySystems
, which will not work anymore once we remove theepw_reader.py
component from honeybadger (#692 ). In that python script, we load in dependencies that make this import work. But once we create a proper Hive.IO component for merging electricity, we won't need these dependencies anymore.To Reproduce remove
Hive.Core.epw_reader.ghpy
from the grasshopper components libraries folder and the main hive template will stop working properly.Screenshots
Software
Additional context related comment from earlier PR