partial cost implementation
This commit is contained in:
parent
0088a27286
commit
301ea48953
10
README.md
10
README.md
@ -1,3 +1,11 @@
|
||||
# costs
|
||||
|
||||
Object-oriented generalization for the cost workflow
|
||||
This module processes the object-oriented generalization for the cost workflow
|
||||
|
||||
# installation
|
||||
|
||||
> $ pip install cerc-cost
|
||||
|
||||
# usage
|
||||
|
||||
> TBD
|
126
costs/results.py
126
costs/results.py
@ -1,8 +1,122 @@
|
||||
class Results:
|
||||
def __init__(self, building_results: dict):
|
||||
self._heating_peak_load = building_results
|
||||
self._cooling_peak_load = building_results
|
||||
self._heating_peak_load = building_results
|
||||
self._heating_peak_load = building_results
|
||||
self._heating_peak_load = building_results
|
||||
self._heating_peak_load = building_results
|
||||
self._monthly_cooling_peak_load = building_results['monthly_cooling_peak_load']
|
||||
self._yearly_cooling_peak_load = building_results['yearly_cooling_peak_load']
|
||||
self._monthly_heating_peak_load = building_results['monthly_heating_peak_load']
|
||||
self._yearly_heating_peak_load = building_results['yearly_heating_peak_load']
|
||||
self._monthly_cooling_demand = building_results['monthly_cooling_demand']
|
||||
self._yearly_cooling_demand = building_results['yearly_cooling_demand']
|
||||
self._monthly_heating_demand = building_results['monthly_heating_demand']
|
||||
self._yearly_heating_demand = building_results['yearly_heating_demand']
|
||||
self._monthly_lighting_electrical_demand = building_results['monthly_lighting_electrical_demand']
|
||||
self._yearly_lighting_electrical_demand = building_results['yearly_lighting_electrical_demand']
|
||||
self._monthly_appliances_electrical_demand = building_results['monthly_appliances_electrical_demand']
|
||||
self._yearly_appliances_electrical_demand = building_results['yearly_appliances_electrical_demand']
|
||||
self._monthly_domestic_hot_water_heat_demand = building_results['monthly_domestic_hot_water_heat_demand']
|
||||
self._yearly_domestic_hot_water_heat_demand = building_results['yearly_domestic_hot_water_heat_demand']
|
||||
self._monthly_heating_consumption = building_results['monthly_heating_consumption']
|
||||
self._yearly_heating_consumption = building_results['yearly_heating_consumption']
|
||||
self._monthly_cooling_consumption = building_results['monthly_cooling_consumption']
|
||||
self._yearly_cooling_consumption = building_results['yearly_cooling_consumption']
|
||||
self._monthly_domestic_hot_water_consumption = building_results['monthly_domestic_hot_water_consumption']
|
||||
self._yearly_domestic_hot_water_consumption = building_results['yearly_domestic_hot_water_consumption']
|
||||
self._monthly_distribution_systems_electrical_consumption = building_results['monthly_distribution_systems_electrical_consumption']
|
||||
self._yearly_distribution_systems_electrical_consumption = building_results['yearly_distribution_systems_electrical_consumption']
|
||||
self._monthly_on_site_electrical_production = building_results['monthly_on_site_electrical_production']
|
||||
self._yearly_on_site_electrical_production = building_results['yearly_on_site_electrical_production']
|
||||
|
||||
@property
|
||||
def monthly_cooling_peak_load(self):
|
||||
return self._monthly_cooling_peak_load
|
||||
|
||||
@property
|
||||
def yearly_cooling_peak_load(self):
|
||||
return self._yearly_cooling_peak_load
|
||||
|
||||
@property
|
||||
def monthly_heating_peak_load(self):
|
||||
return self._monthly_heating_peak_load
|
||||
|
||||
@property
|
||||
def yearly_heating_peak_load(self):
|
||||
return self._yearly_heating_peak_load
|
||||
|
||||
@property
|
||||
def monthly_cooling_demand(self):
|
||||
return self._monthly_cooling_demand
|
||||
|
||||
@property
|
||||
def yearly_cooling_demand(self):
|
||||
return self._yearly_cooling_demand
|
||||
|
||||
@property
|
||||
def monthly_heating_demand(self):
|
||||
return self._monthly_heating_demand
|
||||
|
||||
@property
|
||||
def yearly_heating_demand(self):
|
||||
return self._yearly_heating_demand
|
||||
|
||||
@property
|
||||
def monthly_lighting_electrical_demand(self):
|
||||
return self._monthly_lighting_electrical_demand
|
||||
|
||||
@property
|
||||
def yearly_lighting_electrical_demand(self):
|
||||
return self._yearly_lighting_electrical_demand
|
||||
|
||||
@property
|
||||
def monthly_appliances_electrical_demand(self):
|
||||
return self._monthly_appliances_electrical_demand
|
||||
|
||||
@property
|
||||
def yearly_appliances_electrical_demand(self):
|
||||
return self._yearly_appliances_electrical_demand
|
||||
|
||||
@property
|
||||
def monthly_domestic_hot_water_heat_demand(self):
|
||||
return self._monthly_heating_demand
|
||||
|
||||
@property
|
||||
def yearly_domestic_hot_water_heat_demand(self):
|
||||
return self._yearly_heating_demand
|
||||
|
||||
@property
|
||||
def monthly_heating_consumption(self):
|
||||
return self._monthly_heating_consumption
|
||||
|
||||
@property
|
||||
def yearly_heating_consumption(self):
|
||||
return self._yearly_heating_consumption
|
||||
|
||||
@property
|
||||
def monthly_cooling_consumption(self):
|
||||
return self._monthly_cooling_consumption
|
||||
|
||||
@property
|
||||
def yearly_cooling_consumption(self):
|
||||
return self._yearly_cooling_consumption
|
||||
|
||||
@property
|
||||
def monthly_domestic_hot_water_consumption(self):
|
||||
return self._monthly_domestic_hot_water_consumption
|
||||
|
||||
@property
|
||||
def yearly_domestic_hot_water_consumption(self):
|
||||
return self._yearly_domestic_hot_water_consumption
|
||||
|
||||
@property
|
||||
def monthly_distribution_systems_electrical_consumption(self):
|
||||
return self._monthly_distribution_systems_electrical_consumption
|
||||
|
||||
@property
|
||||
def yearly_distribution_systems_electrical_consumption(self):
|
||||
return self._yearly_distribution_systems_electrical_consumption
|
||||
|
||||
@property
|
||||
def monthly_on_site_electrical_production(self):
|
||||
return self._monthly_on_site_electrical_production
|
||||
|
||||
@property
|
||||
def yearly_on_site_electrical_production(self):
|
||||
return self._yearly_on_site_electrical_production
|
||||
|
Loading…
Reference in New Issue
Block a user