First, download the latest binaries from the Downloads page or from here. Unzip the contents of the download to a place where you can find them again.

Next, open the project of interest or start a new project in Visual Studio.

HowTo-NewProject.png


Select the type of project that you are interested in.


HowTo-NewProject2.png


After the project is loaded, select View - Solution Explorer.


HowTo-AddReferences.png


From the Solution Explorer, right click on References and then click Add Reference.


HowTo-AddReferences2.png


Browse to the director where the binaries were downloaded and select all of the *.dll files in the package. You can also choose to save each of the files locally to your project folder.


HowTo-AddReferences3.png


After the references have been added, you can include the using statements for the particular part of the library that you are interested in.


HowTo-UsingStatements.png
Here are just some general descriptions of the libraries.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

// Contains Action Adapters based on the Phasor Analytics library.
using SynchrophasorAnalytics.Adapters;

// Code for including and executing instrument transformer calibration.
using SynchrophasorAnalytics.Calibration;

// Interfaces for GIC calculations.
using SynchrophasorAnalytics.GIC;

// Data structures for using the network model as graphs and adjacency lists for observability analysis.
using SynchrophasorAnalytics.Graph;

// Code for matrix representation of the network model.
using SynchrophasorAnalytics.Matrices;

// Code for representation and grouping of sets of three phase measurements, breaker statuses, and status words.
using SynchrophasorAnalytics.Measurements;

// Code for building, maintaining, serializing, deserializing, and interfacing with the network model.
using SynchrophasorAnalytics.Modeling;

// The glue for mapping measurements to the model.
using SynchrophasorAnalytics.Networks;

// Code for testing the linear state estimator offline.
using SynchrophasorAnalytics.Testing;

namespace PhasorAnalyticsExample
{
    class Program
    {
        static void Main(string[] args)
        {
        }
    }
}

Last edited Sep 11, 2013 at 7:49 PM by kevinjones, version 7