@@ -341,7 +341,26 @@ class EgoPfHvLine(Base):
341341 geom = Column (Geometry ('MULTILINESTRING' , 4326 ))
342342 topo = Column (Geometry ('LINESTRING' , 4326 ))
343343
344+ class EgoPfHvLink (Base ):
345+ __tablename__ = 'ego_pf_hv_link'
346+ __table_args__ = {'schema' : 'grid' }
344347
348+ version = version = Column (Text , primary_key = True , nullable = False )
349+ scn_name = Column (String , primary_key = True , nullable = False , server_default = text ("'NEP'::character varying" ))
350+ link_id = Column (BigInteger , primary_key = True , nullable = False )
351+ bus0 = Column (BigInteger )
352+ bus1 = Column (BigInteger )
353+ efficiency = Column (Float (53 ))
354+ p_nom = Column (Numeric , server_default = text ("0" ))
355+ p_nom_extendable = Column (Boolean , server_default = text ("false" ))
356+ p_nom_min = Column (Float (53 ), server_default = text ("0" ))
357+ p_nom_max = Column (Float (53 ))
358+ capital_cost = Column (Float (53 ))
359+ length = Column (Float (53 ))
360+ terrain_factor = Column (Float (53 ), server_default = text ("1" ))
361+ geom = Column (Geometry ('MULTILINESTRING' , 4326 ))
362+ topo = Column (Geometry ('LINESTRING' , 4326 ))
363+
345364class EgoPfHvLoad (Base ):
346365 __tablename__ = 'ego_pf_hv_load'
347366 __table_args__ = {'schema' : 'grid' }
0 commit comments