Giter Club home page Giter Club logo

hive's People

Contributors

amraladdin avatar bombyx-eth avatar christophwaibel avatar daren-thomas avatar hillias avatar justinfmccarty avatar justinzarb avatar linwal avatar maxenceryan avatar mmatache25 avatar ncatunda avatar pedrammrbn avatar philipschulz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hive's Issues

Shadow visualisation

Try out different options for shadow display (eg. hourly shadows per day).
Alternatively, create a new component that just visualises shadows for a summer and winter day (perhaps two different colours)

Discrepancy between HIVE and Python-based RC model

Something is causing discrepancies between the results simulated using the python based RC model and the Grasshopper implementation. I have eliminated all heat gains, so the problem lies somewhere in the differential equations for temperature. Comparing the object variables for the two models after 24 hours reveals the following differences in values:

HIVE / Python
t_air 11.52827 7.307261
t_s 12.639506 8.079298
t_m 13.382062 8.595193
t_m_next 13.188142 8.460466
t_operative 12.306135 7.847687
energy_demand_unrestricted 2959.270369 4433.71616
c_m 6448126.62141 6448126.62141

Mass temperature for the first four hours of the year:
HIVE / Python
18.89154 18.891539548818383
18.557746 18.301341391880126
18.349682 17.839885544011455
18.226435 17.476863536182947

The first result is very close, so I suspect it might be something like a rounding error which somehow increases with each time step

image

Decide on the advanced solar irradiation model

  • Choose the Solar Irradiation model we will use for hive (other than the super simplified SIA 2028.

The choice should be based on the speed of the simulations. hive wants to move more towards real-time simulations.

Three Solar Irradiaiton models stand out:
___Solar Irradiation Model by Joan
___Solar Irradiation Model by Christoph Waibel https://github.com/christophwaibel/GH_Solar_V1 & https://github.com/christophwaibel/GH_Solar_V2
___Solar Irradiation model from ISO 52010 (2017) https://github.com/lukas-rokka/solarCalcISO52010

Implement a honey-badger install feature

Currently, we're using honey-badger to create the .ghpy files used to ship hive. These still need to be manually copied to the appropriate GH folder.

I think honey-badger should have an "install" subcommand that would compile (?) and install the results in one step.

Speed

Calculation speed is critical to ensure feasibility with annual hourly simulation. Currently, the major bottleneck is still solar calculations, so once the major bugs are dealt with, it would be worth going through the functions and eliminating any useless bits of code.

Create 3D Model templates

To vary in the different models:

  • Number of floors [2, 3, 4, 5, 8, 12]
  • WWR
  • Context [No context, low-density, medium-density, high-density] refer to EaCSIII as a starting point.
  • ...

Inaccurate sun location

The sun altitude and azimuth were slightly different to the Ladybug values for a given HOY and location. This issue has been addressed in a recent commit within the private ASF_Control repository.

[edit: ASF_Control]

SIA 380

A simplified implementation of the SIA 380.1 norm as provided by @hillias 's Excel file.

Null opaque element

At startup, the opaque element component sometimes returns a null value. When the component is tested, it works.

Purpose of the unecesary outputs in Zone2

Could you delete the unecessary outputs in the object 'Zone2'

Also, why is it called Zone2? As this is a first release, you might as well just call it something more intuitive like ConstructZone

testing

I already implemented the unit tests in the main branch of RC_Buildingsimulator in grasshopper, where scenarios are described using dictionaries.

  1. The dictionary system could be implemented in the original unit tests, which are hard to transfer.

  2. The unit tests should be repeated for the 'zone2' component, which is a lightly modified version of the Building class in building_phyics.py

Shadows

Shadows are projected on the window even if the shading geometry is behind the window.

Radiation mismatch

Direct normal and diffuse horizontal radiation do not correspond with ladybug results. I am still investigating the cause.

clipper.dll permanent directory

Need to find a universal way to get to the clipper.dll address, both for saved and unsaved Rhino files (os.cwd is different for either of these cases)

Create honey-badger.exe

Since hive will be using honey-badger to compile (and install?) hive components, make using honey-badger easier by creating honey-badger.exe using ipyc.exe from IronPython 2.7.8 (the version used by GH as of today).

See https://stackoverflow.com/a/52088830/2260 for more information on how to do this.

A script (make-honey-badger.bat?) could be used to do this easier.

Internal Gains component is not entirely intuitive

  • there is no input for appliance gains which would be useful. It could be a constant
  • consider naming the output occupancy to occupancy_profile
  • There is an error possibility if the start and end HOY inputs don't match the weather data inputs
  • custon_pattern as the first input is a little scary. Can this be moved to the bottom
  • Instead of a file path to a csv. Would it be possible to already have a default occupany profile of an Office scenario within the code? Or more ideally, just have a string input to select the occupany profile of choice

Hive_getSimulationData should be renamed to Hive_getWeatherData

I would recommend the following steps

  1. Create another catergory called "Environment". "Environment" should exist before "Zone"
  2. Rename Hive_getSimulationData to Hive_getWeatherData
  3. Move internal gains, and getweather data to the "Environment" catergory

This way only the simulation object exists within the "Simulation Catergory"

Implement simplified PV electricity generation calculations

Hi Daren

Please create a new component 'PV electricity generation - simplified calculations' as follows:

Inputs:

Gh - Global horizontal irradiation [kWh/m2]
OF - Orientation factor [%] (Default Value: 100%)
eta - PV module efficiency [%] (Default Value: 18%)
PR - Performance ratio [%] (Default Value: 75%)
A - PV area[m2] (Default Value: 100 m2)

Outputs:
E - PV electricity generation [kWh]

Component:
Calculate E = Gh * OF * eta * PR * A

Code review

Some things that need to be done:

  • Licensing and disclaimers
  • Style and documentation
  • Functions that could help developers

Create electricity demand calculation

  • Check which SIA standard is used to calculate electricity demand.
  • Create Excel sheet or GH file w/ needed equations.
  • Give Excel sheet to Saso to incorporate in hive.

Implement the editable option for honey-badger

Motivation: Development of the components will be much faster if we don't need to close/restart rhino+gh every time we make a change to the components.

honey-badger includes an "-e" option for "editable", a bit like how pip does it. This would create a ".ghpy" file that delegates to the original source (by reloading?) instead of including it outright. This still needs to be implemented.

Internal gains & occupancy

Something odd going on with the internal gains and occupancy component: it's returning the same value

Create DHW demand calculation

  • Check which SIA standard is used to calculate DHW.
  • Create Excel sheet/GH file w/ needed equations.
  • Give Excel sheet to Saso to incorporate in hive.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.