Git Product home page Git Product logo

iwugermany / dibs---dynamic-iso-building-simulator Goto Github PK

View Code? Open in Web Editor NEW
22.0 4.0 7.0 141.92 MB

Adapted ISO13790 hourly dynamic building energy simulator (DIBS) for single buildings and building stocks - Ready to use with ENOB:dataNWG interview and on-site inspection data for the simulation of German building stocks.

Home Page: https://iwugermany.github.io/dibs/

License: MIT License

Shell 0.51% Python 99.49%
energy-consumption building-energy greenhouse-gas-emissions iso13790 building-stock-modelling

dibs---dynamic-iso-building-simulator's People

Stargazers

 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

dibs---dynamic-iso-building-simulator's Issues

multi-zone simulation

Hi,

I was wondering if the python model can be used for a multi-zone hourly simulation as well (and if you have an example of this, e.g. with 2 zones)?

Best,
Matthias

annualSimulation.py - IndexError: single positional indexer is out-of-bounds

Anaconda env
pandas 2.0.3

Beim starten von annualSimulation.py nach Anleitung bekomme ich ein "IndexError: single positional indexer is out-of-bounds"

Volle Meldung:
`Traceback (most recent call last):

File ~\Anaconda3\envs\DIBS\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)

File c:\users\hartmut\dibs---dynamic-iso-building-simulator\iso_simulator\annualsimulation\annualsimulation.py:635
f_GHG = f_GHG.iloc[0] # Selects first row (0) value

File ~\Anaconda3\envs\DIBS\lib\site-packages\pandas\core\indexing.py:1103 in getitem
return self._getitem_axis(maybe_callable, axis=axis)

File ~\Anaconda3\envs\DIBS\lib\site-packages\pandas\core\indexing.py:1656 in _getitem_axis
self._validate_integer(key, axis)

File ~\Anaconda3\envs\DIBS\lib\site-packages\pandas\core\indexing.py:1589 in _validate_integer
raise IndexError("single positional indexer is out-of-bounds")

IndexError: single positional indexer is out-of-bounds`

Soweit ich das nachvollziehen kann:
Zeile 635
f_GHG = f_GHG.iloc[0]
scheint bei Fueltype = 'None' den error zu erzeugen

Zeile 627
setzt man Fueltype = 'NoCooling' läuft es

Edit: Zeilen ergänzt

Appliance_gains_elt_demand_sum is not being appended to a list

Ich habe ein Problem entdeckt, als ich DIBS zur Simulation der Solarstromerzeugung in den Gebäuden verwendet habe. Appliance_gains_elt_demand wird nicht an eine Liste angehängt, sondern im hourlyResults-Datenrahmen gespeichert und später summiert, um den Jahreswert zu erhalten. Dieser Jahreswert wird später zur Berechnung des Strombedarfs verwendet. Leider wird im Datenrahmen immer derselbe Wert gespeichert, da der Parameter nicht an die Liste angehängt wird. Infolgedessen ist Appliance_gains_elt_demand das ganze Jahr über konstant und der Gesamtstrombedarf ergibt einen falschen Wert. Ich habe dieses Problem behoben, indem ich Appliance_gains_elt_demand einfach an eine Liste angehängt habe. Zu Ihrer Information...

hourlyResults = pd.DataFrame({
'ApplianceGainsEltDemand':ApplianceGainsEltDemand,
'HeatingDemand': HeatingDemand,
'HeatingEnergy': HeatingEnergy,
'Heating_Sys_Electricity': Heating_Sys_Electricity,
'Heating_Sys_Fossils': Heating_Sys_Fossils,
'CoolingDemand': CoolingDemand,
'CoolingEnergy': CoolingEnergy,
'Cooling_Sys_Electricity': Cooling_Sys_Electricity,
'Cooling_Sys_Fossils': Cooling_Sys_Fossils,
'HotWaterDemand': HotWaterDemand,
'HotWaterEnergy': HotWaterEnergy,
'HotWater_Sys_Electricity': HotWater_Sys_Electricity,
'HotWater_Sys_Fossils': HotWater_Sys_Fossils,
'IndoorAirTemperature': TempAir,
'OutsideTemperature': OutsideTemp,
'LightingDemand': LightingDemand,
'InternalGains': InternalGains,
'Appliance_gains_demand': Appliance_gains_demand,
'Appliance_gains_elt_demand': Appliance_gains_elt_demand,
'SolarGainsSouthWindow': SolarGainsSouthWindow,
'SolarGainsEastWindow': SolarGainsEastWindow,
'SolarGainsWestWindow': SolarGainsWestWindow,
'SolarGainsNorthWindow': SolarGainsNorthWindow,
'SolarGainsTotal': SolarGainsTotal,
'Daytime': DayTime,
})

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.