Home
InBalance
Contents
1. s sample manual xml Desktop S j Mu Documents er v T Mu Computer 9 Mu Network File name sample_histdbase xml lt Places Files of type Designer Files xml 9 Cancel A 2 Click Open The sample_histdbase xml demo model will appear on Model Editor window Y InTouch WindowYiewer C DOCUMENTS AND SETTINGS ALL USERS APPLICATION DATAARCHESTRAMANAGEDAPP File Logic Special InBalance Demo Dae File About 2 28 2010 12 00 00 pM 7 sol a 100 2980010 1 00 00PM A Model C Documents and Settings gr Desktop InBalance sample_histdbase xml Iterations 0 Progress 100 0 C Status Ready Deploy ready Ready Gine w G l 3 Examine the contents of streams S1 NMS S2 and storage node Tank by double clicking on them InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 30 TE e x OK OK Stream Name s1 Stream Name 52 Description Stream 51 Cancel Description Stream 52 Cancel M Type of Measurement M Type of Measurement Fixed Variable Measured Variable C Fixed Variable Measured Variable C Non Measured Variable C Non Measured Variable Value fi 50 Max Error 5 Value 110 Max Error 5 Transformation to mass kg s coefficient Transformation to mass kg s coefficient 0 009259259 1 T alue as Primary data source T Value as Primary data sou
2. IE On Scan faba OL ae ak E G viewEngine_001 15 Return to InTouch The sample_manual xml demo model now is loaded and ready for use The data reconciliation mass balance calculation visualization and reporting of results is done from InTouch InBalance Demo window InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 37 InBalance technical details MBDataRecon object description 1 General attributes Type Calc TimeEnd Calc TimeStart found least squares Calc LeastSquare Double Calculated Contains the minimum least squares value found Calc LsgAlgorithm Integer CFG Least squares method minimum Runtime finding 0 searches minimum for streams separately 1 default searches minimum for all streams Integer Cfg Runtime Method what to minimize by least squares method 0 minimizes absolute difference between measured and reconciled data 1 default minimizes relative difference between measured and reconciled data Double Cfg Runtime Least squares calculation precision default 0 0001 Calc LsqMethod Calc Progress Double Calculated Indicates calculation progress in percents this is not percents of estimated calculation time Calc RowCount Integer Calculated Indicates total number of Historian values within defined time interval Boolean Indicates if model is solvable True yes False no model is not solvabl
3. Mode C Documents and Settings gr Desktop InBalance sample_manual xml 5 Examine the contents of streams S1 NMS S2 and storage node Tank by double clicking on them Smm x OK Stream Name IR Description Stream 1 Cancel Type of Measurement C Fixed Variable Measured Variable C Non Measured Variable Value fi 50 Max Error 5 Transformation to mass kg s coefficient 0 009259259 IV Value as Primary data source Value Source stream gt UK Stream Name NMS Description Non measured stream Cancel Type of Measurement C Fixed Variable Measured Variable Non Measured Variable Value fi 50 Max Error fo Transformation to mass kg s coefficient 0 E auet as Primary data sourde Value Source InBalance ver 0 642 beta release User Manual Rev 1 1 Stream x OK Stream Name 52 Description Stream 52 Cancel Type of Measurement C Fixed Variable Measured Variable C Non Measured Variable Value fi 10 Max Error 5 Transformation to mass kg s coefficient 1 IV Value as Primary data source Value Source Storage Node el Fe Node Name Tank Cancel 5 Description Accumulation tank Value fi ais Type of Measurement Max Error C Fixed Variable Y Measured Variable C Non Measured Variable Transformation to mass kg coefficient 800 IV Value as Primary data source Value S
4. displays the calculation progress in from 0 to 100 Status indicates the state of calculation Ready or Not ready the Ready state indicates next new calculation can be done by pressing Calculate all time period or Calculate last 2 hours buttons Deploy ready indicates the system state of MBDataRecon object deployment Ready or Not ready the Ready state indicates next new calculation can be done by pressing Calculate all time period or Calculate last 2 hours buttons Calculate button is used to perform the calculation for time interval specified in Start time and End time field by pressing this button the Total volume and mass balance window will open where total volumes in m3 and mass balances in kg are displayed S Total volume and mas Total Volume in m3 Measured Reconciled Output Disbalance Accumulated Input Output Accumulated All System s 4 58 0 08 1 75 6 302 4 556 1 746 Pump 6 33 0 08 6 302 6 302 Tank 4 58 0 00 6 302 4 556 51 6 25 6 302 6 33 6 302 52 4 58 4 556 Total Mass in kg Measured Reconciled Input Output Disbalance Accumulated input Output Accumulated All System J667 67 1400 5041 3644 1397 Pump 5067 5041 5041 Tank J667 5041 3644 1397 51 5000 5041 S067 5041 52 JDD 30714 InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 1
5. M HERH BEHE 9 89 0 080 Elements Gross Errors eee HHH H HHH no Fey Texto aT ig Texts dias R ater ee oo Ty Text49 Mt REET ta oo ey Text33 no Hey Text32 H Tarek For Gross Error check logic there is ArchestrA symbol Predefined script used Edit Scripts _ a leit Symbol Scripts Predefined Scripts ed Z 4 ifi gt aA Predefined Scripts A Predefined Scripts Tages type WhileShowng CSssSSSS S Every i000 ne scripts used 1 if Me Calc Progress 100 THEN E dim iTime as integer iTime 3600 if Me S1 Meas TypeOfMeasurement 0 OR Me S1 Meas TypeOfMeasurement 2 THEN ELSE if abs Me S1 ReconFlow iTime Me S1 Meas AverageValue iTime gt abs Me S1 Meas AverageValue iTime Me Si Meas MaxError 0 01 THEN bS1 true ELSE bS1 false ENDIF ENDIF If bS1 value is true then there is Gross Error for this stream InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 56 E Reconciled data and gross errors 7 x Average Flow and Reconciled Data Average Flow Reconciled Value midday k day imsfdeay kgiday 150 00 120000 125 08 100066 0 00 U 125 08 100066 110 00 88000 123 40 98720 Gross Errors HO NU YES 463 Ka h deviation IBEditor contains the Model Editor NET control that is used in InTouch to display the model me IBEditor English United States Graphic Edit View Arrange
6. Format Special Help lad Save and Cose d Awl S A Ga FR h RIA 8 H Hia fo Te aE A 1 R S Sl HR a AE E 6 lS Dp Bes yt 00 Rp OD 90 21 i oN Tools OOl f pie About a TO T io Model A oe InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 57 WONDERWARE FINLAND InBalance Module Revision History Feb 2010 Rev 1 0 First Release Mar 2010 Rev 1 1 Beta release 0 642 Beta release expiration prolonged till 16 of April 2010 The MBDataRecon object editor Node History tab disabled and TotalReclinput TotalRecOutput TotalRecinput and TotalRecOutput attributes for nodes now should be configured in Extensions tab WW_userguide_InBalance_en_1210 Helsinki St Petersburg Moscow tel 358 9 540 4940 tel 7 812 327 3752 tel 7 495 641 1616 automation klinkmann fi info wonderware ru info wonderware ru Finland amp Baltic d fi Yekaterinburg Samara Kiev www wonderware tl tel 7 343 376 5393 tel 7 846 342 6655 tel 38 044 495 33 40 info wonderware ru info wonderware ru info wonderware com ua Riga Vilnius Tallinn Minsk tel 371 6738 1617 tel 370 5 215 1646 tel 372 668 4500 tel 375 17 200 0876 info wonderware lv info wonderware It info wonderware ee info wonderware by
7. IBEditorctel Cp RecDataallTimePeriod E TS TotalMass llTimePeriod1 ma a 221 AlarmcClient Ge TrendClient InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 51 The Symbol Configuration TotalMassAllTimePeriod1 instances IBConfiguration IBTotalMassAllTimePeriod2 are located in MBDataRecon_001 template since they display reconciled data from calculation object attributes archestrA IDE Galaxy Edit View Object Window Help Template Toolbox 4 x MBDataRecon 001 E ZE InBalance fH E Application a Gad Device Integration B ad InBalance po DataGenerator Data Source Model History Mode History Object Information Scripts UDs Extensions Graphics Hnbalance o Local Graphics pee Graphic name I6Configuration pam IBConfiguration TA BTotalMassallTimePeriod Description Inherited Graphics Mame E 51 Template Toolbox Open Sy Deployment InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 52 Derived from template SMBDataRecon_001 instance MBDataRecon_001 object contains two Inherited Graphics IBConfiguration and IBTotalMassAllTimePeriod2 Archestr IDE Galaxy Edit View Object Window Help WEIGH FC g puga X MIR yt eA AM Qw Graphic Toolbox 4 MBDataRecon_o01 E ggf InBalance Data Source Model History Nod
8. Indicates impossibility to calculate non measured accumulation True yes impossible False no Calculated nterval Node Meas EndValue Double Calculated Node Meas Failed Boolean Calculated Contains the date time for Node Meas StartValue for manually entered measurement Calc TimeStart Calculated Indicates the number of good measured values stored in Historian within defined time interval Calculated Indicates gross error detected for this storage node True yes Node Meas FirstValueTi Time Calculated me Node Meas GoodValue Integer Count Node Meas GrossError Boolean False no String Cfg Historian tagname used to store gname measured data for this storage node Node Meas LastValueTi Time Calculated Contains the date time for me Node Meas EndValue for manually entered measurement Calc TimeEnd Manually entered value of accumulation constant for defined time interval if not in kg then Node Meas TransfCoef to be used to enable proper transformation to kg Cfg Runtime Defines measurement precision of accumulation in Cfg Runtime Defines highest limit of accumulation valid measurements Calculated Contains highest measured value with good quality for manually entered measurement Node Meas ManualEnte Double Cfg Runtime redValue Node Meas MaxError Double Node Meas MaxLimit Double Node MaxValue Double InBalance ver 0 642 beta release User Manual
9. eae FERES The Calculate button starts the calculation set trigger Me Calc Trigger to True to start the calculation The Reconciled data button shows ArchestrA symbol that shows Reconciled data for this symbol description see section RecDataAllTimePeriod Start time and End time are used to set the calculation interval Iterations shows the count of mathematical iterations Process displays calculation progress in from 0 to 100 Status shows if object is ready for new calculation if Me Calc Trigger true then text Not Ready is displayed means object is still performing the calculation if InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 54 Me Calc Trigger false thentext Ready is displayed and object is ready for new calculation Deploy ready if text is Ready thenobject is deployed and ready for calculation if text Not ready is displayed thenobject is not deployed or is not fully initialized after deploy jet TotalMassAllTimePeriod1 shows measured and reconciled volume in m3 and mass kg for selected calculation period E TotalMassAllTimePeriodi English United States Graphic Edit view Arrange Format Special Help N de a E i mago Dou fob in WE Save and Close sH Arial ca foe Tools Total Volume in m w o lo la Measure
10. iMinusPlus Rnd 100 set simulated value for Me aGzu2zRnd ifn Cm d Dana 1 2 AAANwANASe 2 For S1 and S2 GenData script P Meo SIRNA 9 Me SiRna 2 The simulated initial data is oil volume day e g 150 m3 day 6 m3 day of basic volume generated by NET System Random function New S1 150 m3 day 6 m3 day and S2 110 m3 day 4 4 m3 day values are simulated each 1 minute and are written to Historian database For Tank script GenDataSs script Initial value is 25 and every hour it is raised by 0 073 until after 24 hours is reaches 26 75 and then is reset back to 25 InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 49 Storing data to Historian Data to Historian are stored by standard Wonderware Application Server interface Historian is configured in Galaxy Platform and Engine WinPlatform_oo1 General Engine Alarms Platform History Scheduler History Engine History Object Information Scrip Engine startup type auto a T Restart the engine when it Fails a 14 Scan period i000 ms a History G Ie Enable storage to historian k Ie Enable Tag Hierarch S LU gJ Y Historian 195 2 103 39 S y Store forward deletion threshold 100 ME P Store Forward minimum duration fo 5 P x Forwarding chunk size ozs Bytes Forwarding delay 250 ms A Buffer count 126 d g Using data stored in Historian for calculation in MBDa
11. in IDE Template Tollbox InBalance Toolset and then by selecting New and Instance from drop down menu InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module S ArchestrA IDE gt Galaxy Edit view Object Window Help PEP ae S oem i Template Toolbox El gi inBalanceb Ce Cal 4pplication j Gal Device Integration zg Gal InBalance i DataGenerator PR InBalance ZH eMBDataRecon_O01 J Ga System 0 Template Toolbox wa Graphic Toolbox ca Deployment E gg inBalanceB E iC Unassigned Host S 8 winPlatForm_ 001 B 98 AppEngine_001 B Area O01 i The new MBDataRecon_001_001 instance will be added to Unassigned Host jg Deployment El agf inBalanceB B C Unassigned Host mg MeDataRecon_O01_001 E LSI winPlatform 001 33 AppEngine_001 Fly 5 Area_001 oe dg E A viewEngine_001 Rename it to MBDataRecon 001 L w Template Toolbox K W Graphic Toolbox ca Deployment E S El ggf InBalance C3 Unassigned Host eae BMEDataRecon_001 EE WinPlatForm 001 33 AppEngine_001 le 5 Area_oot 2 iy dg E 2 viewEngine_001 P KR InBalance_O01 InBalance ver 0 642 beta release User Manual Rev 1 1 33 PR00165m11 Wonderware Finland InBalance Module 34 8 Drag drop MBDataRecon_001 instance to Area_001 ca Deployment A E bg Sinise Unassigned Host R ee MeBDataRecon_O0
12. value in kg s for defined time interval for this stream Stream Meas TransfCoef Double Cfg Runtime Transformation to mass kg s coefficient used in case values are not in kg s Stream Meas TypeOfMeasur Integer Cfg Runtime Type of measurement 0 fixed 1 ement measured 2 non measured 3 manual measured measured values within defined time interval for this stream Stream Meas Variation Double Calculated Indicates variation instability from average of measured values in Stream NodeFrom String Calculated Name of source node or empty node Stream NodeTo String Calculated Name of destination node or empty string or empty string if source is environment node Stream ReconMass defined time interval Stream ReconFlowConflint Double Calculated Confidence interval for reconciled Stream Meas ReconError Note The following attributes are generated in case History extension is enabled in Archestra IDE Object Editor see Historization of calculation results section later in this manual Description EnableSwingingDoor ForceStoragePeriod Interpolation Type RateDeadBand RolloverValue SampleCount TrendHi TrendLo ValueDeadBand Transformation to mass kg s or kg coefficient For each stream and for Storage nodes there is a special Transformation to mass kg s or kg coefficient setting used useful in cases the measured data is not in kg s or InBalance ver 0 642 be
13. 1 R WinPlatForm_OO1 SI 7 4 ppEngine_OO1 L Efi ai Area 0010 MEDataRecon 001 Fo Tem d dg g viewEngine _001 GHS TaD lare PPI The MBDataRecon_001 is added to Area 001 4g Deployment x E agf InBalance O Unassigned Host E winPlatform_ 001 El ses AppEngine_O01 T gi Ares 001 i L L MECataRecon 001 gt I ViewEngine _ 001 tig KR Indalance_ O01 9 Open MBDataRecon_001 object configuration editor S MEBDataRecon 001 Oh Cfg Mode localhost Cfg Database ee Cfg Login FO Chg Password PC S Precision ooo g Reconnect Database name nok specified Least Square Calc Method i a Least Square Algorithm i Hist DB nde localhost LP Hist DBLser Po Pp Hist DBPassword S 2 m P li 1 I LL 10 In Cfg Node field enter the computer name where InBalance internal MS SQL database is located in Cfg Database field enter the model database name mbdb in our case in Cfg Login and Cfg Password fields enter the MS SQL Server username and password As in this model the simulated data from Historian InNSQL database is used it is necessary to configure also the following settings InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 35 Hist DBNode Computer node name where Historian InNSQL database with simulated data is located Hist DBUser and Hist DBPassword The user name a
14. 9 Reconciled data button is used to open window with last calculation reconciled data for all streams in m3 day and kg day and gross errors if any displayed Average Flow and Reconciled Data Average Flow Reconciled Value mofday k day miday kg day 150 00 120000 151 24 120993 0 00 U 151 24 120993 110 00 88000 109 33 87466 Gross Errors NO NU NU Report button can be used to invoke the MS Excel with simple mass balance report generated based on last calculation InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 2 Ey Microsoft Excel InBalanceReport xls ea File Edit View Insert Format Tools Data Window ActiveFactory Help OGM BSF GB HH F O BE 2h AL E 10 Bi av 10 B Z U ZZ 99 S 2 et 4 Ff ol eg R10C1 v fe L a 3 3 6 7 a 9 ET m 1 2 3 4 Mass Balance Report Example 5 6 7 Start date time 2 28 2010 12 00 00 PM 8 End date time 2 28 2010 1 00 00 PM g afl sd Total volume m3 Deviation between reconciled and measured data ye eee a Reconcile Reconciled Input 12 Input Output _ Disbalance Accumulated Input Output accumulation m3 mS ee ee fe a O oo o es ee ee d es es es H fibjNodes E T 1 T T E E AzlPum esj STS oo Sos 0 47 18 Tank O esj asf ooo azs ase azs a77 gg 002 044 MgiSteams e e e S e e me o e ew Jooo doo d a a o o e inms esaj Jooo o S a S y S e 2252 o
15. Currently Undeployed Objects Initial Scan State Rp MBDateReron 001 N Deploy Mei objects G On Scan a GFF Scan 11 Return to InTouch The sample_manual xml demo model now is loaded and ready for use The data reconciliation mass balance calculation visualization and reporting of results now can be done from InTouch InBalance Demo window Y InTouch Window iewer C DOCUMENTS AND SETTINGS ALL USERS APPLICATION DATA ARCHESTRA MANAGEDAPP File Logic Special InBalance Demo o Start time File About 2 28 2010 12 00 00 PM End time KIR s 2282010 1 00 00Pm a Model mbdb J Iterations 0 Progress 100 0 Status Ready O Deploy ready Ready K Calculate Reconciled data Report Model Editor About EE L There are following elements on InTouch InBalance Demo window Start time and End time are used to enter the calculation time interval currently here are deafult settings Start time 2 28 2010 12 00 PM and End time 2 28 2010 13 00 PM one hour calculation interval Solvable shows if model is solvable if Me Calc Solvable attribute after calculation is True model is solvable if False model is not solvable InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 18 Iterations shows the count of mathematical iterations used to perform the calculation Process
16. Double Calculated Confidence interval for measured rval total mass passed through stream within defined time interval value in kg s for defined time interval for this stream Stream Meas Failed Boolean Calculated Indicates impossibility to calculate non measured value True yes impossible False no possible Stream Meas StartValue Stream Meas GoodValueCou Integer Calculated Indicates the number of good nt measured values stored in Historian within defined time interval this stream True yes False no Historian tagname used to store me measured data for this stream Stream Meas EndValue S tream Meas ManualEntered Double Cfg Runtime Manually entered value of measured flow constant for defined time interval if not in kg s then Stream Meas TransfCoef to be used to enable proper transformation to kg s Value of stream in valid measurements with good quality Stream Meas MeasuredMass Double Cfg Runtime Measured total mass passed time interval in kg valid measurements with good quality Stream Meas QualityPercent Indicates share in of values S with good quality within defined time interval stream in Stream Meas ReconMass Calculated Reconciled total mass passed InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 42 through stream within defined time interval kg First stored in Historian measured
17. InBalance Data Validation and Mass Balance Module for Wonderware System Platform User Guide Ver 0 642 beta Rev 1 1 PR 00165 WONDERWARE FINLAND P O Box 38 FIN 00371 Helsinki Finland tel int 358 9 5404940 fax int 358 9 5413541 www wonderware fi Wonderware Finland InBalance Module Table Of Contents OVCIWIEW L Main advantages of USING lInbBalanGe e eee eee ee eee InBalance installation and staring uD sese ee ee eee eee Setting up from Objects installation package e ee ee eee SOlWaLe Relie lt s LL T Contents of installation package eee eee SI R lea eee TT Installation of INBalanCe obiIecta cs eee ee FISTONAN SEVEN SetU T Demo report file location ee eee eee eee Getting started by using sample _manual xls model see eee eee Changing the model and parameters sss WORKING WITH IMIOC El Sera size dea eects tareetiasseved wate daestiedoet eave macedonia Adding ENVIFONMENT NOE TT Wele Reen e AICO T Changing the parameters within same model eee eee Chanongo Tie nies T INB alahice TECMAICAl GCTANS ETT MBDataRecon Object GESCIIPTION ccccseecceceeeeceeeeeceeeeeceeaeeesaeueeeseeeesaeeeessaneeesaaes Transformation to mass kg s or kg coefficient see ee eee eee ee Historization of Calculation 1P riire a a IST Te SE CUINY T Demo eee Teatres esserne a yeninnamnniiderat en quanssanedncneamnenneauancs Data SUMMA OM etctss ceca tint ghee Seelam HH SIOMMG Gata tO Te l Usin
18. PSRyab AGZU 4 J PSPasm be G GsasPSPron PSPronUPSV Ys A PSPssmUPSV PSRyabUPSV VinUPSVPokr SIKN245 InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 2 The data validation reconciliation and mass balance calculation is performed by specially developed Wonderware Application Server Object Calculation Object where the following main tasks are performed e pre processing and screening of input data to remove evident errors and mistakes e automatic data classification and determination of solvability e data reconciliation by using least squares method to calculate reconciled values and their confidence intervals and calculate the values that cannot be measured e checking of mass balance in purpose to find leakages measurement errors or storages not defined in the model In this Calculation Object all current nodes and streams are implemented as object virtual primitives one primitive for each node or stream The results of reconciliation configuration data and runtime information can be obtained by accessing the Calculation Object attributes In general the data flow in system is following Historian measurements I model Model configuration configuration XML files nterna l gt Editor gt SQL database gt a calculation results Historian The system model created in Model Editor is saved
19. Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 40 po Node Metas MeasuredMasss Node Meas MeasuredM Double Cfg Runtime Measured total accumulation in kg ass for defined time interval Node Meas EndValue Node Meas StartValue valid measurements Node Meas MinValue Double Calculated Contains lowest measured value with good quality for manually entered measurement Node Meas MeasuredMass Indicates share in of values with ents good quality within defined time interval Reconciliation error for this storage node in Reconciled accumulation for defined time interval kg Node Meas StartValue Double Calculated First stored in Historian measured ee value in kg for defined time interval for manually entered measurement Node Meas MeasuredMass coefficient used in case values are not in kg Node Meas TypeOfMea Integer Cfg Runtime Type of measurement 0 fixed 1 a T manual measured measured values within defined time interval for this storage node Node Meas Variation Calculated Indicates variation instability from average of measured values in 3 Stream attributes Type Stream Meas MeasuredMass defined time interval t bad quality or out of range within defined time interval stream category e g InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 41 po meaasurred callcullated Stream Meas Confidencelnte
20. alRecOutput S1 Meas MeasuredMass S1 Meas ReconMass S1 Meas TransfCoef S2 Meas MeasuredMass S2 Meas ReconMass S2 Meas TransfCoef sEndTime sStartTime Tank TotalRecInput Tank TotalRecOutput Tank TotalRecInput Tank TotalRecOutput Tank Meas MeasuredMass Tank Meas ReconMass Tank Meas TransfCoef 9 Save and close the current MBDataRecon_001 object configuration by clicking on Close Save icon located at right upper corner of Object Editor Xa da Ol MBDataRecon_001 Ce Ex sosenepeepesunnesvonens CT Node flocalhost cf Cfg Database mbdb Y 5 Cfg Login fsa P G Cfg Password Precision fo 000 re Reconnect Read completed Least Square Calc Method 11 j O 1 alul 1 Least Square Algorithm V Hist DBNode flocalhost cy Hist DBUser fsa C Hist DBPassword fea C 10 Deploy MBDataRecon_001 object InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 17 LORCA Andi EB Regindant Rattner eploy Object Count 11 4 F Cascade Dep F indude Redundant Fari Deploy Object Count i A Template Toolbox E Graphic Toolbox currently Deployed Objects jg Deployment G Slip L Beoloy Changes L Bedenloy Original El ZE InBalance IZ force Off Scan H C Unassigned Host E S wWinPlatForm_ 001 Note Decioying 6 host abject will forces pedeploy oi al hosted objects Fi 88 AppEngine_001 E LB Area 001 i gi e
21. as XML file and also written to internal MS SQL database used as internal interface between Model Editor and Calculation Object The Wonderware Historian is used as a source of measured data for each stream and storage accumulation node there is a Historian tagname used to store measured data for this stream attribute available The Wonderware Historian is used as a target place for reconciled validated and balanced results for further reporting and data export InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 3 Main advantages of using InBalance InBalance offers several advantages if compared with traditional dedicated systems e Reliable and well proven solution the concept is based on the world leading automation software Wonderware e Easy to implement you can use your Wonderware skills and application libraries to develop the main application e Wide application scope easy integration you can integrate pipeline flow management and leakage detection to Wonderware visualization reporting and MES concepts The system is scalable from single workstation applications to wide distributed systems and it interfaces with all major automation field buses and controllers e Low investment cost you need just one add on module to the standard Wonderware platform e Easy maintenance and upgrades you can keep the main part of the system under Wonderware standa
22. ation check Measured variable and Value as Primary data source enter Value 140 in m3 day leave Transformation to mass kg coefficient equal to 1 and Max Error 5 and click ORK Stream Hame NMS Description Non measured stream changed to measured Cancel Type of Measurement Fixed Variable Measured Variable C Non Measured Variable Value 140 Max Error 2 E Transformation to mass kgs coefficient M Yale as Primary data source Value Source InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module er 2 Save model configuration to internal MS SQL database from Model Editor main menu gt File gt Save Save InBalance database E x Server localhost Database mbdb l Use Windows Authentication SQL Serer Suthenticatian Login sa Password Remember password 3 Open ArchestrA IDE if not yet opened browse to MBDataRecon_001 object and open its editor MBDataRecon_001 ns Cg Node localhost Cfg Database nbd Cfg Login ka Cfg Password PRE F Precision ooo D T Reconnect Read completed Least Square Calc Method ye j l s Least Square Algorithm i qo Hist OBNode localhost oH Hist DBUser P E Hist DBPasswoard PO 2 1 S ri P il 4 Save and close the current MBDataRecon object configuration b
23. beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 8 2 Delete the current contents of C InSQL Data Circular folder 3 Extract InBalance simulated InSQL data from InSQL zip archive included in InBalance installation package to your INSQL data folder default location C INSQL Data Circular 4 Start INSQL server in case not yet started Demo report file location In purpose to work with InBalanceReport xls simple mass balance demo report to enable the automatic opening of demo report by pressing Report in InTouch application the InBalanceReport xls file should be copied to following location C Documents and Settings logged user name Application Data Microsoft Excel XLSTART For example to C Documents and Settings gr Application Data Microsoft Excel XLSTART Getting started by using sample_manual xls model After InBalance objects are installed and deployed the InTouch Managed application Instance InBalance_001 and demo model using manually entered data sample_manual xml can be used to become familiar with basics how to use InBalance solution The following steps are required 1 Run InTouch Managed application instance InBalance_001 in case cannot be started directly by running WindowViewer then start it from InTouch Application Manager where it s name is InBalance InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland I
24. consisting of nodes and streams and configure their parameters There are three Model Editor node elements available located on toolset at upper left corner of Model Editor window normal node _ storage node L environment node external source or destination from to material is coming to or moving out from system e g oil well or consumer facility The following basic actions can be done Adding environment node Select the environment node from toolset and drag drop it to necessary location on the model File About amp W Adding and configuring normal node Select the normal node from toolset and drag drop it to necessary location on the model the Add New Node configuration dialog will open x Node N ame INT OK Description Nadet Cancel InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 22 Enter the Node Name and Description optional and click OK new node is added to the model Fle About S L 9 N1 If you like you can move the node to other location by using mouse or keyboard direction keys it is also possible to resize the node object by using mouse Already created node can be edited bu double clicking on it and entering new parameters in Node configuration dialog Node x Node Mame IV OK Description First unit Cancel Adding and configuring
25. d Reconciled e z 7 a EZ S piia Output Disbalance Accumulated Input Output Accumulated Aa CY Pa E la a al F ra Sa E 7 All System BAH HARR FABER HHRH RABE BAH S A Pump HAHH AHH SAHE BLAH S Elements 1 Tank 9 889 BHRR 9 889 BHRR a NIE H sa 9 990 HHH Z fe Texte a faq Text 0 HAHAH AHHH E eta qg Text 9 52 HHRH HHRH oo qg Text78 a Teme Total Mass in kg jim T Text76 oT TRT Measured Reconciled Ho Te Text74 a a Text73 Output Disbalance Accumulated Input Output Accumulated T Text72 oo Tey Text l All System HHBH H H H H H H HAE BAB Ta Texta 2a r Text6e Pump HERH HHH Hane HY L 45 Text6 oo Tey Text66 Tank HERH 8 809 HHH BARN L T Text 5 L Fey Text 51 a HHH BAHH oo Tey Tete HREH 9 989 ow diy Textie 52 RAE RBH H ey Text6l InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 55 RecDataAllTimePeriod shows measured and reconciled volume m3 day and mass kg day and displays Gross errors if there is any detected in the model i RecDatadllTimePeriod English United States Graphic Edit Yiew Arrange Format Special Help E Oe DL at ee ne a Eo eee HE FO gee H arial od EES Rr ote We Sa eal era on ap ET ainan Scere fe TIO Peo el L ina a dalal Uang Tools E Average Flow and Reconciled Data Pel LO ole Average Flow Reconciled Value S midday kefday mofday kgday WART tU HARR HHH HHH HHA oll bait Ged et HAHH 9 089 8896 8 8906
26. data is not in kg s allowing to calculate mass from stored in Historian measured data or from manually entered data Default setting is 1 stored in Historian measured data or manually entered value is already in kg s See Transformation to mass kg s or kg coefficient section later in this manual for more information Value as Primary data source If checked then manually entered Value will be used in calculation If not checked then calculation will use stored in Historian measured data Value Source The Historian tagname used to store the measured data for this stream Afer clicking OK button new stream is created and added to the model InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 24 Adjusting connections and location of elements The connection end points of stream can be adjusted changed by clicking on stream name selecting end point and dragging it to new location The stream name location can be changed by clicking on it and dragging to any location The resizing of nodes and stream names can be done by selecting the element and dragging any of element corner Adding and configuring storage node Select the normal node from toolset and drag drop it to necessary location on the model the Add New Storage Node configuration dialog will open iix Node Mame Tank3 OF Description Accumulation tank 3 value fioo Mas E
27. e Calculated Array of total mass in kg for each output stream Node OutputStreams String Calculated Array of names of all output streams FG FG FG FG Node Solvable Boolean Calculated Indicates possibility of finding value for all connected streams True yes False no Node TotalMeasInput Calculated Node total measured input mass in kg Node TotalMeasOutput Calculated Node total measured output mass in kg Node TotalReclInput Calculated Node total reconciled input mass in kg Node TotalRecOutput Calculated Node total reconciled output mass in kg The following additional attributes are created for Storage Nodes only Type Node Meas AverageVal Calculated Average accumulation in kg for InBalance ver 0 642 beta release User Manual Rev 1 1 PR00O165m1 1 Wonderware Finland InBalance Module 39 Node Meas BadValueC Integer ount Node Meas Category String Node Meas Confidencel Double defined time interval for manually entered measurement Node Meas MeasuredMass Calculated Number of Historian values with bad quality or out of range within defined time interval Calculated Indicates text representation of storage node category e g measured Confidence interval for measured accumulation Node Meas ReconMass Node Meas ReconError Last stored in Historian measured value in kg for defined time interval for manually entered measurement Node Meas MeasuredMass
28. e 14 w aArchestr IDE Galaxy Edt wiew Object Window Help PERCH EERTE E EA EERI TAE Template Toolbox 4 x MBDataRecon_001 t ZZ InBalance Data Source model History Mode History Object Information Scripts HUDAS Extension cfg Mode localhost Cfg Database a CFg Login Ca Password as Precision er 7 1 Reconnect Database name not specified Least Square Calc Method iO S T n Least Square Algorithm i u Hist OBMode localhost Hist DBUsers Hist DBPassword r a d L Template Toolbox Co Deployment adhe a El agf InBalance E Unassigned Host S 5 WinPlatform_ood 33 AppEngine_001 S LB area_001 E Ta ViewEngine 001 L PS InBalance_001 7 In Cfg Node field enter the computer name where InBalance internal MS SQL database is located in Cfg Database field enter the model database name mbdb in our case in Cfg Login and Cfg Password fields enter the MS SQL Server username and password and press Reconnect button to read the model configuration from internal MS SQL database InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 15 S MBDataRecon_001 1 CFg Node localhost 3 Ca Database bd E Cfg Login fa M Chg Password P T r Precision ooo 4 Reconnect Read completed Least Square Calc Method L e 4 Least Square A
29. e History Object Information Scripts UDAs Extensions Graphics Bi orchestra Symbol Library ata Source Model History Node History Object Information Scripts s Extensions B gt InBalance be Eh Configuration D 54 IBEditor Local Graphics i He IBEditorctrl G RecData llTimePeriod Name Graphic name IBConfiguration T TotalMassAllTimePeriod1 E SQLGrid ie Ge AlarraClient Bese Ge Trendclient Description Inherited Graphics Mame 4 TBConfiguration MBDataRecon 001 al bi CA IBTotalMassallTimePeriod MBDat 4 E Template Toolbox Qy Graphic Toolbox per cg Deployment EE E ZE InBalanceDemo6 E 2 Unassigned Host E E WinPlatform_oo1 El 3 AppEngine_001 mi feh re mM d InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 53 Description of ArchestrA Symbols Configuration used to set calculation interval run the calculation and display calculation progress and results a Configuration English United States Graphic Edit view Arrange Format Special Help Save and Close 5 EE k ET e H arial fiz ae eee 1 I ee Start time CHIKA E J N R End time T U lterations m Eel E Progress Status H Deploy reath Calculate oe He Texte eo T Text oe i Texte Emi T Tev a Text4 T Text Reconciled data oy Button ao Ce Buttoni Jey EndTimeInput ENI T Texti Ta Start Timelnput
30. e if non measured values cannot be calculated reconciliation implemented in beta release Time Time Calc TotalMeasAccum Double Calculated System total measured accumulated mass in kg sum of measured mass in all Storage Nodes Calc TotalMeasInput Double Calculated System total measured input in kg Calc TotalMeasOutput Double Calculated System total measured output in kg InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 alculated System total reconciled Wonderware Finland InBalance Module 38 accumulated mass in kg Sum of reconciled mass in all Storage Calc TotalRecAccum Nodes C Calc TotalRecInput Calculated System total reconciled input in kg Calc TotalRecOutput Calculated System total reconciled output in kg Calc Trigger Boolean Runtime Setting to True starts the calculation setting to False cancels the calculation change back to False indicates the calculation orocess is complete Internal MS SQL database name containing the configuration made by graphic editor NET Control Computer node name where internal MS SQL database is located C User name for accessing internal Cfg DBPassword MS SQL database Cfg DBUser C Password for accessing internal MS SQL database 2 Node attributes Type Node InputMass Double Calculated Array of total mass in kg for each input stream Node InputStreams Calculated Array of names of all input streams Node OutputMass Doubl
31. edMass Fa Value deadband O ELI ct NMS Meas MeasuredMass In Force storage period ms B 4 Engineering units ii Lr a Trend high 10 0 EU G ig CO MAS Meas MeasuredMass Ra 2 a CE MAS Meas MeasuredMass Ro Trend low o o EU w g NMS Meas MeasuredMass 5a Description Ime ShortDesc ra GAT i C NMS Meas MeasuredMass Tr a a gt l CC NMS Meas MeasuredMass Tr Interpolation Type SystemDefault S a ies N CLEE RAK IRA E P m Sample Count b CBT R Rollover Value o o A LA Enable Swinging Door a Rate DeadBand 0 0 SL LL P Boolean label extension Label For False skate Label For True state The simple mass balance demo report InBalanceReport xls generated in InBalanceDemo application requires the following attributes have History extensions enabled that is important when changing between models sEndTime sStartTime For streams S1 NMS S1 and for node Tank Meas MeasuredMass Meas ReconMass Meas TransfCoef For nodes Pump and Tank TotalMeasInput TotalMeasOutput TotalRecinput TotalRecOutput Note The History extensions enabled in History tab are not seen in Extensions tab InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 47 InBalance security InBalance solution is deeply integrated in Wonderware environment so InBalance securi
32. eegsdia Template Toolbox 4a x 5 WinPlatform_oo1 ag InBalance General Engine Alarms Platform History Scheduler History Engine History Object Informat Network address vmTestad 2 History store Forward directory d Minimum RAM 1024 ME d T InTouch alarm provider Alarm areas blanc For all 9 LZ Statistics average period 10000 ms d y Redundancy ga Redundancy message channel IP address Redundancy message channel port 30001 of Redundancy primary channel port 30000 oft a id Message Exchange T Message timeout z0000 ms fl NM heartbeat period 2000 ms G N E L Unassigned Host Consecutive number of missed MMY 3 ef p heartbeats allowed l Sp WinPlatform_001 Er T AppEngine_00 Message exchange port 5026 Eb OF Area_001 GE Ch dg Lo B o Bt Ta MEDataRecon_001 H CIEL viewEngine 001 InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 6 4 Configure Historian for WinPlatform_001 and Appengine_001 WinPlatform_OO1 General Engine Alarms Platform History Scheduler History Engine History Object Information Scripts UDA Engine startup type auto B wf V Restart the engine when it Fails fi l Scan period fono ms oft l History 71 M Enable storage to historian Ie Enable Tag Hierarchy A LN Historian veiTesten ait d is Store Forward deletion threshold 100 MBE bh Store F
33. g data stored in Historian for calculation in MBDataRecon object InTouchView application data VISUIAIZATION see eee ee e eee BTIRT OT senl Tee ssu tcrscncsttneucioe spaced clad ven eatebecaate dude hand iGaneswalesans InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module Overview InBalance Module The Wonderware Finland InBalance Module provides a modular and integrated in Wonderware System Platform solution for data reconciliation validation and mass balance calculation allowing easy integration into existing and new projects The InBalance Module consists of two main parts e drawing tool Model Editor e calculation part implemented as Wonderware Application Server object The system model consists of units called nodes connected by streams of material Typical nodes are technological facilities tanks apparatuses or their parts connections or disjoins of pipes Streams are process streams of material characterized by flow rate For each project the nodes streams system model is created by using a special Model Editor implemented as Archestra Symbol containing NET Control developed by using C programming language This NET Control can be used in Wonderware InTouch or Application Server and allows to draw and create a model consisting of nodes and streams and configure their parameters File About Model mbdb Gas SPssm GasPSRysb c c
34. g density is 800kg m3 6 Create save model configuration to internal MS SQL database from Model Editor main menu gt File gt Save Save InBalance database E O x Server Jlacalhast Database mbdb l Use Windows Authentication SOL Server Authentication Login E Password L Remember password Here the following information related with internal MS SQL database used by InBalance can be entered Server Computer node name where internal MS SQL database is located Database Internal MS SQL database name used by InBalance InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 13 Login and Password In case SQL Server authentication not Windows authentication is used the here the user name for accessing internal MS SQL database and password for accessing internal MS SQL database can be entered Note To create model database you need to logon to MS SQL with user that have rights to create a database since anew MS SQL database will be created that is used to store the model After clicking Save the current database name entered mbdb in our case will be displayed on Model Editor window File About jan Model mbdb 7 Start Archestra IDE in case not yet started 8 Open MBDataRecon object configuration editor InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Modul
35. is used nothing entered in Model Editor and transformation to mass coefficient is calculated in Archestra IDE Template Toolbox MBDataRecon_001 template script formula is same as above for stream S1 archestrA IDE Galaxy Edit View Object Window Help VECGH Ti L H Ha K Hel xe Sei Svweedgdia Template Toolbox 4 x MBDataRecon_001 2g InBalance a s S a Application Data Source Model History Node History Object Information Scripts UDAs Extensions Graphics Gal Device Integration Script name setTransC GJ InBalance ores mns DataGenerator ait Aliases PL InBalance Name St On Ex Of Sh y l scor i bIni x Declarations MBDataRecon_001 histEndTi GB System SIR me x Scripts histStartTime x C pts setTransC x x x x Logmessage Script OnScan gt Me bNaN false Me bNaH false LogMessage set Trans coeft 3 dim i0ilDens as integer i0i1Dens 800 Me S2 Meas TransfCoef if0ilDens 24 3600 Me HMS Meas TransfCoef i0ilDens 24 3600 for storage node Tank it is entered directly in Model Editor Storage Node configuration dialog an it is equal to 800 assuming density is 800kg m3 InBalance ver 0 642 beta release User Manual Rev 1 1 PR00O165m1 1 Wonderware Finland InBalance Module 44 Historization of calculation results In purpose to enable Wonderware Historian can be used as a target place to store results of calculation for further
36. istorian tagname used to store the measured data for this storage node Afer clicking OK button new storage node is created and added to the model Zooming Model Editor supports zooming from 10 to 1600 you can select the different zooming by entering manually or moving slider on the top right of Model Editor Moving selected area Model Editor supports possibility to select area and all elements inside this area and drag drop it to necessary new location The area can be selected by locating mouse on selected area corner clicking mouse left button moving mouse without releasing left button to area other corner and releasing mouse left button InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 26 All elements inside the selected area now can be moved to new location by using keyboard arrow keys up down left and right Changing the parameters within same model This section explains how to modify the parameters of streams or nodes within existing model and perform the calculation by using changed parameters model remains unchanged number of nodes and streams their names and links between them remain the same For example the following steps are required to change stream NMS from non measured to measured manually entered value 1 Go to Model Editor double click on stream NMS to change its configur
37. lgorithm h 4 Hist DBNode focalhost 0 Hist DBUser f Hist DBPassword A 7 Check if model is loaded correctly select the Object Editor Model tab a MBDataRecon 001 History Mode History Object Information Scripts UDAs Extensions Graphics Modes ManualEnteredt Manual Value Pump S1 NMS D D Error percer Tank NMS gz 5 1 75 0 Tagne MaxError MHMS U 1E 40 1E 40 8 Pump Tank 51 5 1E 40 1E 40 Purp 52 5 1E 40 1E 40 Tank If there are no any nodes and streams loaded then check Data source tab configuration and Wonderware SMC logger for possible reason 8 In purpose to be able to invoke the MS Excel with simple mass balance report it is necessary to enable appropriate History extensions at History and Extensions tabs for more information refer to Historization of calculation results section later in this manual For the following atributes check the Historized checkbox at History tab Calc TotalMeasInput InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 16 Calc TotalMeasOutput Calc TotalMeasAccum Calc TotalReclnput Calc TotalRecOutput Calc TotalRecAccum For the following attributes enable the History extension at Extensions tab NMS Meas MeasuredMass NMS Meas ReconMass NMS Meas TransfCoef Pump TotalMeasInput Pump TotalMeasOutput Pump TotalRecInput Pump Tot
38. lidating connected galaxy Validating SRModelnfo Checking whether objects being deployed require software upgrade Sorting and Validating 1 object s starting From MBDakaRecon hosted by platform wWinPlatFe Deploying 1 Automation Objectis starting with MBDataRecon to the 4ppEngine_001 Placing 1 automation Objects GnScan starting with MBDataRecon hosted by Area 001 4 100 completed S 6 After deploy is finished return to InTouch and wait until Deploy ready indicating the system state of MBDataRecon object deployment changes to Ready 7 Press Calculate button to perform the calculation Now by changing the Start time and End time the calculation can be performed for different time intervals using the same model current configuration InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 29 Changing the model The following steps are required to change the currently used model following explains how to change between two models provided within InBalance package from sample_manual xml demo model using manually entered data to sample_histdbase xml demo model using simulated data from Historian database 1 In InTouch import new model in Model Editor main menu gt File gt Import from XML and select sample_histdbase xml n Look in oS InBalance 9 O R HE em sample histdbase xml Mu Recent Documents
39. nBalance Module 9 Y InTouch WindowYiewer C DOCUMENTS AND SETTINGS ALL USERS APPLICATION DATA ARCHESTRA MANAGEDAPP Note to be able to start InTouch Managed application computer needs to be connected to network 2 Import new model in Model Editor from Model Editor main menu gt File gt Ilmport from XML InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 10 File About Er cirlen l 100 Open ctrl 0 Save ctrl s Import from XML Export to XML 3 Browse for sample_manual xml demo model using manually entered data kir sample histdbase xml Fe My Recent Documents Desktop sample manual xml it Mu Documents i 08 Mu Computer S Mu Network Places File name sample manual wml ka Files oftype Designer Files xml Cancel 4 Click Open The sample_manual xml demo model will appear on Model Editor window InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 11 Wonderware Finland InBalance Module Y InTouch Window iewer C DOCUMENTS AND SETTINGS ALL USERS APPLICATION DATA ARCHESTRA MANAGEDAPP File Logic Special InBalance Demo Start time File About End time A iterations Progress Status Deploy ready k P Calculate Reconciled data Report Model Editor About
40. nd pasword for accessing the Historian InNSQL database with simulated data Press Reconnect button to read the model configuration from internal MS SQL database EST a InBalance P 1 EE Cg Node flocalhost L Cfg Database bd Cfg Lagin fa Cfg Password Pae OOOO if Precision foot ewe OU _ Reconnect Read completed Least Square Calc Method fl d Least Square Algorithm i 1 Hist DBNode localhost ss ssts SsSs Hist OBUser ka a Hist DBPassword SD i 11 Check if model is loaded correctly select the Object Editor Model tab s MBDataRecon 001 Data Source Model History Mode History Object Information Scripts UDAs Extensi Max Error Manual Value Purp 51 NMS D 0 Tank NMS 52 5 dg Tanklevel 1 75 MaxError 32 5 do 52 1E 40 1E 40 Tank 51 5 dg 51 1E 40 1E 40 Purp MHMS U 1E 40 1E 40 8 Pump Tank InBalance ver 0 642 beta release User Manual Rev 1 1 PR00O165m1 1 Wonderware Finland InBalance Module 36 You should see Historian tagnames dg S1 dg S2 and dg TankLevel for streams S1 and S2 and stotage node Tank If there are no any nodes and streams loaded then check Data source tab configuration and Wonderware SMC logger for possible reason 12 In purpose to be able to invoke the MS Excel with simple mass balance report this report supports also the sample_histdbase xml model it is necessary to enable appropriate History extensio
41. ns at History and Extensions tabs completely same way as explained in Getting started by using sample_manual xls model section step 8 upper in this manual 13 Save and close the current MBDataRecon object configuration by clicking on Close Save icon located at right upper corner of Object Editor Gisvvegoie MBDataRecon_001 Ca x a Source b Model History Node History Object Information Scripts UDAs Extensions Graphics Click to save and close the editor CFg Node arabat ss s SSS 0 Cfg Database ldk tt s SSSCiS 0 Cfg Login ka o Pp CFg Password ear OOC C i iCS 0 Precision Wont st t lt ti s S ET Reconnect Read completed Least Square Calc Method K eu U Least Square Algorithm t C A Hist DBNode flocahost gt g Hist DBUser PF Hist DBPassword ear SsSCisSS CNT 14 Deploy MBDataRecon object F Gascade Deploy L tnclude Redundant Partner Deploy Object Count fi Currently Deployed Objects T Skip D r Bedenle res Ie Force Off Scan Note Deploying a host object will force a redeploy of all hosted objects wt Template Toolbox 12 Graphic Toolbox Deployment Gurrenty Undeployed Objects Initial Scan State E gg grTest311 IZ Deploy Hew Objects E 9 Unassigned Host Sl Kal WiinPlathorn O01 Deploy Status Mismatch r Ean B ses AppEngine_O01 a g z T Mark as Deployed El i Area 001 I cei
42. oo o a o d A d d e a O 23 24 25 iis Total mass kg Reconciled Reconciled ____imput__ _Output___ 2 Input Output__ Disbalance Accumulated Input Output accumulation Kg Kg e o NS enn een eS RIE RS eS ee Ge 29 All System es o S S S es HD H H H H H L E rr eee eee eee TT H eee eee E 32 Pump soo sosez eez sona na os 3 oso 33 Tank soser a667 oof al aeasaa Ral 12225 o L 0 81 34 Streams TT e e S e e e y 35 s1 o wado d mal aL o S O anms ses Tees o Siez Tee sud zs ol Model Editor button can be used to invoke the separate Model Editor window About button can be used to invoke the InBalance general description window 12 Now by changing the Start time and End time the calculation can be performed for different time intervals using same default manually entered values To peform the calculation for same model with modified parameters see Changing the parameters within same model section later in this manual To peform the calculation for different model see Changing the model section later in this manual InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 21 Changing the model and parameters Working with Model Editor The Model Editor is a NET Control which can be used in Wonderware InTouch or other NET Container The Model Editor allows to draw and create a model
43. orward minimum duration fo 5 Forwarding chunk size 11024 Bytes 4 Forwarding delay 250 ms k Buffer count 126 ff ls InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 7 AppEngine_O01 General Redundancy RAM Interrupts Alarms Scheduler History Engine History Object Information Engine startup type auto 5 Restart the engine when it Fails ot le Scan period ooo ms AT E History G I Enable storage to historian A nable Tag Hierarchy IZ Enable Tag Hierarch a V Historian emteste0 P SU Store Forward deletion threshold 100 ME rh Store Forward minimum duration fo 5 4 Forwarding chunk size 11024 Bytes 4 Forwarding delay 250 ms AT Buffer count 126 d 9 Enable Late Data fi lg Idle duration feo 5 d 0 Process Interval 120 5 LN 5 Deploy all InBalance objects select WinPlatform_001 and deploy all platform 4g Deployment E ZZ IBalance E C Unassigned Host g winPlatform O01 IS E AppEngine O01 i Area O01 Si MBDataRecon_OO1 in S ued 001 S P InBalance_O01 Historian Server setup In purpose to work with sample_histdbase xml demo model using simulated data from Historian database following steps are required to set up the Historian INSQL Server 1 Backup your current InSQL data the contents of C InNSQL Data Circular folder in case there is any important data stored InBalance ver 0 642
44. ource PR00165m11 Wonderware Finland InBalance Module 12 You can see streams S1 and S2 are measured streams NMS is non measured stream and Tank is a storage node with measured accumulation For S1 S2 and Tank the values are entered manually in Value field what means for streams it is constant flow rate during time interval used in calculation and for storage node it is accumulation difference during the time interval used in calculation e g end volume start volume In this demo model all measured data data in Value field is in m3 day for streams and in m3 for storage node so transformation to kg s for streams and to kg for storage node is required for calculation The transformation to mass coefficient is implemented the following way for stream S1 it is entered directly in Stream configuration dialog equal to 0 009259259 according to following formula density 24 8600 where density is 800kg m3 for stream S2 the default coefficient 1 is used and transformation to mass coefficient is calculated in object script according to same formula as above for stream S1 see Transformation to mass kg s or kg coefficient section later in this manual for non measured stream NMS the transformation to mass coefficient is calculated in object script same way as for stream S2 for storage node Tank it is entered directly in Storage Node configuration dialog an it is equal to 800 assumin
45. oy MBDataRecon_001 object InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 32 Undeploy E L cascade Undeplay Undeploy Object Count f L ngoe Redundant Partner Perret RRR RRR RR RRR RRR RRR RN gi Template Toolbox On Failure Mark as Undeployed S C Deployment Ei f InBalance El O Unassigned Host Undeploy El LS winPlatform_0O01 j fe AppEngine_001 Bb 15 Area _001 C dg men BM iGDataRecon_O01 S L ViewEngine_O01 PS InBalance_001 Undeploy complete Validating connected galaxy Validating GRNodelnfa Sorting and Validating 1 objects starting From MBDataRecon 001 hosted by platform Wir Placing 1 automation objects offscan starting with MBDataRecon O01 hosted by Area 001 Undeploving 1 Automation Objectis starting with MBDataRecon O01 From the 4ooEngine Operation has been completed For 1 object s starting with MBDataRecon 001 hosted by 4 100 completed TTT TTT TTT TTT iii iti iii iii TTT TTT TT ih 6 Delete the MBDataRecon instance from Deployment a k Template Toolbox G Deployment Ei g InBalance H C Unassigned Host E F winPlatform_ 001 i fe AppEngine_001 EP 15 Area _001 Note a dg Do you want Lo delete these objects fe eiBDataRecon_O01 S S L ViewEngine_O01 PSL InBalance_001 7 Create new instance by selecting MBDataRecon_001
46. rce Value Source dg 51 Value Source dg 52 Stream TEx OK Node Name Tank Stream Name NMS oo OK Description Accumulation tank Description Non measured stream Cancel Cancel 5 Value fi 5 Max Error M Type of Measurement M Type of Measurement C Fired Variable Measured Variable C Fixed Variable Measured Variable Non Measured Variable C Non Measured Variable Transformation to mass kg coefficient 800 Value f 30 Max Error o Transformation to mass kg s coefficient R E Value as Primary data source Value Source T Value as Primary data source Value Source 99 TankLevel You can see streams S1 and S2 are measured streams NMS is non measured stream and Tank is a storage node with measured accumulation For S1 S2 and Tank the values are taken from Historian database correspondingly Historian tagnames dg S1 dg S2 and dg TankLevel are used For streams the measurements are flow rates and for storage node the measurements are storage amounts total volume at measurement time In this demo model all stored in Historian database measured data is in m3 day for streams and in m3 for storage node so transformation to kg s for streams and to kg for storage node is required for calculation The transformation to mass coefficient is implemented the following way for stream 1 it is entered directly in Stream configuration dialog equal
47. rd customer care contracts InBalance installation and starting up Setting up from Objects installation package The InBalance installation is available as Objects installation package packed archive containing Wonderware Application Server objects two simple example models and some simulated Historian data The appropriate exact Wonderware software is needed to be installed before the InBalance installation Software requirements The following software is needed to be installed before the InBalance installation Wonderware Application Server 3 1 SP1 or newer Wonderware InTouch 10 1 or newer Wonderware Historian InSQL 9 0 or newer Wonderware ActiveFactory 9 2 MS Office 2003 or newer Important Note InBalance has same hardware requirements as Wonderware Application Server it is strongly recommended to have Computer with 2 gigahertz GHz or faster processor 32 64 bit A multi core processor is strongly recommended The Intel Itanium 2 processor is not supported InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 4 Contents of installation package The InBalance installation package is delivered as a packed archive e g InBalance_0618beta zip and contains the following files INBalanceObjects aaPKG contains InBalance objects sample_manual xml demo model using manually entered data sample_histdbase xml demo model using
48. reporting and data export the appropriate History extensions should be enabled when configuring the MBDataRecon object in Archestra IDE Object Editor The following can be done to enable disable the historization of calculation results 1 In MBDataRecon object editor History tab see below the historization can be enabled disabled for following attributes Calc TotalMeasInput Calc TotalMeasOutput Calc TotalMeasAccum Calc TotalReclnput Calc TotalRecOutput Calc TotalRecAccum d MBDataRecon_O01 Calc TotalMeasInput p History Extension gt Ie Historized TE l E _l Engineering Units 5 Sle beadbanc o o a F Trend High 10 0 NT Al Force Storage Period fy Trend Low 0 0 7 gl Rollover value p o P g Interpolation Type SystemDef aut Eb ae Sample Count jo fo Description GT c T Enable Swinging Door G Rate Deadband b ee Calc TotalMeasOutput p History Extension gt I Historized er T 1 Engineering Units Lal Walue Deadband 0 0 m ka Trend High 10 0 oy Forte Storage Period ff Trend Low o o AE Rollover Value o o A F Interpolation Type SystemDeFaut cf Z Sample Count fo j G Description e e T Enable Swinging Door ep 10 Rate Deadband o o Calc TotalMeasaccum History Extension rh Ie Historized oe l l I Engineering Units 4 Gale Geadbanct o o F InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Mod
49. rror Z fo M Type of Measurement Fixed Variable Y Measured Variable C Norn Measured Variable Transtormation ta mass kg coefficient P alue as Primary data source Value Source dg TankLevel Enter the Node Name Description optional and other parameters Type of Measurement The available selections are Fixed errorless Non Measured and Measured Value InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 25 For Fixed and Measured types the accumulation value storage difference for defined time period can be entered manually for Measured type the Value will be used in calculation only in case the Value as Primary data source is checked Max Error The accumulation measurement precision in Transformation to mass kg coefficient This setting can be used in case the measured data is not in kg allowing to calculate the accumulation from stored in Historian measured data or from manually entered value Default setting is 1 stored in Historian measured data or manually entered value is already in kg See Transformation to mass kg s or kg coefficient section later in this manual for more information Value as Primary data source If checked then manually entered Value will be used in calculation If not checked then calculation will use stored in Historian measured data Value Source The H
50. simulated data from Historian database InBalanceReport xls simple mass balance demo report INSQL zip contains simulated Historian data for sample_histdbase xml model Note In case demo models and demo reports are not planned to be used only the installation of InBalanceObjects aaPKG is required Beta version expiration This InBalance beta version expires on 16 of April 2010 starting from this date after Calculation Object deployment no more calculations will be possible switching Calc Trigger attribute from False to True will not work and the following message will be logged to LogViewer InBalance Runtime Beta version has expired Calculation request rejected At same time any size of model can be drawn by Model Editor and deployed in Archestra IDE still after beta version expiration Installation of InBalance objects 1 Create a new galaxy or use existing galaxy in following explanation we will use newly created galaxy with name InBalance Unpack the InBalance installation package to some location on your computer e g to C InBalance 2 Import the InBalance objects file InBalanceObjects aaPKG into the galaxy 3 Configure WinPlatform_001 object set network address to your PC hostname or IP Address InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 5 archestr IDE gt Galaxy Edit View Object Window Help PRIORI SFO BBE xR BiSv
51. stream Stream is connecting two already created nodes To create a new stream Select source node environment node in picture below and connection points connectors will appear environment node has 4 connectors locate mouse over one of connectors and press mouse left button Select one of 12 connectors on destination node normal and storage nodes has 12 connectors and release mouse left button the Add New Stream connection dialog will open InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 23 stream lt OF Stream Mame Ei Oox Description Stream 2 Cancel M Type of Measurement C Fived Variable T Measured Variable C Non Measured Variable Value 150 May Error Z 5 Transformation ta mass kg s coefficient 0 009259259 iv Vale as Primary data source Value Source Enter the Stream Name Description optional and other parameters Type of Measurement The available selections are Fixed errorless Non Measured and Measured Value For Fixed and Measured types the measurement value can be entered manually for Measured type the Value will be used in calculation only in case the Value as Primary data source is checked Max Error The measurement precision in Transformation to mass kg coefficient This setting can be used in case the measured
52. ta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 43 kg gt the idea is to have simple way to calculate the flow rate and mass from measured data stored in Historian or from manually entered data As well by using such transformation coefficient even multi component mixtures can be supported For example for streams this coefficient can be 1 in case measured data is already in kg s 0 000277778 1 3600 in case measured data is in kg h 0 00960648 for mixture measured data is in m3 day from two components where one component has density 1000kg m3 and occupies 15 of total volume and another component has density 800kg m3 and occupies 85 of total volume in this case the transformation coefficient is calculated by following formula 1000 0 15 800 0 85 24 8600 0 00960648 In the demo models Ssample_manual xml and sample_histdbase xml and InBalance objects inclluded in InBalance installation package the measured data is in m3 day for streams and in m3 for storage node so transformation to kg s for streams and to kg for storage node is required for calculation The transformation to mass coefficient is implemented the following way for stream 1 it is entered directly in Model Editor Stream configuration dialog equal to 0 009259259 according to following formula density 24 3600 where density is 800kg m3 for streams S2 and NMS the default coefficient 1
53. taGenerator Field Attributes Object Information Scripts unas Extensions Graphics zS Script name GenData Scripts Aliases a 7 Declarations GenDataS3 x Scripts Basics Configure Execution type Execute v E Trigger period 100 01 00 0000000 8 Deadband l 0 T Historize script state D Expression al 7 Trigger type Periodic I Quality changes T Runs asynchronously Timeout limit fo ms T Report alarm on execution error Priority Yer 4 10 02 2010 if Me bDebugMode true THEN LogMessage Data generation script Ver 5 started ENDIF rnd System Random Rnd percents iStartine LOO tEndInt 100 Me iGZUiRna iBase 150 m3 24h 14 25 iMinusPlus 6 max 2 Generete 15 min 14 25 Max 15 75 fRnd Rnd Next iStartInt iEndInt 3 Calculate Rnd value to add to base e g if fRnd 50 gt 0 375 0 75 50 100 iaddRndPart iMinusPlus Rnd 100 set simulated value for Me AGzUiRnd Me SiRnd iBase idddRndPart Inherited scripts if Me bDebugMode true THEN Name st On Ex OF Sh LogMessage iBase iBase fRnd fRnd ENDIF Me AGZU2ZRnd iBase 110 m3 24h 14 25 iMinusPlus 4 4 max 2 Generete 15 min 14 25 Max 15 75 fRnd Rnd Next iStartInt iEndInt hay Calculate Rnd value to add to base e g if fRnd 50 gt 0 375 0 75 50 100 iAddRndPart
54. taRecon object The MBDataRecon object performs all calculations by using simulated data see Data simulation section above stored in Historian The MBDataRecon object reads data from Historian by using standard SQL queries like the following SELECT TagName Value DateTime QualityDetail FROM History WHERE TagName IN 0 AND wwRetrievalMode ful AND wwVersion Latest AND DateTime gt StartDate AND DateTime lt EndDate ORDER BY DateTime tag_list This object also reads the model internal MS SQL database from specified location InTouchView application data visulaization For InBalance Demo data visualization the InTouch Managed application InBalance_001 is used InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module ca Deployment H E ZE InBalance d Unassigned Host Sl IE WinPlatForm O01 B Z 4opeEngine_ O01 gi Area 001 ini dg g MBDataRecon O01 3 ienenge 001 e rz InBalance_O01 50 For viewing the calculated reconciled data and model there are four ArchestrA Symbols Configuration IBEditor RecDataAllTimePeriod and TotalMassAllTimePeriod1 used that are displayed in InTouch application main window InBalance Demo Parent Symbols are located in Graphic Toolbar under InBalance Graphic Toolset Graphic Toolbox H E ZE InBalance al E O Archestr Symbol Library B La E E Configuration Cg IBEditor EE
55. to 0 009259259 according to following formula density 24 3600 where density is 800kg m3 for stream S2 the default coefficient 1 is used and transformation to mass coefficient is calculated in object script according to same formula as above for stream S1 see Transformation to mass kg s or kg coefficient section later in this manual for non measured stream NMS the transformation to mass coefficient is calculated in object script same way as for stream S2 for storage node Tank it is entered directly in Storage Node configuration dialog an it is equal to 800 assuming density is 800kg m3 InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m1 1 Wonderware Finland InBalance Module 31 4 Save model current configuration to internal MS SQL database from Model Editor main menu gt File gt Save H Save InBalance database E x Server localhost Database mbdb l Use Windows Authentication SQL Serer Suthenticatian Loain sa Password Remember password Note To create model database you need to logon to MS SQL with user that have rights to create a database since a new MS SQL database will be created that is used to store the model After clicking Save the current database name mbdb will be displayed on Model Editor window 100 File About x Model mbdb L w 4 Start Archestra IDE in case not yet started 5 Undepl
56. ty level is same as implemented in Wonderware ArchestrA IDE and Wonderware Historian Additionally InBalance has the following security features audit trail functionality not implemented in beta release reports are created showing who has accessed InBalance system and what operations he she has performed during a given period of time audit trail reports are stored in InBalance internal MS SQL database same data base as used for configuration data interface between InBalance Model Editor and Calculation Object anti counterfeit functionality implemented automatically by Wonderware AOT Application Object Toolkit used to develop InBalance all DLLs Dynamic Link Libraries created by AOT are automatically created as digitally signed Demo specific features This section describes the features specific for InBalanceDemo InTouch application and simulated Historian data provided within InBalance installation package Data simulation Initial simulated data for InBalance calculations is available in two ways 1 there is available already simulated stored old data for time period from 2010 02 27 00 00 00 till 2010 03 01 00 00 00 2 new data simulation starts automatically after Historian is started and InBalance objects deployed new data are simulated by using two object scripts GenData and GenDataS3 InBalance ver 0 642 beta release User Manual Rev 1 1 PR00O165m1 1 Wonderware Finland InBalance Module 48 Da
57. ule 45 2 The MBDataRecon object editor Node History tab see below is no more in use and will be removed in next releases 3 For the rest of attributes the History extensions can be enabled in Extensions tab InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 46 d MBDataRecon_oO01 Data Source Model History Mode History Object Information Scripts Ubas Extensions Graphics Attribute name MMS Meas MeasuredMass Extendable Attributes IW Show extension attributes P Inputoutput extension 2 Mame IO 1 oO D EIS Source ND E Configversion alan C Output destination differs from input source E CEJ NMS Meas AverageYalue Destination E NMS Meas BadvalueCount FL NMS Meas Category IS Input extension CE NMS Meas Confidencelnterval SOUrCE ae 7 E Z NAS Meas End sa E Chs 2 S I T Output extension W 1 WMS Meas Firstvalue Time Beastie E NMS Meas Good alueCount E Output every scan S B aI cle sO ee E alarm extension 01 7 WMS Meas Historian T adarme LD NMS Meas LastvalueTime Category zj 7 12 Priority 3 EA NMS Meas ManualEnteredy alue Alarm message SE A F L NMS Meas MaxError 7 NMS Meas MaxLimit i NMS Meas Max alue M History extension 71 oai Active alarm state N MS Meas MeasuredMass Z NMS Meas MeasuredMass De NMS Meas MeasuredMass En NMS Meas Measur
58. y clicking on Close Save icon located at right upper corner of Object Editor InBalance ver 0 642 beta release User Manual Rev 1 1 PR00165m11 Wonderware Finland InBalance Module 28 MBDataRecon_001 Ca IR x s Source Model History Node History Object Information Scripts UDAs Extensions Graphics Click to save and close the editor Cfg Node focahost ss SS 0 Cfg Database pdk oo ss SSSSSCSCisS 0 Cfa Login Bar Pp Cfg Password ans 0 Precision Ront g i Reconnect Read completed Least Square Calc Method i Least Square Algorithm i Hist DBNode localhost h Hist DBUser sa Hist DBPassword pe E RU h Lk L 5 Deploy MBDataRecon object a wo Template Toolbox E Graphic Toolbox Deploy x Deployment M Cascade Deploy L indide Redundant Partner Deploy Object Count li E ZE InBalance C Unassigned Host Currently Deployed Objects eS i winPlatfForm_ O01 C Skip fe Deploy Changes C Redeploy Original Et TH AppEngine O04 SAT iat hee LR E seek creat 1 E E Ue Area O01 I Force OFF Scan M dg Dy MBDataRecon_001 ss E Note Deploying a host object will Force a redeploy of all hosted objects S eee eee hr aris 5 A ViewEngine 001 ii PS InBalance_O01 ce Undeniayed bjecks Initial Scan State IV Deploy New objects TE On Scan Deploy Status Mismatch C Off Scan Deploy Mark as Deployed Deploy complete eal Va
Download Pdf Manuals
Related Search
InBalance imbalance imbalance icd 10 inbalance chiropractic imbalance synonym inbalance grid imbalance meaning in balance yoga inbalance petfood inbalance wellness imbalance home health inbalance hamm inbalance hondenvoer inbalance home health arizona inbalance fehmarn inbalance physical therapy san tan valley inbalance brno in balance pilates inbalance chiropractic and wellness inbalance physical therapy az inbalance pt san tan valley inbalance san antonio inbalance chiropractic okc
Related Contents
Bedienungsanleitung kit dmsdescargar manual Morel ST-95 Speaker User Manual Fuzzy Logic 310LG RTC Solid fuel boiler controller with - Metal-Fach Corolla 26 EXT Corolla 35 EXT 2015_0227_04_MR-SLEDK_LED Slim Pit Light Stand Black IM_InPro8300 RAMS_52 801 115 Massive Other 85050/08/31 Copyright © All rights reserved.
Failed to retrieve file