Skip to content

Commit

Permalink
fuel boiler efficiency set in the excel input table
Browse files Browse the repository at this point in the history
  • Loading branch information
SongminYu committed Feb 21, 2024
1 parent 70ac4dd commit 299ef1d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions models/operation/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class Building(OperationComponent):
class Boiler(OperationComponent):
type: Optional[str] = None
carnot_efficiency_factor: Optional[float] = None
fuel_boiler_efficiency: Optional[float] = None


@dataclass
Expand Down
2 changes: 1 addition & 1 deletion models/operation/model_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def setup_building_params(self):
static=False)

def setup_space_heating_params(self):
self.fuel_boiler_efficiency = 1 # TODO specify as input??
self.fuel_boiler_efficiency = self.scenario.boiler.fuel_boiler_efficiency
self.SpaceHeatingHourlyCOP = self.calc_cop(
outside_temperature=self.scenario.region.temperature,
supply_temperature=self.scenario.building.supply_temperature,
Expand Down
Binary file modified tests/operation/input/OperationScenario_Component_Boiler.xlsx
Binary file not shown.

0 comments on commit 299ef1d

Please sign in to comment.