Package gridiq.poweranalysis.psat.parser

GridIQ - A test bed for smart grid agents This package containes classes for parsing and serialising PSAT data files.

See:
          Description

Interface Summary
ResultsParser This interface defines operations required to parse simulation results from an external power simulation tool.
 

Class Summary
BusNameParser Parses the Bus.names array in a PSAT data file and applies the properties to devices in the network.
BusParser Parses the Bus.con array in a PSAT data file and applies the properties to devices in the network.
DemandParser Parses the Demand.con array in a PSAT data file and applies the properties to devices in the network.
LineParser Parses the Line.con array in a PSAT data file and applies the properties to devices in the network.
PQParser Parses the PQ.con array in a PSAT data file and applies the properties to devices in the network.
PSATParser A NetworkParser to handle PSAT data files.
PSATResultsParser A ResultsParser to handle simulation results generated by PSAT.
PVParser Parsers the PV.con array in a PSAT data file and applies the properties to devices in the network.
ShuntParser Parses the Shunt.con array in a PSAT data file and applies the properties to devices in the network.
SlackParser Parses the SW.con array in a PSAT data file and applies the properties to devices in the network.
SupplyParser Parses the Supply.con array in a PSAT data file and applies the properties to devices in the network.
 

Package gridiq.poweranalysis.psat.parser Description

GridIQ - A test bed for smart grid agents This package containes classes for parsing and serialising PSAT data files.

When a network model is loaded, GridIQ parses the network file and assembles a data structure representing the state of all devices on the network. Each of these array structures may contain a different number of attributes of different types, and different logic is required to correctly apply each array to the network model. In order to allow a different algorithm to be used to parse each array structure, the Strategy design pattern was employed by defining an interface DeviceParser. A class implementing this interface was created for each of the array structures, allowing the parser class to switch its algorithm each time it encountered a new array in a network file.

Before a power flow analysis can be performed on the current network state, the network is serialised to a PSAT network file. As well as defining methods to parse network files, the DeviceParser interface also defines functionality for generating the correct text representation of a network object when serialising each device back into a MATLAB array structure.