|
@@ 56-66 (lines=11) @@
|
| 53 |
|
profile_share = Column(Float) |
| 54 |
|
|
| 55 |
|
|
| 56 |
|
class EgonCtsHeatDemandBuildingShare(Base): |
| 57 |
|
__tablename__ = "egon_cts_heat_demand_building_share" |
| 58 |
|
__table_args__ = {"schema": "demand"} |
| 59 |
|
|
| 60 |
|
serial = Column(Integer, primary_key=True) |
| 61 |
|
id = Column(Integer, index=True) |
| 62 |
|
scenario = Column(String, index=True) |
| 63 |
|
# id = Column(Integer, primary_key=True) |
| 64 |
|
# scenario = Column(String, primary_key=True) |
| 65 |
|
bus_id = Column(Integer, index=True) |
| 66 |
|
profile_share = Column(Float) |
| 67 |
|
|
| 68 |
|
|
| 69 |
|
class CtsBuildings(Base): |
|
@@ 43-53 (lines=11) @@
|
| 40 |
|
saio.register_schema("boundaries", engine=engine) |
| 41 |
|
|
| 42 |
|
|
| 43 |
|
class EgonCtsElectricityDemandBuildingShare(Base): |
| 44 |
|
__tablename__ = "egon_cts_electricity_demand_building_share" |
| 45 |
|
__table_args__ = {"schema": "demand"} |
| 46 |
|
|
| 47 |
|
serial = Column(Integer, primary_key=True) |
| 48 |
|
id = Column(Integer, index=True) |
| 49 |
|
scenario = Column(String, index=True) |
| 50 |
|
# id = Column(Integer, primary_key=True) |
| 51 |
|
# scenario = Column(String, primary_key=True) |
| 52 |
|
bus_id = Column(Integer, index=True) |
| 53 |
|
profile_share = Column(Float) |
| 54 |
|
|
| 55 |
|
|
| 56 |
|
class EgonCtsHeatDemandBuildingShare(Base): |