Changes in Petro-SIM 4.2 Builds

Petro-SIM Production v4.2 Service Pack 1 - Release Notes

These are the issues addressed by Petro-SIM Production v4.2 Service Pack 1 (build 767).

Main Changes

  • Version of Infochem Multiflash included with Petro-SIM Production has been updated to Multiflash 4.2, which now supports KBC license security in addition to its previous methods.
  • CAPE-OPEN Property Package interface now supports the Edit and Persist methods

Bug Fixes

  • LKP - cross parameters for density calculations were calculated incorrectly.
  • LKP - liquid phase composition omitted during a dew pt or bubble pt calculation resulting in an incorrect converged flash in the critical region.
  • Fixed an issue with the preferences saying it was successfully read if it does not exist.
  • Fixed a number of potential crashes form submitted crash reports.
  • Bugzilla #357 - Pour Pt synthesis from a single data point.
  • Bugzilla #3982 - when components are added to fluid pkg, stream source assays now re-synthesize using auto-generated plant data instead of using assay re-cut.
  • Bugzilla #4168 - Calibration plots do not show up unless reselected.
  • Bugzilla #4305 - added clearer explanation to why Petro-SIM refuses to add a component to the Amsim package.
  • Bugzilla #4308 - case titles on predict results sheets were getting wiped out.
  • Bugzilla #4310 - tray sizing utility bug -> dividing by zero.
  • Bugzilla #4330 - streams with manually specified compositions with non-zero hypo amounts were getting lost when adding components to fluid pkg.
  • Bugzilla #4332 - we now support undo option for Distop Prod Specs.
  • Bugzilla #4335 - Copy with labels in Russian version produces garbage.
  • Bugzilla #4345 - Assay adjuster now handles liq mass density (std cond).
  • Bugzilla #4350 - recycles on pure comp streams were wrongly getting composition trashed when components were added to the fluid pkg.
  • Bugzilla #4351 - Notes are surrounded by font information in the RDF file.
  • Bugzilla #4352 - Click dragging doesn't keep the drag functionality if the click also changes focus.
  • Bugzilla #4353 - Recycle block behavior in FCC calibration appears wrong.
  • Bugzilla #4354 - recycle products were not always getting handled properly in XML recall
  • Bugzilla #4362 - the ksc that gets saved to db during a collaboration publish has a datasetinfo object at store time.
  • Bugzilla #4371 - Pure component db issues with missing values
  • Bugzilla #4375 - move buttons on Trend and Detail charts in meter report to Monitor menu
  • Bugzilla #4376 - Protect KBCLIB TBPWTtoTBPStreamSG method code against failure with empty SG and/or distillation data.
  • Bugzilla #4398 - optimizer was not pushing out moniker change notifications when vars were removed.
  • Bugzilla #4403 - Pure component db issues with missing values.
  • Bugzilla #4407 - optimizer now tries to prevent re-entrancy into the main solve call
  • Bugzilla #4410 - Refinery assays number of components assertion on store.
  • Bugzilla #4417 - installer error "unable to load lsinit32.dll".
  • Bugzilla #4418 - Product build only crash in kbclib where allocated array gets allocated again.
  • Bugzilla #4435 - HX rdf issues.
  • Bugzilla #4443 - Undo Operation not working properly for Heater Unit operation.
  • Bugzilla #4448 - F1 help is not working properly for compressor unit operation view.
  • Bugzilla #4502 - Fix issue where cutters were getting removed on copy/paste
  • Bugzilla #4514 - Changing Fract op to splits from TBP doesn't make it forget.
  • Bugzilla #4579 - Synthesis was returning False instead of True at one point causing lase "property calculation failed" error
  • CAPE-OPEN Thermo enhancements:
    • Petro-SIM now supports CAPE-OPEN Thermo persistence.
    • Also now supports the edit interface.
  • Crash adding new components to flowsheets including Gas Turbines.
  • Fixed a number of cut-off texts in various views.
  • Petro-SIM's web browser will no longer report Javascript errors.
  • Fixed the custom column views top and bottom pressure numerical entries to accept specifications correctly.
  • method_nos_u was not setting some phys prop methods properly.
  • Meter date rec estimation improvements:
    • no longer calculates into its linked meters variables, only calculates if it owns the variables
    • meters with zero flow now estimate properties by screening the flow and auto-adding a 100% yield
  • Changed how historian tags' "Get Current Value"/"Get End Time Value" functions work, process tags now get averaged values instead of raw.
  • Hovering over cells in a KPI Utility was flooding trace window with superfluous warnings.
  • Added some new COM interfaces to the stream & fluid to allow finer, safer, and more efficient control of property vectors.
  • Embed VisualPhd and Ip21 SqlPlus as "built-in custom" connections.
  • Turned off the privacy option in the meter reports.
  • Updates to Ip21 connection.
  • Add rows in KB for adjusted mass imbalance.
  • ScriptEditor now allows caller to pass in an expected vartype, and it supports a new return variable called resulttype that allows you to specify it by code.
  • link up the distop variables to correctly handle spreadsheet exports to them.
  • add MSCFM/MMSCFM to std gas flow unit conv list.
  • when adding a component to existing comp list, FPMgr was sometimes creating a new comp list.
  • Recompiled the movie recorder files with VS2010 as they are still with VS2005 and thus not working on client machines which are lacking the MS VC runtime libraries.
  • Fix sepsize.dll to be a side by side assembly.
  • HYSYS / RefSYS Case reader improvements:
    • fix an issue with reading top down numbering setup for some versions of HYSYS cases.
    • more intelligence in the HYSYS XML reader to avoid unnecessary inconsistencies around dP in condensers
    • do not read in property slates from HYSYS XML, they just slow things down whilst we throw them away
    • add in some translation notes that pop up once an XML file has finished loading where issues have occurred that the user should be aware of
    • if a HYSYS case loads in with no template info connection info we will auto-connect streams inside and outside that have the same names, and give an appropriate warning
    • improve HYSYS XML recall of ambiguous separator dP specs to avoid inconsistencies.
    • improving the HYSYS / RefSYS XML recall to read in some data from HTFS specced heat exchangers and air coolers.
  • Excel app bug-fixing:
    • ensure that all 60 cases are checked when determining which ones need to run
    • ensure that you can right-click and export Synthesis input to existing Excel apps
  • temperature for visc blend index did not have var type
  • viscosity was not always showing whether it got calced from assay or proppkg.
  • fix issue where dry flows were not being calculated if the stream didn't flash.
  • change DRU Show checkbox to a more understandable enum.
  • adding the case name causing licensing errors to the error reporting view.
  • correctly report that kbclicservers.kbclic is empty when there are nothing but comments in it.
  • Gateway updates to LPAssayDataGen applications for correcting handling base cases with multiple LP Utilities.
  • a fix to the GetPetroSIMDBConnectStringFromRegistry method of `Mod_LoadData to correct it for Oracle where the initial catalog is allowed to be empty.
  • fix some logic holes in the adjust which can cause it to take steps over any bounds it has set.
  • Make trace message about embedded pures in hypos report pure component sum within the hypo to improve diagnostics
  • Crash linking the Gas Turbine to a spreadsheet.
  • liq mass dens (std cond) was not getting initialized properly in blender
  • stream now supports tolerance on kbc prop qualifiers and writes more detail into the 1312 moniker (e.g., so that RI @67F will hook up properly to RI with qualifier 19.44444444444C)
  • fix comparison operator in db cache sort key
  • fix optimizer issue where it was unnecessarily causing long pauses when running HXM reconciliations.
  • Add OLE accessors for Units and ConversionType on prop vectors to be used in conjunction with PointProperties which returns raw doubles.
  • Corrections to change control handling on SQL Server databases
    • modify PetroSIM_Collections view definition to make consistent with our rules on collection types, db owner rights and administrator rights
    • fix some issues in the lock stored procedures around coping with collections marked for DELETE and handling administrator unlock requests
    • correct db explorer tree image handling for locked conditions
    • correct handling of `psdbgetLockInfo status code so that db explorer can check in
    • correct typo in query check default writer role in CDatabase
  • make the security heartbeat a little more tolerant of intermittent network outages
  • Correct Plant to Crude status handling so that users can have naphtha component or bulk cuts alongside normal cuts.
  • add an IsConverged OLE method on the case.
  • Updates to RON/MON Clear/Pb for 1-ci3-MCC5(215), 1-tr3-MCC5 (216) - Source API.
  • Gas Turbine
    • Fixing lower temp limit estimation.
    • Re-arranged variable definitions. Used different moniker for worksheet matrix to ensure correct ordering of streams.
    • Making allowance for CO2 presence in feed.
  • optimizer was adding a statusinfo with an empty string, causing random status text to be saved to database.
  • preferences changes made through automation were not sending out notifications.
  • data rec utility fixes and enhancements:
    • now has option to show mass flows for component/element balances
    • changing tolerance or error basis in auto-solve mode now triggers re-solve
    • adjusted imbalance was not updating as often as it should, esp. after an historian read
  • update the iteration limit at which advanced column convergence options start kicking in.
  • when dragging calc/model values from meter to spreadsheet, it will now redirect to the actual metered object
  • add number formatting to KPI/MPI/DQP sheets
  • fix bug when adding hvector of viewables to safearray as dispatch pointers.
  • Fix issue saving existing database cases where permissions checks weren't being performed soon enough
  • Optimizer OLE interface now has SolverType (COBYLA), ObjectiveType, MaxIters, Tolerance, StepSize, AutoScale, UseBestFeasIter, Status, IsRunning, CurrentIter, CurrentObjective, IsConverged
  • Individual historians now have ReadAllTags/WriteAllTags OLE interface methods.
  • base meters were not sending notifications to linked meters when distillation type changed.
  • NLopt solver uses stepsize variable to determine initial moves. Stepsize is calculated based on pert. size, but was not getting updated when user manually changed pert. size.
  • Added a button in the basis environment to clean up unused hypos / user properties / fluid packages.
  • Fix aqueous phase handling in Heat Exchanger steady state rating method
  • Gas Turbine:
    • Ensure the correct exhaust pressure is returned when outlet dploss is not zero.
    • Ensure effect of inlet air composition is effectively modelled
    • Add literature reference to documentation
    • Ensure fluid package reset properly before combustion calculations
    • Separate the contribution of non-combustible components in FuelFraction for LHV calcs
  • Change correlation clean-up to skip costing correlations
  • Add further diagnostics to COBYLA optimizer
  • F0029693: comp mapper with non-mole basis was not calling makeready on target fluid after transferring assay props, causing the map to use the fluid pkg default MW/SG instead of inlet assays. This led to bad mass imbalances across cutters using mass-based basic transitions.

SIM Suite Registration Tool

  • revamp SIM Suite Reg Tool diagnostics to do all the steps that our various diagnostic tools do with one button press
  • fix reg. tool issue where avail versions wasn't getting populated.

License Admin

  • License Tester verifies admin rights before running cleanup tool since lsclean requires them
  • Commuter Manager aborts attempts to commute codegen 11 or higher licenses from license servers running version 8.1.0 or lower. (An 8.1.0 license server will handle these licenses for normal network operations but has bugs preventing commuting).
  • Commuter Manager limits the maximum checkout days to the lesser of 30 and any maximum set on any license selected for commute.
  • License Tester
    • add HasAdmin check around the Initialise Standalone System command
    • add -I command line option to run the initialise command silently
    • update licenses list to include the Infochem and Petro-CAMS items

Installation

  • The SIM Suite installer is now more caring towards any existing settings in kbclicservers.kbclic when installing.