|
@@ 124-141 (lines=18) @@
|
| 121 |
|
e_min_pu = Column(ARRAY(Float)) |
| 122 |
|
|
| 123 |
|
|
| 124 |
|
class EgonDemandregioSitesIndElectricityDsmTimeseries(Base): |
| 125 |
|
target = config.datasets()["DSM_CTS_industry"]["targets"][ |
| 126 |
|
"demandregio_ind_sites_dsm" |
| 127 |
|
] |
| 128 |
|
|
| 129 |
|
__tablename__ = target["table"] |
| 130 |
|
__table_args__ = {"schema": target["schema"]} |
| 131 |
|
|
| 132 |
|
industrial_sites_id = Column(Integer, primary_key=True, index=True) |
| 133 |
|
scn_name = Column(String, primary_key=True, index=True) |
| 134 |
|
bus = Column(Integer) |
| 135 |
|
application = Column(String) |
| 136 |
|
p_nom = Column(Float) |
| 137 |
|
e_nom = Column(Float) |
| 138 |
|
p_max_pu = Column(ARRAY(Float)) |
| 139 |
|
p_min_pu = Column(ARRAY(Float)) |
| 140 |
|
e_max_pu = Column(ARRAY(Float)) |
| 141 |
|
e_min_pu = Column(ARRAY(Float)) |
| 142 |
|
|
| 143 |
|
|
| 144 |
|
class EgonSitesIndLoadCurvesIndividualDsmTimeseries(Base): |
|
@@ 144-160 (lines=17) @@
|
| 141 |
|
e_min_pu = Column(ARRAY(Float)) |
| 142 |
|
|
| 143 |
|
|
| 144 |
|
class EgonSitesIndLoadCurvesIndividualDsmTimeseries(Base): |
| 145 |
|
target = config.datasets()["DSM_CTS_industry"]["targets"][ |
| 146 |
|
"ind_sites_loadcurves_individual" |
| 147 |
|
] |
| 148 |
|
|
| 149 |
|
__tablename__ = target["table"] |
| 150 |
|
__table_args__ = {"schema": target["schema"]} |
| 151 |
|
|
| 152 |
|
site_id = Column(Integer, primary_key=True, index=True) |
| 153 |
|
scn_name = Column(String, primary_key=True, index=True) |
| 154 |
|
bus = Column(Integer) |
| 155 |
|
p_nom = Column(Float) |
| 156 |
|
e_nom = Column(Float) |
| 157 |
|
p_max_pu = Column(ARRAY(Float)) |
| 158 |
|
p_min_pu = Column(ARRAY(Float)) |
| 159 |
|
e_max_pu = Column(ARRAY(Float)) |
| 160 |
|
e_min_pu = Column(ARRAY(Float)) |
| 161 |
|
|
| 162 |
|
|
| 163 |
|
# Code |
|
@@ 105-121 (lines=17) @@
|
| 102 |
|
e_min_pu = Column(ARRAY(Float)) |
| 103 |
|
|
| 104 |
|
|
| 105 |
|
class EgonOsmIndLoadCurvesIndividualDsmTimeseries(Base): |
| 106 |
|
target = config.datasets()["DSM_CTS_industry"]["targets"][ |
| 107 |
|
"ind_osm_loadcurves_individual_dsm" |
| 108 |
|
] |
| 109 |
|
|
| 110 |
|
__tablename__ = target["table"] |
| 111 |
|
__table_args__ = {"schema": target["schema"]} |
| 112 |
|
|
| 113 |
|
osm_id = Column(Integer, primary_key=True, index=True) |
| 114 |
|
scn_name = Column(String, primary_key=True, index=True) |
| 115 |
|
bus = Column(Integer) |
| 116 |
|
p_nom = Column(Float) |
| 117 |
|
e_nom = Column(Float) |
| 118 |
|
p_max_pu = Column(ARRAY(Float)) |
| 119 |
|
p_min_pu = Column(ARRAY(Float)) |
| 120 |
|
e_max_pu = Column(ARRAY(Float)) |
| 121 |
|
e_min_pu = Column(ARRAY(Float)) |
| 122 |
|
|
| 123 |
|
|
| 124 |
|
class EgonDemandregioSitesIndElectricityDsmTimeseries(Base): |
|
@@ 87-102 (lines=16) @@
|
| 84 |
|
|
| 85 |
|
|
| 86 |
|
# Datasets |
| 87 |
|
class EgonEtragoElectricityCtsDsmTimeseries(Base): |
| 88 |
|
target = config.datasets()["DSM_CTS_industry"]["targets"][ |
| 89 |
|
"cts_loadcurves_dsm" |
| 90 |
|
] |
| 91 |
|
|
| 92 |
|
__tablename__ = target["table"] |
| 93 |
|
__table_args__ = {"schema": target["schema"]} |
| 94 |
|
|
| 95 |
|
bus = Column(Integer, primary_key=True, index=True) |
| 96 |
|
scn_name = Column(String, primary_key=True, index=True) |
| 97 |
|
p_nom = Column(Float) |
| 98 |
|
e_nom = Column(Float) |
| 99 |
|
p_max_pu = Column(ARRAY(Float)) |
| 100 |
|
p_min_pu = Column(ARRAY(Float)) |
| 101 |
|
e_max_pu = Column(ARRAY(Float)) |
| 102 |
|
e_min_pu = Column(ARRAY(Float)) |
| 103 |
|
|
| 104 |
|
|
| 105 |
|
class EgonOsmIndLoadCurvesIndividualDsmTimeseries(Base): |