Skip to content

Commit 33bccb5

Browse files
authored
Merge pull request #55 from openego/fix/add_model_draft.ego_renewable_feedin
Fix/add model draft.ego renewable feedin
2 parents b79ecd6 + 62b33a7 commit 33bccb5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

egoio/db_tables/model_draft.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3900,6 +3900,17 @@ class EgoPoliticalBoundaryHvmvSubstPerGem3Nn(Base):
39003900
schema='model_draft'
39013901
)
39023902

3903+
class EgoRenewableFeedin(Base):
3904+
__tablename__ = 'ego_renewable_feedin_v031'
3905+
__table_args__ = {'schema': 'model_draft'}
3906+
3907+
weather_scenario_id = Column(Integer, primary_key=True, nullable=False)
3908+
w_id = Column(Integer, primary_key=True, nullable=False)
3909+
source = Column(Text, primary_key=True, nullable=False)
3910+
weather_year = Column(Integer, primary_key=True, nullable=False)
3911+
power_class = Column(Integer, primary_key=True, nullable=False)
3912+
feedin = Column(ARRAY(DOUBLE_PRECISION(precision=53)))
3913+
scenario = Column(Text, primary_key=True, nullable=False)
39033914

39043915
class EgoScenario(Base):
39053916
__tablename__ = 'ego_scenario'

0 commit comments

Comments
 (0)