Feature/add thermal building model #1117
Annotations
3 errors and 1 warning
/home/runner/work/oemof-solph/oemof-solph/examples/thermal_building_model/calculate_gain_by_Sun.py#L68
"Albedo",
"liq_precip_depth_mm",
"liq_precip_rate_Hour",
]
self.weather_data = pd.read_csv(
- epwfile_path, skiprows=8, header=None, names=epw_labels,
- encoding='ISO-8859-1', engine='python').drop('datasource', axis=1)
+ epwfile_path,
+ skiprows=8,
+ header=None,
+ names=epw_labels,
+ encoding="ISO-8859-1",
+ engine="python",
+ ).drop("datasource", axis=1)
def calc_sun_position(self, latitude_deg, longitude_deg, year, hoy):
"""
Calculates the Sun Position for a specific hour and location
:param latitude_deg: Geographical Latitude in Degrees
|
/home/runner/work/oemof-solph/oemof-solph/src/oemof/solph/components/experimental/__init__.py#L9
from ._generic_caes import GenericCAES
from ._piecewise_linear_converter import PiecewiseLinearConverter
from ._sink_dsm import SinkDSM
from ._generic_building import GenericBuilding
+
__all__ = [
"GenericCAES",
"PiecewiseLinearConverter",
"SinkDSM",
- "GenericBuilding"
+ "GenericBuilding",
]
|
/home/runner/work/oemof-solph/oemof-solph/src/oemof/solph/components/experimental/_generic_building.py#L17
from typing import List
from pyomo.environ import Set
from pyomo.environ import Var
from oemof.solph._helpers import check_node_object_for_missing_attribute
from oemof.network import network
+
class GenericBuilding(network.Node):
r"""
Component `GenericBuilding` to model with basic characteristics of buildings.
A 5RC-model is chosen to abstract buildings in a one zone model and make them linear-optimizable.
|
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v1, samuelmeuli/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|