CIMDataRDFToGLM

public class CIMDataRDFToGLM

Fields

baseURI

static final String baseURI

combinedOwl

static final String combinedOwl

mapNodes

static HashMap<String, GldNode> mapNodes

mapSpacings

static HashMap<String, SpacingCount> mapSpacings

neg120

static final Complex neg120

nsCIM

static final String nsCIM

nsRDF

static final String nsRDF

pos120

static final Complex pos120

Methods

AccumulateLoads

static boolean AccumulateLoads(GldNode nd, String phs, double pL, double qL, double Pv, double Qv, double Pz, double Pi, double Pp, double Qz, double Qi, double Qp)

Bus_ShuntPhases

static String Bus_ShuntPhases(String phs, String conn)

CFormat

static String CFormat(Complex c)

Count_Phases

static int Count_Phases(String phs)

FindBaseVoltage

static double FindBaseVoltage(Resource res, Property ptEquip, Property ptEqBaseV, Property ptLevBaseV, Property ptBaseNomV)

FindConductorAmps

static String FindConductorAmps(Model mdl, Resource res, Property ptDataSheet, Property ptAmps)

FirstPhase

static String FirstPhase(String phs)

GLDCapMode

static String GLDCapMode(String s)

GLD_ID

static String GLD_ID(String arg)

GLD_Name

static String GLD_Name(String arg, boolean bus)

GetACLineParameters

static String GetACLineParameters(Model mdl, String name, Resource r, double len, double freq, String phs, PrintWriter out)

GetBusName

static String GetBusName(Model mdl, String eq_id, int seq)

GetBusPositionString

static String GetBusPositionString(Model mdl, String id)

GetCableData

static String GetCableData(Model mdl, Resource res)

GetCapControlData

static String GetCapControlData(Model mdl, Resource rCap, Resource ctl)

GetEquipmentType

static String GetEquipmentType(Resource r)

GetGldTransformerConnection

static String GetGldTransformerConnection(String[] wye, int nwdg)

GetImpedanceMatrix

static String GetImpedanceMatrix(Model mdl, String name, Property ptCount, Resource r, boolean bWantSec)

GetLineSpacing

static String GetLineSpacing(Model mdl, Resource rLine)

GetMatIdx

static int GetMatIdx(int n, int row, int col)

GetPowerTransformerData

static String GetPowerTransformerData(Model mdl, Resource rXf)

GetPowerTransformerTanks

static String GetPowerTransformerTanks(Model mdl, Resource rXf, ResIterator itTank, boolean bWantSec)

GetPropValue

static String GetPropValue(Model mdl, String uri, String prop)

GetRegulatorData

static String GetRegulatorData(Model mdl, Resource rXf, String name, String xfGroup, String bus1, String bus2, String phs)

GetSequenceLineConfigurations

static String GetSequenceLineConfigurations(String name, double sqR1, double sqX1, double sqC1, double sqR0, double sqX0, double sqC0)

GetWdgConnection

static String GetWdgConnection(Resource r, Property p, String def)

GetWireData

static String GetWireData(Model mdl, Resource res)

GetXfmrCode

static String GetXfmrCode(Model mdl, String id, double smult, double vmult, boolean bWantSec)

GldPrefixedNodeName

static String GldPrefixedNodeName(String arg)

MergePhases

static String MergePhases(String phs1, String phs2)

Phase_Kind_String

static String Phase_Kind_String(String arg)

Phase_String

static String Phase_String(String arg)

SafeBoolean

static boolean SafeBoolean(Resource r, Property p, boolean def)

SafeDouble

static double SafeDouble(Resource r, Property p, double def)

SafeInt

static int SafeInt(Resource r, Property p, int def)

SafePhasesX

static String SafePhasesX(Resource r, Property p)

SafeProperty

static String SafeProperty(Resource r, Property p, String def)

SafeRegulatingMode

static String SafeRegulatingMode(Resource r, Property p, String def)

SafeResName

static String SafeResName(Resource r, Property p)

SafeResourceLookup

static String SafeResourceLookup(Model mdl, Property ptName, Resource r, Property p, String def)

Shunt_Delta

static boolean Shunt_Delta(Resource r, Property p)

WirePhases

static String WirePhases(Model mdl, Resource r, Property p1, Property p2)

main

public static void main(String[] args)

process

public void process(String[] args)