0

Simple calculation. Don't understand where the results go

I'm new to Canary and trying to understand how the asset model and calculations work.

I've got Solar PV data coming in for 2 inverters with a number of strings of panels on each inverter.

I have a view called Solar Beacon with asset types of 'Inverter' and 'Solar String'. The Solar Strings each record current (I) and Voltage (V). I have this calculation to work out the power:

It appears to work and I can see the data in the historian dataset but I have no idea how to associate it with the asset or use it in Axiom or further asset-based calculations.

Does anyone have any hints for a complete newbie, or links to the best learning resources?

2 replies

null
    • smason
    • 1 mth ago
    • Reported - view

    Hi ,

    Your calculation looks good. I just think it's a matter of understanding the output destination. The first branch in your output name (in this case, "Solar Beacon") is the name of the DataSet where it will be stored. You should have a DataSet named Solar Beacon now. Maybe you don't want to have the View name and DataSet name be the same??? I'd recommend sending it to something more intuitive like Calcs or Solar Beacon Calcs. You want to keep your calcs separate from the rest of your data, in case you want to blow it all away and start over.

    Once the DataSet is created, you will want to edit your Solar Beacon view and include this new data source. You can do that by clicking the Properties button on the right-hand side when you are in the view edit mode. Add "localhost.DataSetName" to the Source View list then close the fly-in menu. Apply changes.

     

    You may need to add a new rule to your model to accommodate the new data source. If your virtual view only had one DataSet to begin it, it did not include the DataSet name as a part of the tagpath. As soon as a virtual view has 2 or more DataSets, it includes the DataSet name as a part of the entire tagpath. If you don't want this name to appear, your first rule may be to eliminate it. If you look at my screenshot from, that is what my first rule does, essentially strip off the DataSet name.

    Once you complete this, any new calculation that you write to this DataSet will get picked up by Views automatically and be available for viewing. It may take up to 5 minutes for it to appear in Views depending on the last time the view rebuilt. There is a built in 5-minute cool down so that it is not constantly rebuilding.

    Hope this helps. :)

    • alistair_frith
    • 1 mth ago
    • Reported - view

    Perfect, thank you!

Content aside

print this pagePrint this page
  • Status Answered
  • 1 mth agoLast active
  • 2Replies
  • 17Views
  • 2 Following