Spark SQL Queryselect c.ConductingEquipment.Equipment.PowerSystemResource.IdentifiedObject.mRID mrid, 'energy' type, concat(c.ConductingEquipment.Equipment.PowerSystemResource.IdentifiedObject.mRID, '_load') name, t.TopologicalNode parent, 'constant_power' property, 'Watt' unit, n.TopologicalIsland island from EnergyConsumer c, Terminal t, TopologicalNode n where c.ConductingEquipment.Equipment.PowerSystemResource.PSRType == 'PSRType_HouseService' and c.ConductingEquipment.Equipment.PowerSystemResource.IdentifiedObject.mRID = t.ConductingEquipment and t.TopologicalNode = n.IdentifiedObject.mRID
Query Result Fragmentmrid type name parent property unit island HAS160 energy HAS160_load HAS160_topo constant_power Watt TRA173_terminal_2_island HAS166 energy HAS166_load HAS166_topo constant_power Watt TRA161_TRA162_terminal_2_island HAS23 energy HAS23_load HAS23_topo constant_power Watt TRA161_TRA162_terminal_2_island HAS49 energy HAS49_load HAS49_fuse_topo constant_power Watt TRA153_terminal_2_island …
GridLAB-D .glm Fragment… object load { name "HAS160_load_object"; parent "HAS160_topo"; phases AN; nominal_voltage 400.0V; }; object player { name "HAS160_load"; parent "HAS160_load_object"; property "constant_power_A"; file "input_data/HAS160_load.csv"; }; …
Spark SQL Queryselect concat (p.ConductingEquipment.Equipment.PowerSystemResource.IdentifiedObject.mRID, '_power_recorder') name, p.ConductingEquipment.Equipment.PowerSystemResource.IdentifiedObject.mRID mrid, p.ConductingEquipment.Equipment.PowerSystemResource.IdentifiedObject.mRID parent, 'power' type, 'power_out' property, 'VA' unit, n.TopologicalIsland island from PowerTransformer p, Terminal t, TopologicalNode n where t.ConductingEquipment = p.ConductingEquipment.Equipment.PowerSystemResource.IdentifiedObject.mRID and t.ACDCTerminal.sequenceNumber > 1 and t.TopologicalNode = n.IdentifiedObject.mRID
Query Result Fragmentname mrid parent type property unit island TRA168_power_recorder TRA168 TRA168_TRA169 power power_out VA TRA168_TRA169_terminal_2_island TRA180_power_recorder TRA180 TRA180 power power_out VA TRA180_terminal_2_island …
GridLAB-D .glm Fragment… object transformer { name "TRA168_TRA169"; phases AN; from "MUI4786_topo"; to "PIN2448_topo"; configuration "_1260kVA16000$400V590e-5+396e-4jΩ"; }; object recorder { name "TRA168_power_recorder"; parent "TRA168_TRA169"; property "power_out_A"; interval "900"; file "output_data/TRA168_power_recorder.csv"; }; …