@@ 111-122 (lines=12) @@ | ||
108 | source = Column(String) |
|
109 | ||
110 | ||
111 | class BuildingHeatPeakLoads(Base): |
|
112 | """ |
|
113 | Class definition of table demand.egon_building_heat_peak_loads. |
|
114 | ||
115 | """ |
|
116 | __tablename__ = "egon_building_heat_peak_loads" |
|
117 | __table_args__ = {"schema": "demand"} |
|
118 | ||
119 | building_id = Column(Integer, primary_key=True) |
|
120 | scenario = Column(String, primary_key=True) |
|
121 | sector = Column(String, primary_key=True) |
|
122 | peak_load_in_w = Column(REAL) |
|
123 | ||
124 | ||
125 | class CtsDemandBuildings(Dataset): |
@@ 534-548 (lines=15) @@ | ||
531 | ) |
|
532 | ||
533 | ||
534 | class BuildingHeatPeakLoads(Base): |
|
535 | """ |
|
536 | Class definition of table demand.egon_building_heat_peak_loads. |
|
537 | ||
538 | Table with peak heat demand of residential and CTS heat demand combined for |
|
539 | each building. |
|
540 | ||
541 | """ |
|
542 | __tablename__ = "egon_building_heat_peak_loads" |
|
543 | __table_args__ = {"schema": "demand"} |
|
544 | ||
545 | building_id = Column(Integer, primary_key=True) |
|
546 | scenario = Column(String, primary_key=True) |
|
547 | sector = Column(String, primary_key=True) |
|
548 | peak_load_in_w = Column(REAL) |
|
549 | ||
550 | ||
551 | def skip_task(scn=str, task=str): |