Calculation Class

class solarhouse.calculation.Calculation(tz: str, geo: dict, building: solarhouse.building.Building)

Class implements methods for calculate of the solar power what you can take on faces of the building. As a result you can get html page with graphics. Alternatively, you can export data in file CSV or JSON.

compute(date: datetime.datetime = None, month: datetime.datetime = None, year: datetime.datetime = None, period: tuple = None, with_weather: bool = True) → None

proxy method for prepare period and calculations.

start_calculation(start: pandas._libs.tslibs.timestamps.Timestamp, end: pandas._libs.tslibs.timestamps.Timestamp, with_weather: bool = True) → None

Start calculations.