YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Interface software simulator to OSIsoft Options · View
RMA
#1 Posted : Tuesday, August 31, 2010 7:01:59 PM
Rank: Newbie
Groups: Member

Joined: 8/31/2010
Posts: 3
Hi, I just learned about OSIsoft from a client and now need to learn some more:

We have developed a MS Windows based Simulation system with it's own GUI.

One of our clients is using OSIsoft to display actual plant information. They have asked us if it would be possible to display the simulation data in their OSIsoft system also. I have a feeling it is.

What does it take for a Windows based application to interface with OSIsoft? I realize that's a very general question, but maybe someone could point me to some information that would help determining what the options are and what's involved. I've already spent some time on their website and with Google, but there is just so much info out there that some pointers in the right direction would be appreciated.

Thanks.
Sponsor  
 

OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System.
We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ  or contact OSIsoft vCampus for more details.
RJK Solutions
#2 Posted : Tuesday, August 31, 2010 8:35:30 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 617
Location: Cheshire, United Kingdom.
Hello,

Welcome to the forum.

There are various options that you can take, it can be quite overwhelming to know the best interface to make. There are lots of different interfaces but the PI server is so widely adopted to interfaces with endless other systems.

What I will start with is the legal stuff, to develop an interface with the SDK's etc then you need to make sure you hold the proper development licences. You can get to this bit later but as a start you would need to hold an account on OSIsoft's vCampus programme.

Now let's get down to what you really want to know, the options:

- Interface with the PI server via OPC. If you client has PI-OPC then you can write your simulation values via OPC and you won't need any OSIsoft licences (obviously this would need further clarification).

- Interface via PISDK. Very common approach as you can quickly write some very robust code (well if you know what your doing you can BigGrin ). Without knowing specific details, I would say this is your best route.

- Interface via PI-UFL (Universal File Loader). If you client has the PI-UFL interface, then your simulation software could be as simple as supplying a comma separated file and PI-UFL loads it in. No licence implications here for you, just your client if they don't currently have the interface.

- Interface via SQL Server provider. You could populate a SQL server of your clients and the data could then be displayed via PI-AF (Asset based PI) or via PI-OLEDB. Maybe not the best option.

If you can elaborate on the frequency of data, type of data etc that your simulation software would supply to PI then I can recommend your best path forward.

Cheers.
Principal Consultant
Real-Time Data Management @ Wipro Technologies
RMA
#3 Posted : Tuesday, August 31, 2010 9:57:30 PM
Rank: Newbie
Groups: Member

Joined: 8/31/2010
Posts: 3
Thank you for the quick response! This is exactly the kind of information I'm looking for. Now I'm getting some idea what to focus on and what to ask the client.

As for the data:

The frequency can be controlled in the simulation software. 1 to 10 seconds is typically used.

The type of data is floating point values indicating things like pressures, levels, temperatures, valve positions, pump status, etc. There would probably 200-300 values.

In case it matters for selecting the best path: Our software is written in C++ (MS Visual Studio) and FORTRAN (Intel). Also, we are a small team, so a solution with a small learning curve is preferred.


RJK Solutions
#4 Posted : Tuesday, August 31, 2010 10:11:39 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 617
Location: Cheshire, United Kingdom.
Based on your comments I would say the best approach is to use the PI-UFL interface. You can review some of the details about this interface on OSIsoft's website but in a nutshell the interface is configured to monitor a folder for files, when a file arrives it is parsed and typically expects CSV's as "Tag,Time,Value", which then get loaded in to the PI server.

I assume your simulation data is time series based and you would want to provide the data to PI in batches? e.g. you simulate a particular process condition over a set period of time; this is the data your client wants to see in PI alongside their existing process data?

You client will be able to talk to their OSIsoft account manager about the interface if they don't already have it.

If the PI-UFL option is not viable then you can go down the PISDK development route, which will work fine with C++/C#/VB.Net...of course, plenty of PISDK examples on this forum, on vCampus or in the help files. Feel free to ask questions about PISDK examples etc in the PISDK forum section. Smile
Principal Consultant
Real-Time Data Management @ Wipro Technologies
RMA
#5 Posted : Tuesday, August 31, 2010 10:40:28 PM
Rank: Newbie
Groups: Member

Joined: 8/31/2010
Posts: 3
RJK Solutions wrote:
.....
I assume your simulation data is time series based and you would want to provide the data to PI in batches? e.g. you simulate a particular process condition over a set period of time; this is the data your client wants to see in PI alongside their existing process data?
.....


Yes, it's time series: At every output time step ( the 1-10s frequency mentioned above) the 200-300 parameters are updated and would be send. Same time for all the parameters in the batch.

I'm not sure yet exactly how the client wants to see that data. I believe it's for training, i.e. the students would see data different from the existing process data.

Time to ask them some question, incl. what interfaces they have.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.